Making a bhopper

Posts 1–10 of 10 · Page 1 of 1
Making a bhopper
i am making a bhopper for crossfire... it simply presses space 20 times per second to assist with bhopping.

however crossfire does not jump in response to my sendkeys.... why would this be?

this is how im sending the keys:
Code:
void SendKey(BYTE virtualKey)
{
    
    keybd_event(virtualKey, 0, 0, 0);
    Sleep(20);
    keybd_event(virtualKey, 0, KEYEVENTF_KEYUP, 0);
}

its hard to make
maybe make a logger which loggs
the floor and when u hit then it jumpes
No my idea was to press space 20 times per second... so it would surely jump in the right place...
Quote Originally Posted by _corn_ View Post
i am making a bhopper for crossfire... it simply presses space 20 times per second to assist with bhopping.

however crossfire does not jump in response to my sendkeys.... why would this be?

this is how im sending the keys:
Code:
void SendKey(BYTE virtualKey)
{
    
    keybd_event(virtualKey, 0, 0, 0);
    Sleep(20);
    keybd_event(virtualKey, 0, KEYEVENTF_KEYUP, 0);
}

having trouble making an auto typer for crossfire as well. just shortcuts like /w /r you know. and it won't even type those in.
maybe instead of "sending" the keys we need to somehow set the key state.... is there a function for setting key state?
Quote Originally Posted by _corn_ View Post
maybe instead of "sending" the keys we need to somehow set the key state.... is there a function for setting key state?
Crossfire read keys excatly from keyboard, and ignores Windows Inputs :/
so basically you cant tell cf what to do unless you make a mechanism that physically presses the keys -.-
Quote Originally Posted by _corn_ View Post
so basically you cant tell cf what to do unless you make a mechanism that physically presses the keys -.-
No, you must hook into Crossfire to imitate a key press....
oh ofc.... or could we just find the address to the Jump function and call that 20 times per second?
@_corn_ nice try , i was of from Cf i get back now some day's but how i remember CF block's the sendKey's ....
Posts 1–10 of 10 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us