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

XP offset for 1.12 d2s #6

Open
sdwvit opened this issue Apr 4, 2019 · 0 comments
Open

XP offset for 1.12 d2s #6

sdwvit opened this issue Apr 4, 2019 · 0 comments

Comments

@sdwvit
Copy link

sdwvit commented Apr 4, 2019

Xp is stored at offset 802 as 4 byte little endian unsigned int multiplied by 2.

Eg, if your in-game xp is 79 689 129, then at offset 802 you'll see:
79 689 129 * 2 = 159 378 258 => hex => 52 EB 7F 09

So if you set xp bytes to zeros 00 00 00 00, you have to update char level (offset:43, 1 byte) with 01 and so on.

Can show nodejs code how to reset char level to 1.

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

1 participant