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 


to-do list
Goto page Previous  1, 2, 3, 4, 5
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source
View previous topic :: View next topic  
Author Message
ablonevn
Advanced Cheater
Reputation: 1

Joined: 02 Oct 2011
Posts: 59

PostPosted: Sun Feb 03, 2013 1:01 am    Post subject: about lua autoAssambler function Reply with quote

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

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

PostPosted: Sun Feb 03, 2013 4:21 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message MSN Messenger
ablonevn
Advanced Cheater
Reputation: 1

Joined: 02 Oct 2011
Posts: 59

PostPosted: Sun Feb 03, 2013 6:48 am    Post subject: Reply with quote

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 Very Happy, and for dealloc that item will be deallocTable(ass) Very Happy. 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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source All times are GMT - 6 Hours
Goto page Previous  1, 2, 3, 4, 5
Page 5 of 5

 
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