Posted: Sat Feb 15, 2020 5:30 am Post subject: AOB scan problem
hello, i'm making an AOB script for a game and i have found the health address to make the AOB script for, this health address also writes health to my player and enemies so i spent time dissecting and finding a solution for that. But I want to make two seperate AOB scripts, one that makes me godmode and one that sets enemies health to 1 hp for one hit kill. What is the best way to go about making this since i can't aob scan the same place once one of the scripts is enabled?
For GodMode you act on the code that decreases the life of all players, while to make enemies one hit you can act on another code, normally every time a player is hit on the value of life there is a reading code that compares the his life with the value 0 and if it is equal or less he performs the death function, you can make sure that in the case of an enemy this condition is always true.
Or you can create a script that you owe the original code (the one that decreases life by acting in writing) on an allocated memory region and you program a management that checks if the scripts are active or not and based on this it performs different actions.
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