How do I cheat?
Joined: 30 Aug 2016
|Posted: Mon Aug 26, 2019 10:53 am Post subject: Please, need help in AOB Scripting
I found the address in the game: Monster Boy, is responsible for the walk speed of the character, so when i make an AOB Injection i have the original code:
I'm new in assembler and in these codes, but reading the forum, i replace the original code, by:
The default value of the float point is 0.7, but i set to 1.2 that is fine for me. All works fine, but i have a problem:
This code works if i walk forward, but when i go back (the float value gets negative) it's doesn't, because i need to set in code the negative value instead of positive to work, i. e. dq (float)-1.2
Please, how to make the code to know if is a positive number, then the code to set 1.2, if is negative than to set -1.2?