7DaysProfileEditor icon indicating copy to clipboard operation
7DaysProfileEditor copied to clipboard

Level EXP do not work properly

Open Thedave86 opened this issue 6 years ago • 6 comments

When you modified the EXP or the player level, it isn't work in game. The exp do not increment in game when its modified.

Thedave86 avatar Feb 01 '18 01:02 Thedave86

I thought that this breaks gaining XP, but it doesn't.

Actually, it's converting XP with wrong math. I do not know exact math, but If you for example set level to 13, editor sets XP to 124 085. You would need to gain around 124 000 XP to get to lvl 14. So in reality, levet 14 is around 248 000 (i do not know exact number), but this program thinks that lvl 14 is 133630.

FIX pls...

Forien avatar Jul 04 '18 22:07 Forien

@Forien I have already addressed and fixed this in my fork of the program found here: https://github.com/theHoncho/7DaysProfileEditor

Unfortunately as the creator is currently taking a break he hasn't merged it with the master yet. Hope my build works for you.

-Honcho.

matthewloverton avatar Jul 04 '18 22:07 matthewloverton

@theHoncho any chance that you could build this to an exe file, as I'm not experienced with that kind of software?

Forien avatar Jul 05 '18 09:07 Forien

I've pulled your code, but you haven't finished what you started. You never set SkillData.experienceMultiplier so it's set to 0 by default. This sets player experience to 0 on any update. Could you please see what value it has to be? You can do another pull request, or I'll just enter the number myself.

Karlovsky120 avatar Jul 06 '18 19:07 Karlovsky120

@Karlovsky120 On the side note. Would it be possible for some checkbox that would allow me to edit XP independently from Lvl? So it would be possible for example to get level 19 and let's say 20% XP towards next level?

All I ask for is for a way to opt out of auto recalculation.

Forien avatar Jul 06 '18 19:07 Forien

You can already do that. You put in the level, and then afterwards, xp to next level. It might reset if you mess with level again afterwards, but once I get that constant, I can just cap it so you can't set it to more than it can get in game. I probably won't do any serious updates until Alpha 17 is out. Even after that, I'll just try to keep it updated and fix potential bugs.

Karlovsky120 avatar Jul 06 '18 21:07 Karlovsky120