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 


Trainer without adobe flash some bugs

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

Joined: 20 Mar 2021
Posts: 2

PostPosted: Sat Mar 20, 2021 10:40 am    Post subject: Trainer without adobe flash some bugs Reply with quote

I have my trainer created old but as you already know the browser games do not work with adobeflash unfortunately, I need to create a trainer that automatically detects the game I want, Example I have 2 tabs open and one contains the game and the other I do not want the trainer to detect the game without the adobe flashplayer I don't know if I wrote it right, sorry for my bad english
_________________
Site web: Tronius.net Youtuber SavageCheats
Back to top
View user's profile Send private message
ByTransient
Expert Cheater
Reputation: 5

Joined: 05 Sep 2020
Posts: 240

PostPosted: Sat Mar 20, 2021 12:52 pm    Post subject: Reply with quote

It probably has the highest memory in the browser while the game is open.
Determine a nearby memory and use the code below without the .exe.

Code:
function openProc1(gameName,memu)
memu=tonumber(memu)
local p = io.popen('tasklist /fi "IMAGENAME eq '..gameName..'.exe" /fi "MEMUSAGE gt '..memu..'" /nh', 'r');
local procInfo = p:read('*a');
p:close();
local pid = procInfo:match('%d+');
pid = tonumber(pid);

if(pid == nil)then
showMessage("You must start the game first!")
else
openProcess(pid)
print(pid..' - '..gameName..' ON!')
end
end

--use;
openProc1("chrome",150000) --or 300000 or game memory? (800000)
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