![]() |
|
Portal |
Downloads |
Arcade |
CD-Key Shop |
Register |
FAQ |
|
|
|
#1 |
|
C/C++/Java Programmer
MPC Member
Join Date: 29th Jan 2006
Posts: 6
|
MapleStory Botting Program
Hi all,
This is my first post here and hopefully it can be somewhat useful. I have started writing a botting program using Windows system hooks. It has both recording and playback of keyboard/mouse events using these hooks. My program is written in both Java and C. Apparently Java by itself isn't capable of installing system hooks so I had to write a C program that installed the hook and communicated with the Java program through a pipe. I use the C program to install the hooks and use the java.awt.Robot class to playback recordings. Now here's the problem. The WH_JOURNALRECORD hook won't work with Maple Story (Global) because gameguard/nprotect seems to block this type of hook. But there is a way around this using low level hooks like WH_KEYBOARD_LL and WH_MOUSE_LL which reads directly from the respective device driver. Now my program can record input from inside maple. The playback also works fine, except when Maple Story currently in context. Now that I have figured out how to get past input problems, I'm a little stuck on how to playback what I've recorded. Do I have to write playback code in assembler or does anyone here know of a simpler way of playing back recorded input with MapleStory in context. I have attached my current application (run the .jar file not the .exe file). If you get a main class not found error run the jar file with arguments specifing that MainFrame is the main class. Last edited by Pradu; 22nd February 2006 at 01:05.. |
|
|
|
|
|
#2 |
|
Dark Mage
Join Date: 20th Feb 2006
Posts: 22
|
hey if you can get a bot to work does it mean you understand how to bypass the nProtect/gamegaurd of ms?
`EDITS:: whups read a bit fast. nvm |
|
|
|
|
|
#3 |
|
No one live forever
Lord of Destiny
Join Date: 13th Jan 2006
Posts: 49
|
Yeah, ur project work fine except Maple in context. Just like Auto-It macro, in desktop it's work fine even GG running, but no effect when switch to Maple.
Ur project is fine while playing, but when Press F12 to Stop, it's hangs a while and so on. Im not a programmer, so I cant help u in coding. But I suggest 1 method. Using method like OnScreen Keyboard of Windows. When u play Maple, u press a key in OnScreen Keyboard, it's perfectly input in to maple, like we press a button on keyboard. Btw, hope u success in this project. I like all marco program. |
|
|
|
|
|
#4 |
|
People From Nowhere
Silver Dragon
|
U got the way, keep on it for mpc
![]() |
|
|
|
|
|
#5 | ||
|
C/C++/Java Programmer
MPC Member
Join Date: 29th Jan 2006
Posts: 6
|
How to send input to Maple
I finally figured out why it dosen't work when Maple Story is in context and it dosen't have to do with gameguard either. It seems Maple Story uses DirectX's DirectInput. SendInput inserts the events in the Windows event queue, but DirectInput bypasses it and hooks directly into the keyboard/mouse driver and ignores whatever PURBot sends. The only way I know to get past this is writing a virtual device drivier that inserts keyboard /mouse input directly into the keyboard/mouse buffer. I guess I have to do this assembler...
Quote:
Quote:
Last edited by Pradu; 22nd February 2006 at 04:35.. |
||
|
|
|
|
|
#6 |
|
People From Nowhere
Silver Dragon
|
U learn Dev C from?
|
|
|
|
|
|
#7 | |
|
C/C++/Java Programmer
MPC Member
Join Date: 29th Jan 2006
Posts: 6
|
Quote:
Last edited by Pradu; 22nd February 2006 at 04:46.. |
|
|
|
|
|
|
#8 |
|
People From Nowhere
Silver Dragon
|
Oh, u learn from the tutorial. I thk u got teacher for learning it. Just asking.
|
|
|
|
|
|
#9 |
|
C/C++/Java Programmer
MPC Member
Join Date: 29th Jan 2006
Posts: 6
|
Yeah I don't think this discussion is on topic with the first post. I had no teacher for learning C, but I did for Java. If you want to learn C you can PM me and I'll give you my MSN name and can teach you C. I am unable to PM because I don't have the minimum 10 posts required to PM...
|
|
|
|
|
|
#10 |
|
People From Nowhere
Silver Dragon
|
Nah, i knw abt programming. I have learn it from my brother. But, i need to ask my brother if i want programming bcoz i dnt untd so much.
|
|
|
|
|
|
#11 |
|
Devil of Hell
Join Date: 1st Feb 2005
Posts: 382
|
where is the recorded file saves to? and how to use it?
|
|
|
|
|
|
#12 |
|
New MPC User
Join Date: 1st Jan 2006
Posts: 3
|
can u teach me the basic steps to use this? thx
|
|
|
|
|
|
#13 |
|
No one live forever
Lord of Destiny
Join Date: 13th Jan 2006
Posts: 49
|
This is havent done yet. So u guyz pls wait for sometimes. I belive he can make it.
|
|
|
|
|
|
#14 |
|
MPC Member
Join Date: 10th Feb 2006
Posts: 5
|
Just use Hot Keyboard Pro..Problem solved.
|
|
|
|
|
|
#15 | ||
|
C/C++/Java Programmer
MPC Member
Join Date: 29th Jan 2006
Posts: 6
|
Quote:
Quote:
. I hardly have free time right now so mabe I can make a simple release here in a couple weeks or earlier.Last edited by Pradu; 22nd February 2006 at 18:17.. |
||
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
![]() |
![]() |