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 


Chrome Process

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Filipe_Br
Master Cheater
Reputation: 3

Joined: 07 Jan 2016
Posts: 272
Location: My house

PostPosted: Fri Aug 26, 2016 7:57 am    Post subject: Chrome Process Reply with quote

How can I create a trainer that connects to correct the chrome process?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 138

Joined: 06 Jul 2014
Posts: 4275

PostPosted: Fri Aug 26, 2016 9:18 am    Post subject: Reply with quote

Use getProcesslist() to get all the PIDs of the chrome processes.
Use enumModules() to find some unique dll flash uses (i.e. pepflashplayer.dll) and/or make your own signature to find the process.
Attach to the process using openProcess().

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Filipe_Br
Master Cheater
Reputation: 3

Joined: 07 Jan 2016
Posts: 272
Location: My house

PostPosted: Fri Aug 26, 2016 11:20 am    Post subject: Reply with quote

Go straight to the point, I have not the slightest idea how to do it
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 138

Joined: 06 Jul 2014
Posts: 4275

PostPosted: Fri Aug 26, 2016 11:22 am    Post subject: Reply with quote

I don't think I can be more straightforward without making it for you (which I won't do). Read main.lua for documentation on all those functions, and learn Lua if you don't know how to use loops, if statements, and tables.
_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Fri Aug 26, 2016 9:46 pm    Post subject: Reply with quote

Alternatively, you can set up your trainer to attach to one of the processes based on which order it appears (assuming this doesn't change), but, you'll need LUA or something for that, too. Not sure if this would be applicable to Chrome or not, as I typically don't use Chrome and I never do anything with browser games.
Back to top
View user's profile Send private message
Ludwig
Advanced Cheater
Reputation: 0

Joined: 10 Jan 2016
Posts: 68

PostPosted: Thu Sep 08, 2016 12:47 am    Post subject: Reply with quote

or use a trainer maker...im sure thers examples on forum...alternatively...similar questions have been raised b4...search and learn
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 138

Joined: 06 Jul 2014
Posts: 4275

PostPosted: Fri Sep 09, 2016 5:38 pm    Post subject: Reply with quote

If the OP or anyone else is interested, this topic will simplify things.
_________________
I don't know where I'm going, but I'll figure it out when I get there.
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 Lua Scripting 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