Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > .NET Languages
You last visited: Today at 07:22

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Sending Keystroke in DirectX game!

Discussion on Sending Keystroke in DirectX game! within the .NET Languages forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2015
Posts: 17
Received Thanks: 0
Sending Keystroke in DirectX game!

Hi guys!

I want to know if there's another way to send keystroke in DirectX game.

Im trying to make Auto Skills and Pots for @Ran World
but GetAsyncKeyState isnot working and Sendkey.send
SendInput
SendInput with the DIK keycodes
keybd_event

Im trying to use with directinput but i dont know how to send key with this.

Guys. can you givem e example of code sending key to DirectX Game..

-=Auto Pots=-
Skill 1 = 6
Skill 2 = 7
Skill 3 = 8
Skill 4 = 9
Skill 5 = 0

-=Auto Skill=-
Skill 1 = 1
Skill 2 = 2
Skill 3 = 3
Skill 4 = 4
Skill 5 = 5
Skill 6 = Q
Skill 7 = W
Skill 8 = E
Skill 9 = R
Skill 0 = T
WarOfRen is offline  
Old 08/08/2015, 12:41   #2
 
elite*gold: 100
Join Date: Aug 2005
Posts: 595
Received Thanks: 208
Direct Input is fetching his data deep down on driver level.
The best approach is normaly hooking into DirectInput and push the keys into the buffer.
dready is offline  
Thanks
1 User
Old 08/08/2015, 22:09   #3


 
Requi's Avatar
 
elite*gold: 3570
The Black Market: 244/0/0
Join Date: Dec 2012
Posts: 13,044
Received Thanks: 8,252
GetAsyncKeyState() returns the current state of the key (being hold or pressed). You don't send keys with that.

You could use . But you have to run your application as administrator to send a keystroke to a directx window (at least if it's fullscreen afaik)
Requi is offline  
Thanks
1 User
Reply

Tags
vb.net


Similar Threads Similar Threads
Sending Packet by Game-own Function
06/21/2013 - C/C++ - 7 Replies
Hi, I found a function which is sending packets. As you can see in the picture i sent "123" in chatbox and breakpoint called. I am asking for how can i use this function in C++ and how can i find bytes. Thank you so much, sorry for my english. :awesome: Link: ( didn't work) http://i.epvpimg.com/WHU6g.png
Keystroke an Spiele senden
05/10/2013 - .NET Languages - 8 Replies
Guten Abend, Das Ziel: Das Ziel ist es eine Tastatureingabe zu emulieren, welche von einem modernen Spiel erkannt und ausgewertet wird. Das Problem: ModerneSpiele nutzen Mechanismen um dies zu unterdrücken damit kein Bot erstellt werden kann. Lösungsversuche: Versucht wurde die SendKey Methode, KeyEvents und SendInput, diese funktionieren auf normalen Elementen wie einem Notepad, jedoch nicht in modernen Spielen. Nach den gescheiterten versuchen probierte ich herauszufinden ob es...
Bot für directx game
11/30/2012 - AutoIt - 5 Replies
Hi together I am pretty new in the AutoIt scripting http://aut1.autoit-cdn.com/forum/public/style_emot icons/autoit/biggrin.gif so please if you have a answer explain it well^^ i want to make a little Bot, to use a bug in a game. it tried it with Makros and so on, but my Problem is that it is working on DirectX. The Script should not be complicated. i want that it gets the position of the mouse, click there go 10 coordinates on right and click again. As fast as possible, and it shoul be...
[TOOL] to update ur directx and make ur game faster on the pc!
01/06/2008 - SRO Hacks, Bots, Cheats & Exploits - 29 Replies
i have a tool from microsoft that most of u dont have it , its direct x update, its a simple tool that u can always update ur direct x any time on any pc. the tool so small its 272 kb , so u can scan it online before u use it , even before u extract it. RapidShare Webhosting + Webspace u can scan any files on the next sites:= 1: Online malware scan 2: VirusTotal - Free Online Virus and Malware Scan
[TOOL] to update ur directx and make ur game faster on the pc!
01/05/2008 - SRO Hacks, Bots, Cheats & Exploits - 7 Replies
i have a tool from microsoft that most of u dont have it , its direct x update, its a simple tool that u can always update ur direct x any time on any pc. the tool so small its 272 kb , so u can scan it online before u use it , even before u extract it. u can scan any files on the next sites:= 1: Online malware scan 2: VirusTotal - Free Online Virus and Malware Scan



All times are GMT +1. The time now is 07:23.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.