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 attach directinput from lua script

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

Joined: 24 May 2015
Posts: 49

PostPosted: Sat Jul 30, 2016 8:40 pm    Post subject: How to attach directinput from lua script Reply with quote

Please help.

I want to attach my lua script to directinput of target process.
So i can use KeyDown, KeyUp, etc from lua scipt.

How i can do that?
Back to top
View user's profile Send private message
WndDrgn
Cheater
Reputation: 0

Joined: 24 May 2015
Posts: 49

PostPosted: Sun Jul 31, 2016 10:31 pm    Post subject: Reply with quote

up!
Back to top
View user's profile Send private message
WndDrgn
Cheater
Reputation: 0

Joined: 24 May 2015
Posts: 49

PostPosted: Mon Aug 01, 2016 11:49 pm    Post subject: Reply with quote

I want to make macro key for old arcade brawling game.
Does not have anything to do with online game.
Back to top
View user's profile Send private message
cooleko
Grandmaster Cheater
Reputation: 11

Joined: 04 May 2016
Posts: 717

PostPosted: Tue Aug 02, 2016 11:22 am    Post subject: Reply with quote

Always try to google your questions before asking.
http://www.cheatengine.org/forum/viewtopic.php?t=582962&sid=3a6e582b443dc293663b48bfb4d52911
Back to top
View user's profile Send private message
WndDrgn
Cheater
Reputation: 0

Joined: 24 May 2015
Posts: 49

PostPosted: Tue Aug 02, 2016 4:19 pm    Post subject: Reply with quote

cooleko wrote:
Always try to google your questions before asking.
http://www.cheatengine.org/forum/viewtopic.php?t=582962&sid=3a6e582b443dc293663b48bfb4d52911


I see i have wrote this, right?
Quote:

I want to attach my lua script to directinput of target process.


So normal KeyUp or KeyDown does not work.

I need to attach to directinput of target process.
Back to top
View user's profile Send private message
WndDrgn
Cheater
Reputation: 0

Joined: 24 May 2015
Posts: 49

PostPosted: Wed Aug 03, 2016 6:41 am    Post subject: Reply with quote

Re Up
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Wed Aug 03, 2016 6:23 pm    Post subject: Reply with quote

Real simple: find where the game registers your keyboard clicks and setup an injection. Good luck!
Back to top
View user's profile Send private message
WndDrgn
Cheater
Reputation: 0

Joined: 24 May 2015
Posts: 49

PostPosted: Wed Aug 03, 2016 9:23 pm    Post subject: Reply with quote

Zanzer wrote:
Real simple: find where the game registers your keyboard clicks and setup an injection. Good luck!

Im afraid that is too simple for me. Sad

The game is MA**, an emulator for arcade.
There so much nice old brawling game there.

Maybe i can find where 0x80 of a key in target memory.
But i dont love that solution.

If just inject, and then KeyUp and KeyDown can be use, i can happy for that.

The point is, i just want to use lua script. And any facility that ce has provide so far.
I dont happy if i have to write c/c++ code or assembly code.
Those language are too sacred for me..hehe.. Very Happy
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