VB 2008 Bot // Noob need Help

11/10/2008 06:27 combat99#1
Hey guys

i create a VB bot for silkroad. Its a simple SendKeys bot.
But the bot dont work ingame! only work on windows like a flooder...
know anyone what i forgot?


( Im a noob i know! dont say it ) xD
11/10/2008 12:41 syntex#2
1. Find the Window (ex. FindWindow look at msdn)
2. Simply use PostMessage to send keys to the client and not SendKeys.

First try it on your own, if you wont succed, I help you with some snippets.
11/10/2008 15:43 combat99#3
k ich hab voll kein plan!
hilfe wäre doch schon net schlecht!
11/10/2008 16:58 syntex#4
Wo liegt den das problem?

dein projekt musst du schon selber auf die beine stellen, mit den nötigen checks usw.

aber FindWindow reicht für PostMessage, und klappt bei jedem Spiel (sogut wie).

kannst sowas machen

HWND SilkroadWND = FindWindow( NULL, "Silkroad Online" );
if( SilkroadWND != NULL ) printf( "[Info] Silkroad Window found.!\n" ); else printf( "[Info] Please open Silkroad first!\n" );

um erstmal zu gucken ob du das fenster findest (ist für ne konsolen anwendung)
11/12/2008 07:22 EXTEЯNAL#5
vb 08 message bot?

SendKeys.Send("IHRGENDWAS BLABLA" & "{ENTER}")