|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
ablonevn Advanced Cheater Reputation: 1
Joined: 02 Oct 2011 Posts: 59
|
Posted: Sun Feb 03, 2013 1:01 am Post subject: about lua autoAssambler function |
|
|
the lua autoAssambler return true when function success, but i think you could make it return nil or allocated address may be better, just user don't have to register a symbol to get allocated address, and they could use lua to access to any address in assember code without add "registersymbol" to AA. as logical, return nil, true, number have same effect and make code shorter, and less conflict symbol-table :
example read address with current method to read an integer
Code: |
aas=autoAssambler([[
alloc(newmem,1024)
registersymbol(newmem)
newmem:
dd #1024
]]);
if (aas) then
readInteger(getAddress("newmem"));
end
|
the new method:
Code: |
aas=autoAssambler([[
alloc(newmem,1024)
newmem:
dd #1024
]]);
if aas then
readInteger(aas);
end
|
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Sun Feb 03, 2013 4:21 am Post subject: |
|
|
I'll think about it. But don't forget that a script can have 1000 allocs
_________________
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 |
|
|
ablonevn Advanced Cheater Reputation: 1
Joined: 02 Oct 2011 Posts: 59
|
Posted: Sun Feb 03, 2013 6:48 am Post subject: |
|
|
Dark Byte wrote: | I'll think about it. But don't forget that a script can have 1000 allocs |
ah, that is the one i'm forget, how about return table with 1000 allocs ? and the key in table will same as alloc's name , and for dealloc that item will be deallocTable(ass) . but it seem hard when these are several alloc being failed. if using this method more complex than old one then this is very bad idea =)).
and another freeware project is wingraph32 from ida.
Code: |
http://www.hex-rays.com/idapro/freefiles/wingraph32_src.zip
|
do you have any idea about using it in ce ?
|
|
Back to top |
|
|
|
|
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
|
|