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 


how to script work in mluti window

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

Joined: 13 Oct 2018
Posts: 6

PostPosted: Sun Jul 28, 2019 3:24 am    Post subject: how to script work in mluti window Reply with quote

Now I have made a script for the game and want to work on more than one window because this game opens more than once
I want to make everyone work at the same time



If you do not understand me

i need to make AutoAttach to mluti window and start the script in 1 time
Back to top
View user's profile Send private message
Lynxz Gaming
Expert Cheater
Reputation: 4

Joined: 01 Jul 2017
Posts: 208
Location: help

PostPosted: Sun Jul 28, 2019 5:01 am    Post subject: Re: how to script work in mluti window Reply with quote

this is my auto attach game, maybe not the best

u must create 1 Timer

Code:
game = "yourgame.exe"
UDF1.CETimer1.interval = 1000
function CETimer1Timer(sender)
if readInteger(game) then
UDF1.CETimer1.interval = 100
if getForegroundProcess() == getOpenedProcessID() then
--Status : Attached, Focused
else
--Status : Attached, Not Focused
end
else
UDF1.CETimer1.interval = 5000
--Status : Not Attached, re attaching every 5 seconds
openProcess(game)
end
end

_________________
my english is bad
discord : rynx#9828
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
haaamooo76
How do I cheat?
Reputation: 0

Joined: 13 Oct 2018
Posts: 6

PostPosted: Sun Jul 28, 2019 6:01 am    Post subject: Re: how to script work in mluti window Reply with quote

this will attach 5 more game in 1 time ?
Back to top
View user's profile Send private message
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

PostPosted: Sun Jul 28, 2019 8:28 am    Post subject: Reply with quote

CE can only attach to one process at a time, but a process can have multiple windows.
_________________
https://github.com/FreeER/ has a few CE related repos
Back to top
View user's profile Send private message
haaamooo76
How do I cheat?
Reputation: 0

Joined: 13 Oct 2018
Posts: 6

PostPosted: Sun Jul 28, 2019 2:11 pm    Post subject: Reply with quote

FreeER wrote:
CE can only attach to one process at a time, but a process can have multiple windows.


i need after attach to process attach on other and use script

and make this to end process
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