Jump to content

Search the Community

Showing results for tags 'fixed bug'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News & Announcements
    • News
  • Project Zomboid
    • PZ Updates
    • General Discussions
    • Bug Reports
    • PZ Support
    • PZ Multiplayer
    • PZ Community & Creativity
    • PZ Suggestions
  • PZ Modding
    • Tutorials & Resources
    • Mods
    • Items
    • Mapping
    • Mod Ideas and Requests
  • General Games Development
    • Indie Scene
  • Other Discussions
    • General Discussion
    • Forum Games & Activities

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Twitter


Interests

Found 2 results

  1. Hi all, I was surprised when after read skillbook Carpentry - basic, i didn't give multiplier exp for Carpentry. So, i checked where is problem And... found! Normal code without my corrects. So, i corrected it. Now it looks like: Now we can learn skills from SkillBooks! Screenshot: Mnoznik (polish) = Multiplier (english) because i lead project polish translation PZ, so i have polish words in-game. Besides my corrects i added: Skillbooks: - Carpentry - basic - Carpentry - intermediate - Carpentry - advanced - Carpentry - master - Carpentry - grand master - Cooking - basic - Cooking - intermediate - Cooking - advanced - Cooking - master - Cooking - grand master - Farming - basic - Farming - intermediate - Farming - advanced - Farming - master - Farming - grand master Now we can learn Cooking and Farming from SkillBooks! In addition: - Table loot for SkillBooks - TSSkillBooks_dist.lua - Edited main table loot [removed just SkillBooks cause are already in TSSKillBooks_dist]. - Edited file items.txt [removed just SkillBooks cause are already in skillbooks.txt(bigger tidiness)]. - skillbooks.txt - Here are now added all SkillBooks. - In - XPSystem_Skillbook.lua Added: In addition added loot for zombies: - Hammer - 6% chances for loot - Nails - 12% chances for loot Important note! I set for security, boundaries exp multipliers to earning levels didn't happen worthless additive. As we earn 1 lvl skill, that max multiplier is 6. As we earn 2 lvl skill, that max multiplier is 8. As we earn 3 lvl skill, that max multiplier is 10. As we earn 4 lvl skill, that max multiplier is 30. As we earn 5 lvl skill, that max multiplier is 30. Exp to earn to level up: 1 lvl - 100 points. 2 lvl - 300 points. 3 lvl - 1500 points. 4 lvl - 7300 points. 5 lvl - 10900 points. Where add files with archive? Folder media add to main folder with Project Zomboid. Works with Project Zomboid 2.9.9.10 version. TSSKillBooksEN.zip (14 KB) https://mega.co.nz/#!9RlghJhC!b4Cs1C70kk6XCdE884CErTGmJm4VqE6Xz7vYJtxxOoo Time to skill exp!
  2. Hi all, I noticed that moodle HeavyLoad has a small bug. Always read 3rd lvl moodle named "Very Heavy Load" When i tested to receive 4th lvl moodle named "Extremely Heavy Load", it was impossible. So, i checked code in Moodle.java: if (this.Type == MoodleType.HeavyLoad) { int LevelToSet = 0; float weight = this.Parent.getInventory().getRealWeight(); float maxWeight = this.Parent.getMaxWeight().intValue(); float Ratio = weight / maxWeight; if (this.Parent.getBodyDamage().getHealth() != 0.0F) { if (Ratio > 1.0F) { LevelToSet = 3; } } if (LevelToSet != getLevel()) { SetLevel(LevelToSet); MoodleStatusChanged = true; } }And already i'd know why i couldn't receive 4th lvl moodle HeavyLoad or 1st lvl moodle HeavyLoad. So, i corrected this part for: if (this.Type == MoodleType.HeavyLoad) { int LevelToSet = 0; float weight = this.Parent.getInventory().getRealWeight(); float maxWeight = this.Parent.getMaxWeight().intValue(); float Ratio = weight / maxWeight; if (this.Parent.getBodyDamage().getHealth() != 0.0F) { if ((Ratio > 1.0F) && (Ratio < 1.5F)) { LevelToSet = 1; } if ((Ratio >= 1.5F) && (Ratio < 2.5F)) { LevelToSet = 2; } if ((Ratio >= 2.5F) && (Ratio < 5.0F)) { LevelToSet = 3; } if (Ratio >= 5.0F) { LevelToSet = 4; } } if (LevelToSet != getLevel()) { SetLevel(LevelToSet); MoodleStatusChanged = true; } }Compiled back to Moodle.class and turned on game. Without problems. Screenshots: 1st lvl: http://scr.hu/194k/o2l8a 2nd lvl: http://scr.hu/194k/x1dle 3rd lvl: http://scr.hu/194k/ymu1j 4th lvl: http://http://scr.hu/194k/eq00a Download link: Fixed Moodle.class (6 KB) https://mega.co.nz/#!0U8GyCKA!RiRHrHB9n ... NqYnLAJoQQ
×
×
  • Create New...