Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


how to put [health] in address list

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Freiza
Grandmaster Cheater
Reputation: 22

Joined: 28 Jun 2010
Posts: 662

PostPosted: Mon Sep 20, 2010 11:55 am    Post subject: how to put [health] in address list Reply with quote

[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
View user's profile Send private message Send e-mail
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25804
Location: The netherlands

PostPosted: Mon Sep 20, 2010 11:56 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Csimbi
I post too much
Reputation: 97

Joined: 14 Jul 2007
Posts: 3325

PostPosted: Mon Sep 20, 2010 2:09 pm    Post subject: Reply with quote

.. and put unregistersymbol(health) after [DISABLE]
Back to top
View user's profile Send private message
justa_dude
Grandmaster Cheater
Reputation: 23

Joined: 29 Jun 2010
Posts: 892

PostPosted: Tue Sep 21, 2010 2:58 am    Post subject: Reply with quote

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
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Tue Sep 21, 2010 4:21 am    Post subject: Reply with quote

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. Smile

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
justa_dude
Grandmaster Cheater
Reputation: 23

Joined: 29 Jun 2010
Posts: 892

PostPosted: Tue Sep 21, 2010 11:12 am    Post subject: Reply with quote

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
View user's profile Send private message
noko_112
Grandmaster Cheater
Reputation: 0

Joined: 09 Jun 2009
Posts: 585

PostPosted: Tue Sep 21, 2010 11:57 am    Post subject: Reply with quote

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. Smile


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 Razz)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites