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 


[Question] Trainer with Random Process name

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Magejuh
How do I cheat?
Reputation: 0

Joined: 26 Jun 2012
Posts: 2

PostPosted: Tue Jun 26, 2012 2:55 pm    Post subject: [Question] Trainer with Random Process name Reply with quote

hi all,

i been messing around with cheat engine and am trying to make a trainer
i found the pointers for a few stats and am rdy to generate a trainer.. BUT..
the process name has 4 random A-F0-9 in its name each time the main process is started (eg. process0d2c.exe, process9fd8.exe)

the stats values are in this random process name process

so:
Any way to have the trainer work for the random process name?

thnx in advance,
Magejuh
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Tue Jun 26, 2012 4:49 pm    Post subject: Reply with quote

Use sl=createStringlist() followed by getProcesslist(sl)

Then you can use the strings_ methods to parse through the list
each line is build up using processidinhex-processname
so when you find the processname, string the part before the - char, convert it to an integer, and open that.
Or call openProcess/add autoattach using the part after the -

_________________
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
Magejuh
How do I cheat?
Reputation: 0

Joined: 26 Jun 2012
Posts: 2

PostPosted: Wed Jun 27, 2012 2:16 pm    Post subject: Reply with quote

Thnx for the reply.

tho i have no idea where i can fill in those string lines Smile
im using the "CE>file>Generate trainer from table" to make a trainer.

Could u point me in the right direction or point me to a (in depth) tutorial?

i noticed the generated trainer manual tools look alot like visual studio toolsbars, am i supposed to script in vb?

any other thing that might make this work for me are greatly appreciated.

Thnx again,
Magejuh
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