Posted: Tue Jul 21, 2009 1:31 pm Post subject: 2 Byte Value More than 65535?
I am hacking an emulated game using Cheatengine. The value for experiance is stored in a 2 byte address. However, the maximum value i can set for 2 bytes is 65535. I tried changing the value type to 4 bytes but this is what happens:
Address Type Value
06196976 4 Bytes 99999
Address Type Value
06196976 2 Bytes 34463
In game the xp shows as 34463
I can set the xp to 65535 but that only gets me like 60 levels. Can anyone help me? _________________
Joined: 09 May 2003 Posts: 26006 Location: The netherlands
Posted: Tue Jul 21, 2009 2:03 pm Post subject:
Looks like the game just isn't programmed to handle experience values larger than 2 bytes (and it's not because it's an emulated game, because if it was byteswapped then 99999 would turn to 40838) _________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping
Joined: 09 May 2003 Posts: 26006 Location: The netherlands
Posted: Tue Jul 21, 2009 5:36 pm Post subject:
Experience just can't go higher than 65535
But perhaps try editing the experience needed to level up
e.g 1 exp gains a level
Still limits to 65535 levels though (or 255 if the level value is a 1 byte) _________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum