Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?
You are not logged in.
Pages: 1
how do i use them?
I need a list with all keyboard keys available for bots and how to use them
Offline
What are you asking here?
Do you mean:
g - god
m - map
t, enter - open chat
tab(sustained) - open block bar
w, a, s, d - movement
Thank you eleizibeth ^
I stack my signatures rather than delete them so I don't lose them
Offline
i mean how to know if user presses a keyboard key like user presses F or X
Offline
i mean how to know if user presses a keyboard key like user presses F or X
Are you talking about hotkeys in the GUI or through EE?
Offline
i mean how to know if user presses a keyboard key like user presses F or X
You can't
Thank you eleizibeth ^
I stack my signatures rather than delete them so I don't lose them
Offline
marcoantonimsantos wrote:i mean how to know if user presses a keyboard key like user presses F or X
You can't
what about when pressing M ???
:3
Offline
wtf
are you people dumb
there should be an user32 library for the key events and mouse events so you can check for keypresses in local computer
idk how 2 use tho
edit: oh wait, you want to bot
but here's a solution:
copy the EE swf game and make people use that client instead where it sends custom messages so you can check when to do what
shh i have returned
Offline
Koya wrote:marcoantonimsantos wrote:i mean how to know if user presses a keyboard key like user presses F or X
You can't
what about when pressing M ???
:3
No, only arrow keys/wasd are recognised (not interchangeable)
Thank you eleizibeth ^
I stack my signatures rather than delete them so I don't lose them
Offline
pls try the solution above that i posted.
shh i have returned
Offline
wtf
are you people dumb
there should be an user32 library for the key events and mouse events so you can check for keypresses in local computer
idk how 2 use thoedit: oh wait, you want to bot
but here's a solution:
copy the EE swf game and make people use that client instead where it sends custom messages so you can check when to do what
wtf
blablabla
edit: oh wait, you want to key log
blablabla.
But no, you can only capture the quickchat messages (I don't remember the keys), arrows (or wasd) and space.
Offline
madiik wrote:wtf
are you people dumb
there should be an user32 library for the key events and mouse events so you can check for keypresses in local computer
idk how 2 use thoedit: oh wait, you want to bot
but here's a solution:
copy the EE swf game and make people use that client instead where it sends custom messages so you can check when to do what
wtf
blablabla
edit: oh wait, you want to key log
blablabla.
But no, you can only capture the quickchat messages (I don't remember the keys), arrows (or wasd) and space.
ayy how'd u kno
shh i have returned
Offline
madiik wrote:wtf
are you people dumb
there should be an user32 library for the key events and mouse events so you can check for keypresses in local computer
idk how 2 use thoedit: oh wait, you want to bot
but here's a solution:
copy the EE swf game and make people use that client instead where it sends custom messages so you can check when to do what
wtf
blablabla
edit: oh wait, you want to key log
blablabla.
But no, you can only capture the quickchat messages (I don't remember the keys), arrows (or wasd) and space.
hm. i need to know W and S then.
Offline
you toggle quickchat messages by Alt Gr + (amount of quickchat messages), capture them with m.GetString(1)
like, "Hi." == Alt Gr + 1 was pressed
shh i have returned
Offline
but wuts the message for it?
Offline
# autotext - UserID using the Quickchat, the "chat" for nonchatters.
[0] <Integer> UserID
[1] <String> TextSheet-list:
1 = Hi.
2 = Goodbye.
3 = Help me!
4 = Thank you.
5 = Follow me.
6 = Stop!
7 = Yes.
8 = No.
9 = Right.
0 = Left.
Offline
some people wrote:some quote
hm. i need to know W and S then.
^ Need this as well.
ERMAHGERD I AM THERE
Offline
marcoantonimsantos wrote:some people wrote:some quote
hm. i need to know W and S then.
^ Need this as well.
# m - UserID is moving around
[0] <Integer> UserID
[1] <Double> PlayerPosX
[2] <Double> PlayerPosY
[3] <Double> SpeedX
[4] <Double> SpeedY
[5] <Integer> ModifierX
[6] <Integer> ModifierY
[7] <Integer> Horizontal
[8] <Integer> Vertical
[9] <Integer> Coins
[10] <Boolean> SpaceDown
enum Direction {None, Down, Left, Right, Up}
Hashtable _keys = new Hashtable();
public static void ChangeState(Direction key, bool state)
{
_keys[key] = state;
}
public static bool IsPressed(Direction key)
{
if (_keys[key] == null)
_keys[key] = false;
return (bool)_keys[key];
}
public static void UpdateKeys(PlayerIOClient.Message e)
{
switch (e.GetInt(7))
{
case -1:
ChangeState(Direction.Left, true);
break;
case 1:
ChangeState(Direction.Right, true);
break;
case 0:
ChangeState(Direction.Left, false);
ChangeState(Direction.Right, false);
break;
}
switch (e.GetInt(8))
{
case -1:
ChangeState(Direction.Up, true);
break;
case 1:
ChangeState(Direction.Down, true);
break;
case 0:
ChangeState(Direction.Up, false);
ChangeState(Direction.Down, false);
break;
}
}
// Place UpdateKeys(m); in the OnMessage event handler.
// Usage.
if (IsPressed(Direction.Left) && IsPressed(Direction.Up))
Console.WriteLine("A + W");
Offline
@above doesn't work with multiple direction inputs
shh i have returned
Offline
▼Hidden text
As madiik said, should be improved by making an array of integers with size 2. (one for vertical movement and one for horizontal)
Offline
@above doesn't work with multiple direction inputs
DarkDragon4900 wrote:▼Hidden textAs madiik said, should be improved by making an array of integers with size 2. (one for vertical movement and one for horizontal)
Updated. :p
Except it doesn't use an array but a rather better method.
Offline
Pages: 1
[ Started around 1732309099.6488 - Generated in 0.090 seconds, 12 queries executed - Memory usage: 1.77 MiB (Peak: 2.03 MiB) ]