Soul Sojourner How do I cheat?
Reputation: 0
Joined: 09 Jan 2010 Posts: 3
|
Posted: Sat Jan 09, 2010 11:42 pm Post subject: Confusing Value in Assembly Script |
|
|
I'm currently hacking Spore Galactic Adventures (latest version) and am currently working on making badges unlock in space mode.
I've got a bunch of badges that unlock flawlessly so far. However, I ran into a snag today when I tried to use the same method I used for all the other badges, on the frequent flyer badge.
What I've been doing is using code injection and making an assembly cheat. So far, they've all worked. I've just been adding values into eax. On this one however, I knew the max value was 1500(dec), I converted it into hex and got 5DC(hex) and added that into eax like I did with all the others. (only those had different values)
However, in game it would just turn the value to 0 instead. So I tried putting 1500(dec) and it also made it 0. I tried 1F4(hex) which is 500(dec), but it simply changed the value to 32 (original value was at 2). I also tried putting in a value such as 1.4, and it told me it was an invalid instruction or some such. So I couldn't. Finally I decided to go with a really low value and put in 12. 12 completely maxed it out at 1,500 and unlocked all the badges. I'm not sure what the value in game would have been if it didn't max out at 1,500. Technically my problem is solved and I don't need to make any changes to the script. As it is, it works.
However, I want to know why this happened and was wondering if anyone knew. This way I can learn from it and know what to do in the future.
Anyone have an idea?
|
|