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 


[delphi] Code own program script

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
tanjiajun_34
Grandmaster Cheater
Reputation: 0

Joined: 16 Feb 2006
Posts: 786
Location: Singapore

PostPosted: Thu Aug 06, 2009 8:15 am    Post subject: [delphi] Code own program script Reply with quote

How do you make your own program script?
Like instead of me coding for all soft of situations the users might need, the user can code a script that only works on my program.
Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Thu Aug 06, 2009 9:02 am    Post subject: Reply with quote

you need to parse the script from the buffer/file that the user has put it to. then you need to tokenise this content

the best way to do this is recursively. in fact it requires quite a bit of work to do it on most imperivative language unless you use this approach. at least the code is a lot harder to read afterwards.. i have previously written a parser/tokeniser in haskell ( this language basically has built in support for this though ) and also asm. if they're of any use to you then i could upload it but if you google tokeniser i think you'll find a lot of resources that will help you
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming 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