View previous topic :: View next topic |
Author |
Message |
M.MoRsE How do I cheat? Reputation: 0
Joined: 31 Dec 2020 Posts: 4
|
Posted: Sat Sep 03, 2022 5:48 am Post subject: Having truble to make script for that address |
|
|
[b]hi everybody how can solve this wrong in script to use not make grlith the game and stop it
i want to make script for enemies not die easly until you shoot on head
Code: | [ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
nop
nop
nop
nop
nop
exit:
jmp returnhere
"The Lord of the Necropolis Overhaul.exe"+561E8:
jmp newmem
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"The Lord of the Necropolis Overhaul.exe"+561E8:
nop
nop
nop
nop
nop
//Alt: db 90 90 90 90 90
|
|
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1053 Location: 0x90
|
Posted: Sat Sep 03, 2022 2:54 pm Post subject: |
|
|
Perhaps we could assist more if you had not have overwritten the original code with several no-operation instructions. There is a reason why you should place new code under "newmem:", because it helps discern the difference between the original instructions and the ones you added.
|
|
Back to top |
|
|
M.MoRsE How do I cheat? Reputation: 0
Joined: 31 Dec 2020 Posts: 4
|
Posted: Sat Sep 03, 2022 3:57 pm Post subject: |
|
|
LeFiXER wrote: | Perhaps we could assist more if you had not have overwritten the original code with several no-operation instructions. There is a reason why you should place new code under "newmem:", because it helps discern the difference between the original instructions and the ones you added. |
hi LeFiXER
This is the original code, I didn't write anything. As it appeared to me I sent it
I tried to send you a private message, but the site refuses to contact you, why?!
As I told you this is the original code and there are no additions from me
|
|
Back to top |
|
|
M.MoRsE How do I cheat? Reputation: 0
Joined: 31 Dec 2020 Posts: 4
|
Posted: Sun Sep 04, 2022 5:41 am Post subject: |
|
|
ok man. that's original code before replace with code that does nothing
[code]
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
sub [esi+000000CC],dx
exit:
jmp returnhere
"The Lord of the Necropolis Overhaul.exe"+561E8:
jmp newmem
nop 2
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"The Lord of the Necropolis Overhaul.exe"+561E8:
sub [esi+000000CC],dx
//Alt: db 66 29 96 CC 00 00 00
====
I replaced it to make enemy not die but failed
===
now how can i make script for infinte health to enemy?
|
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1053 Location: 0x90
|
Posted: Mon Sep 05, 2022 10:57 am Post subject: |
|
|
I don't have the game so I can't test things personally. At a quick glance it appears that [ESI+CC] could point to the health of the entity (which can also be the player). It is down to you to investigate this by setting a breakpoint on the instruction "sub [esi+000000CC],dx" by selecting that instruction in the memory viewer window and pressing F5 (or via the right-click context menu).
Once the instruction is accessed/written to, the breakpoint will trigger.
|
|
Back to top |
|
|
M.MoRsE How do I cheat? Reputation: 0
Joined: 31 Dec 2020 Posts: 4
|
Posted: Mon Sep 05, 2022 5:46 pm Post subject: |
|
|
LeFiXER wrote: | I don't have the game so I can't test things personally. At a quick glance it appears that [ESI+CC] could point to the health of the entity (which can also be the player). It is down to you to investigate this by setting a breakpoint on the instruction "sub [esi+000000CC],dx" by selecting that instruction in the memory viewer window and pressing F5 (or via the right-click context menu).
Once the instruction is accessed/written to, the breakpoint will trigger. |
-----
Yes, as you said, it is the health of the enemy and I almost reached it approximately
Thank you very much for the help
|
|
Back to top |
|
|
|