Jump to content

HypnoToadTrance

Member
  • Posts

    4
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

HypnoToadTrance's Achievements

  1. I am the mod creator of More Traits, and after making the change in code from player:getXp():AddXP(perk, amount, false, false); to player:getXp():AddXP(perk, amount, false, false, false); The error no longer occurs. I could still just be dumb and it might've been something else, but this resolved it for me. Still, it would be good practice to leave some sort of method that accepts the previously working functions to prevent this incompatibility. I wish I knew exactly what the new boolean parameter was doing, but at least the game is happy to accept the code now.
  2. After some investigating, it looks like the AddXP function in IsoGameCharacter.XP was changed between 41.65 and 41.66 41.65 has these functions defined: public void AddXP(Perk var1, float var2) Public void AddXP(Perk var1, float var2, boolean var3) public void AddXP(Perk var1, float var2, boolean var3, boolean var4) public void AddXP(Perk var1, float var2, boolean var3, boolean var4, boolean var5, boolean var6) 41.66 has some functions curiously removed, as now only these are defined: public void AddXP(Perk var1, float var2) public void AddXP(Perk var1, float var2, boolean var3, boolean var4, boolean var5) So if I'm understanding this correctly, it looks like any mod which uses the previous two > Public void AddXP(Perk var1, float var2, boolean var3) > public void AddXP(Perk var1, float var2, boolean var3, boolean var4) Functions will result in an undefined error. In my case, I've been using "public void AddXP(Perk var1, float var2, boolean var3, boolean var4)" , so it looks like the solution is to migrate those calls to "public void AddXP(Perk var1, float var2, boolean var3, boolean var4, boolean var5, boolean var6)" instead? I could be wrong, so let me know if this is something else?
  3. Can you just imagine how horrible it would be having to sift through that many crates?
×
×
  • Create New...