Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > .NET Languages
You last visited: Today at 10:40

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

Advertisement



Need help (SendKey issues )

Discussion on Need help (SendKey issues ) within the .NET Languages forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2008
Posts: 1
Received Thanks: 0
Need help (SendKey issues )

hi ! I m trying to make auto way script in vb.net for my bot but i m stucking on sendkey which doesn't work when i m sending movement key ("q"). the bot send correctly the key (it's writting "q" on ingame chat when i focus it) but for movement the chararcter doesn't walk.

Sorry for my english and thank you for reply

Quote:
dim count as integer = 0
Private Sub Tiktoc_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Tiktoc.Tick
If count < 10 Then
SendKeys.Send("q")
count = count + 1
Else
Tiktoc.Stop()
Tiktoc.Dispose()
End If

End Sub
Astral21 is offline  
Old 04/12/2016, 16:39   #2
 
mrapc's Avatar
 
elite*gold: 238
Join Date: Sep 2009
Posts: 2,327
Received Thanks: 1,164
If the speed ist to high it has pressed 'q' 10 times befor even focusing the client.

Some Programs (Metin2 for example) block SendKeys than you should look for a better way to use it (Maybe mouse control)
mrapc is offline  
Reply


Similar Threads Similar Threads
Cabal Online PH need help for SendKey Codes
01/30/2015 - .NET Languages - 0 Replies
Can any one help me about SendKey codes i'm using VB6.0 and i'm try to make an AutoKeyPress on the skills slot for Cabal Online PH but noting works it always tells me (Run Time error "17" access denied ) my program works to any game but not on cabal, it also works on not pad
Sendkey im Hintergrund [HILFE]
07/09/2013 - .NET Languages - 3 Replies
Hallo zusammen ich beschäftige mich im moment sehr viel mit VisualBasic2010 und ich habe eine Frage bezüglich der Sendkeys.send Funktion. Ich möchte sie in einen Auto-Spammer für ein Spiel einfügen aber das Spiel soll im Hintergrund laufen. Ich hab gelesen dass das mit der Sks-Funktion nicht geht und ich dafür Win Api benutzen soll. Kann mir jemand erklären wie das Funktioniert ? Ich bekomme dass einfach nicht hin, brauche da mal jemanden der mir unter die Arme greift
C# SendKey
07/15/2011 - .NET Languages - 3 Replies
Hi Leute, Ich brauch mal ne idee und zwar Convertiere ich einen ReadKey in einen bool und dazu brauche ich volgende zeile. ConsoleKeyInfo consoleKeyInfos = Console.ReadKey(true); Das blöde ist mei programm stopt dadurch bis zu einem Tastendruck. Meine idee wäre es ihn zu simulieren, nur weiß ich nicht wie? Das mit dem SendKey funktion wie es in google beschrieben wird wollte in der ConsolenApplication nicht so recht funktionieren. Oder gibt es noch eine andere lösung?
[VB6/c++]Taste simulieren ohne sendkey?
10/03/2005 - C/C++ - 4 Replies
Gibts ne Möglichkeit nen tastendruck zu simulieren ohne sendkey?



All times are GMT +2. The time now is 10:40.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.