| View previous topic :: View next topic |
| Author |
Message |
Spleshmen Cheater
Reputation: 0
Joined: 11 Feb 2008 Posts: 25
|
Posted: Thu Feb 14, 2008 2:44 pm Post subject: 9dragons keystroke program |
|
|
i am tryng to make a program to make a program that will simulate the keystroke of different buttons...but i have some problems ,for example if i change the window class name to notepad and open notepad the program will type the numbers but it wont work on the 9dragon game,if i put a message to show me if the forground window is 9dragon it works but if i put the code for the keystroks it wont work.here is my code
| Code: | #include <string.h>
#include <iostream>
#include <windows.h>
using namespace std;
int main () {
HWND window,hh,hw;
int contor = 0;
while (contor!=1) {
hh = GetForegroundWindow();
hw = FindWindow("X3DKernel",NULL);
if (hh=hw)
contor = 1;
}
if (contor == 1) {
for (int i=0;i<500;i++) {
keybd_event(VkKeyScan('1'),0x02,0 , 0);
keybd_event(VkKeyScan('1'),0x02, KEYEVENTF_KEYUP,0);
Sleep(1500);
keybd_event(VkKeyScan('5'),0x06,0 , 0);
keybd_event(VkKeyScan('5'),0x06, KEYEVENTF_KEYUP,0);
Sleep(3000);
}
system("pause");
}
} |
| Description: |
| picture of the class name of the 9dragon window |
|
| Filesize: |
884.82 KB |
| Viewed: |
9244 Time(s) |

|
|
|
| Back to top |
|
 |
Snootae Grandmaster Cheater
Reputation: 0
Joined: 16 Dec 2006 Posts: 969 Location: --->
|
Posted: Fri Feb 15, 2008 1:56 am Post subject: |
|
|
nice try, but the basic functions are usually blocked by the game (keydb_event) what kind of protection does it have?
_________________
|
|
| Back to top |
|
 |
Semeii How do I cheat?
Reputation: 0
Joined: 14 Feb 2008 Posts: 3
|
Posted: Fri Feb 15, 2008 2:05 am Post subject: |
|
|
Try to put some sleep before it detects game, to ensure that when you try to cilck you'r in correct game screen (playing)
Also check if you ever have contor set to 1
|
|
| Back to top |
|
 |
Spleshmen Cheater
Reputation: 0
Joined: 11 Feb 2008 Posts: 25
|
Posted: Fri Feb 15, 2008 3:28 am Post subject: |
|
|
| gameguard,is there another way i can simulate keystrokes for this game?some1 told me i should try to make a program that will simulate the keystroks for directx or something like this...
|
|
| Back to top |
|
 |
Pwnzistor How do I cheat?
Reputation: 0
Joined: 15 Feb 2008 Posts: 1
|
Posted: Fri Feb 15, 2008 12:51 pm Post subject: |
|
|
I registered just to make this post :p. Anyways, I am curious to whether or not it would be a viable option for you to make a looping macro for this? I have a small history with macro creating with my G15 programming software and other miscellaneous programs. Also, I am curious to the possibility for you to program some sort of packet sniffer that would allow you to find specific values in incoming packets that may contain information on this " sleep " so that you may avoid it. I have experience with some automation in a game called World of Warcraft, FISHING, because seriously.. who wants to sit and fish . You would be able to take a dropper that gathered the color information of the bobber, and would automatically enter the keystroke to pull in the like when that color moved, and I was wondering if this same technique may be useful in 9dragons.
|
|
| Back to top |
|
 |
|