View previous topic :: View next topic |
Author |
Message |
Freiza Grandmaster Cheater
Reputation: 22
Joined: 28 Jun 2010 Posts: 662
|
Posted: Mon Sep 20, 2010 11:55 am Post subject: how to put [health] in address list |
|
|
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(health,4)
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
health:
dd 1
0040acba:
jmp newmem
returnhere:
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
mov [health],0
originalcode:
exit:
jmp returnhere
[DISABLE]
I want to put the memory [health] in address list. How to do it? I want to know address of health. |
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25804 Location: The netherlands
|
Posted: Mon Sep 20, 2010 11:56 am Post subject: |
|
|
add registersymbol(health) to the script
after the script has been executed you can add health to the table (just add address manually and type in as address health
and yes, you can also use it as a pointer base address _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
 |
Csimbi I post too much
Reputation: 97
Joined: 14 Jul 2007 Posts: 3325
|
Posted: Mon Sep 20, 2010 2:09 pm Post subject: |
|
|
.. and put unregistersymbol(health) after [DISABLE] |
|
Back to top |
|
 |
justa_dude Grandmaster Cheater
Reputation: 23
Joined: 29 Jun 2010 Posts: 892
|
Posted: Tue Sep 21, 2010 2:58 am Post subject: |
|
|
Dark Byte wrote: | and yes, you can also use it as a pointer base address |
This is a truly awesome feature. Being able to use symbols (and simple math expressions) as base addresses in the memory dissector kicks butt. |
|
Back to top |
|
 |
Geri Moderator
Reputation: 111
Joined: 05 Feb 2010 Posts: 5636
|
Posted: Tue Sep 21, 2010 4:21 am Post subject: |
|
|
justa_dude wrote: | Dark Byte wrote: | and yes, you can also use it as a pointer base address |
This is a truly awesome feature. Being able to use symbols (and simple math expressions) as base addresses in the memory dissector kicks butt. |
And again something very useful information. I was using the calculator...
didn't know that I can put them like 00006540-40
I tried it immedately and it works perfectly.
This will make things far more convenient for me. Thanks.  _________________
|
|
Back to top |
|
 |
justa_dude Grandmaster Cheater
Reputation: 23
Joined: 29 Jun 2010 Posts: 892
|
Posted: Tue Sep 21, 2010 11:12 am Post subject: |
|
|
Geri wrote: | justa_dude wrote: | Dark Byte wrote: | and yes, you can also use it as a pointer base address |
This is a truly awesome feature. Being able to use symbols (and simple math expressions) as base addresses in the memory dissector kicks butt. |
And again something very useful information. I was using the calculator...
didn't know that I can put them like 00006540-40
I tried it immedately and it works perfectly.
This will make things far more convenient for me. Thanks. :) |
Aye, thanks DB.
I frequently grab addresses in a search and use a plugin to assign them to symbols, then popup a dissect window with an address like unit1-20, unit2-20, etc. It's a big time-saver when trying to find player ids and so forth. |
|
Back to top |
|
 |
noko_112 Grandmaster Cheater
Reputation: 0
Joined: 09 Jun 2009 Posts: 585
|
Posted: Tue Sep 21, 2010 11:57 am Post subject: |
|
|
justa_dude wrote: | Geri wrote: | justa_dude wrote: | Dark Byte wrote: | and yes, you can also use it as a pointer base address |
This is a truly awesome feature. Being able to use symbols (and simple math expressions) as base addresses in the memory dissector kicks butt. |
And again something very useful information. I was using the calculator...
didn't know that I can put them like 00006540-40
I tried it immedately and it works perfectly.
This will make things far more convenient for me. Thanks.  |
Aye, thanks DB.
I frequently grab addresses in a search and use a plugin to assign them to symbols, then popup a dissect window with an address like unit1-20, unit2-20, etc. It's a big time-saver when trying to find player ids and so forth. |
Cool, can you give me the plugin. (To lazy to code my own ) |
|
Back to top |
|
 |
|