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 


Create/Change address with a script?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
lamafao
Expert Cheater
Reputation: 1

Joined: 17 Apr 2013
Posts: 130

PostPosted: Fri Mar 21, 2014 5:27 pm    Post subject: Create/Change address with a script? Reply with quote

Is there a way to create a script or anything like that, that would create a new or change/modify address?

Lets say i have a pointer and the address is (Main) 3001F866.
So the script would create a new address or change another address (zzz) to the address that pointer found (3001F866) + 500? so it became 3001FD66 or something like that?
Back to top
View user's profile Send private message
justa_dude
Grandmaster Cheater
Reputation: 23

Joined: 29 Jun 2010
Posts: 891

PostPosted: Fri Mar 21, 2014 6:00 pm    Post subject: Re: Create/Change address with a script? Reply with quote

lamafao wrote:
Is there a way to create a script or anything like that, that would create a new or change/modify address?

Lets say i have a pointer and the address is (Main) 3001F866.
So the script would create a new address or change another address (zzz) to the address that pointer found (3001F866) + 500? so it became 3001FD66 or something like that?


I know there's a way to do it w/ a plugin, and there's probably a way to do it w/ LUA, but I would just use the symbol handler. Set your address to the symbol's name, then in whatever script is grabbing the address have it allocate some memory and register the symbol, then store the address in it.

_________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on...
Back to top
View user's profile Send private message
lamafao
Expert Cheater
Reputation: 1

Joined: 17 Apr 2013
Posts: 130

PostPosted: Fri Mar 21, 2014 6:32 pm    Post subject: Re: Create/Change address with a script? Reply with quote

justa_dude wrote:
lamafao wrote:
Is there a way to create a script or anything like that, that would create a new or change/modify address?

Lets say i have a pointer and the address is (Main) 3001F866.
So the script would create a new address or change another address (zzz) to the address that pointer found (3001F866) + 500? so it became 3001FD66 or something like that?


I know there's a way to do it w/ a plugin, and there's probably a way to do it w/ LUA, but I would just use the symbol handler. Set your address to the symbol's name, then in whatever script is grabbing the address have it allocate some memory and register the symbol, then store the address in it.
But i dont have a script, i just have this pointer, if i look what accesses this address i can see only 1 address, that actually checks it only 1 time when i attack

I made this, it works but idk if its good?
Code:

[ENABLE]
alloc(newmem,4096)
label(addr)
registersymbol(addr)

[[[[[game.exe+A921B8]+2d8]+56c]+d8]+48]+176:
addr:

[DISABLE]
dealloc(newmem)
unregistersymbol(addr)
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