Hello.
I have a problem, I want to make a table for the Original War game and all units are immortal, but I want only my side to be immortal.
What am I doing wrong?
Here is a link to a video of my attempt to make a table.
Maybe one of the forum members will reply to me. On pm or on the forum.
All units immortal in Original War
- kaffeekalle211
- Novice Cheater
- Posts: 21
- Joined: Tue Jun 04, 2024 7:03 pm
- Reputation: 5
Re: All units immortal in Original War
It's a bit difficult for me to explain this, you must find in the same register as the code is e.g. "esi" commonalities.
The code writes all entries for life in the addresses for your side and the side of the enemy.
cmp [esi+810],0
jne originalcode
movss xmm0,[esi+60]
originalcode:
movss [esi+1C],xmm0
exit:
jmp returnhere
In this example I have found in the "esi" register and difference between "my side" and the "enemy side", now I can make a compare,
if esi+810 = 0 then write "max life" [esi+60] in xmm0.
After that, he goes in the original code and write the "normal life" in the register for all other things!
Here is a very good tutorial!
The code writes all entries for life in the addresses for your side and the side of the enemy.
cmp [esi+810],0
jne originalcode
movss xmm0,[esi+60]
originalcode:
movss [esi+1C],xmm0
exit:
jmp returnhere
In this example I have found in the "esi" register and difference between "my side" and the "enemy side", now I can make a compare,
if esi+810 = 0 then write "max life" [esi+60] in xmm0.
After that, he goes in the original code and write the "normal life" in the register for all other things!
Here is a very good tutorial!
Who is online
Users browsing this forum: No registered users