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 


copying key input

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
LastExceed
Expert Cheater
Reputation: 1

Joined: 05 Nov 2014
Posts: 130

PostPosted: Mon Oct 05, 2015 5:19 am    Post subject: copying key input Reply with quote

I have 2 clients of the same game running, let's call them clientA and clientB.

I want to read the key input of a specific key (let's choose the L key for instance) and copy it to clientB so that as soon as I press L on clientA manually it will also be pressed on clientB.
I think that I will need keyDown(76) and keyUp(76) for this as well as isKeyPressed(76) but I don't know how to make it work.

I tried to simply run
Code:
keyDown(76)
in the Lua engine to try ouzt the functionality of this code but nothing happens in the game.

EDIT: I found a different way to do it: multiboxing with the freeware octopus.
But I am still interested in how to do it with CE
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