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
I want to do the same thing as pressing left arrow for 2 seconds or something like that.
(the m message looks pretty complicated! Would someone explain it to me?)
Offline
int x = <insert x pos>, y = <insert y pos>;
con.Send("m", x * 16, y * 16, 0, 0, 0, 0, 0, 0, 0, false, false, 0);
For the 7 zeroes, you can experiment with them to get a smooth movement
I suggest messing with the X and Y speed
Note: Everybody knows why it's multiplied by 16, it's because the blocks are 16 x 16.
Whole thing is just physics, mess with it.
Thanks to: Ernesdo (Current Avatar), Zoey2070 (Signature)
Very inactive, maybe in the future, idk.
Offline
Almost all send and receive messages can be found on the github.
int x = <insert x pos>, y = <insert y pos>; con.Send("m", x * 16, y * 16, 0, 0, 0, 0, 0, 0, 0, false, false, 0);
If you want to know what all those zero's mean I would suggesting to just take a look at the github here
Ingame: marten22 My steam: MartenM
Offline
Try making the bot listen for and then display all the "m" messages it receives with your player ID at index 0. Compare the info you get with the message documentation.
If you then in-game do the movement you want the bot to do, you'll get one message when you press an arrow key down and another when you release it. You can then send pretty much the exact same information through the bot to get it to move.
However, you can't (afaik) get smooth movement from a bot. It'll start moving OK, but when you send the second packet you'll see it overshoot and teleport back instead of slowing to a stop.
One bot to rule them all, one bot to find them. One bot to bring them all... and with this cliché blind them.
Offline
Try making the bot listen for and then display all the "m" messages it receives with your player ID at index 0. Compare the info you get with the message documentation.
If you then in-game do the movement you want the bot to do, you'll get one message when you press an arrow key down and another when you release it. You can then send pretty much the exact same information through the bot to get it to move.However, you can't (afaik) get smooth movement from a bot. It'll start moving OK, but when you send the second packet you'll see it overshoot and teleport back instead of slowing to a stop.
Of course you can do it. If you can with a client, you can do it with a bot, after all you sent the exact same kind of messages.
You probably have to do something with the velocity parameters.
Offline
Of course you can do it. If you can with a client, you can do it with a bot, after all you sent the exact same kind of messages.You probably have to do something with the velocity parameters.
You sound so sure. Have you ever tried to get a bot to move?
I once recorded all my movement packets and the delays between them, and after sending them back the bot moved like an incredibly laggy player.
Even stalkbots, which use exactly the same movement information they receive from a player, move badly when not in god mode. I think it's probably because of the latencies in message sending and receiving - if your bot's doing a mini and every movement is a little late or a little early, it's gonna look janky and teleport a lot.
One bot to rule them all, one bot to find them. One bot to bring them all... and with this cliché blind them.
Offline
Pages: 1
[ Started around 1732734977.4639 - Generated in 0.064 seconds, 13 queries executed - Memory usage: 1.52 MiB (Peak: 1.68 MiB) ]