Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Level EXP do not work properly #36

Open
Thedave86 opened this issue Feb 1, 2018 · 6 comments
Open

Level EXP do not work properly #36

Thedave86 opened this issue Feb 1, 2018 · 6 comments

Comments

@Thedave86
Copy link

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.

@Forien
Copy link

Forien commented Jul 4, 2018

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...

@matthewloverton
Copy link
Contributor

@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.

Karlovsky120 added a commit that referenced this issue Jul 4, 2018
@Forien
Copy link

Forien commented Jul 5, 2018

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

@Karlovsky120
Copy link
Owner

Karlovsky120 commented Jul 6, 2018

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.

@Forien
Copy link

Forien commented Jul 6, 2018

@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.

@Karlovsky120
Copy link
Owner

Karlovsky120 commented Jul 6, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants