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
Can some1 Help in "m" https://github.com/Tunous/EverybodyEditsProtocol#sm-m
I want to move to cords, thanks.
98% of teenagers cannot count; if you're apart of the 3% that can, copy this into your signature.
Offline
"m"
Sent to move.
Id Type Name Description
0 Double X The x coordinate of the player's position.
1 Double Y The y coordinate of the player's position.
You have to divide these by 16.
So
playerX = m.GetDouble(0) / 16
Ingame: marten22 My steam: MartenM
Offline
I want to move to cords, thanks.
connection.Send("m", x*16, y*16, 0, 0, 0, 0, 0, 0, 0, false, false, 0);
x and y to block grid.
Thank you eleizibeth ^
I stack my signatures rather than delete them so I don't lose them
Offline
Kinda off-topic, but:
playerX = m.GetDouble(1) / 16;
If your "playerX" variable is an int it'll cut off any decimal places remaining after that division, meaning your coordinates will always be rounded down. This is bad for things like digbot, so you should round it to the nearest integer by doing:
playerX = Convert.ToInt32(m.GetDouble(1) / 16);
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 1732678573.3744 - Generated in 0.078 seconds, 14 queries executed - Memory usage: 1.48 MiB (Peak: 1.62 MiB) ]