HelpRealm Relay scripting help (newbie)

Posts 110 of 10 · Page 1 of 1
Realm Relay scripting help (newbie)
OK so as I understand it, the code I have here (pieced together from various tuits and the help file and whatnot) should print the player X and Y whenever you move.
But it doesn't.
What am I doing wrong?

Code:
var ID_MOVE = $.findPacketId("MOVE");
function onClientPacket(event)
{
    var packet = event.getPacket();

    if (packet.id() == ID_MOVE)
		
        $.echo("MOVE : " + packet.newPosition.x + " " packet.newPosition.y);
}
misses a '+'
Stupid game devs tryina stop us hacking...
Oh well
Quote Originally Posted by infern000 View Post
missing {} after if !?!?
Unnecessary in this case, but OP try just adding an $.echo("Loaded"); in between the var and function just to see if it actually works. Code looks correct though...
its the + thats missing before the packet.newPosition.y);

funny how it broke the entire autoability script
 
godaweful output
Code:
<20:11:06>MOVE : undefined undefined
<20:11:06>Connected to remote server.
<20:11:06>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : undefined undefined
<20:11:08>MOVE : 71.40474700927734 76.2592544555664
<20:11:08>MOVE : 71.40474700927734 76.2592544555664
<20:11:08>MOVE : 71.40474700927734 76.2592544555664
<20:11:08>MOVE : 71.40474700927734 76.2592544555664
<20:11:08>MOVE : 71.40474700927734 76.2592544555664
<20:11:08>MOVE : 71.40474700927734 76.2592544555664
<20:11:08>MOVE : 71.40474700927734 76.2592544555664
<20:11:08>MOVE : 71.40474700927734 76.2592544555664
<20:11:08>MOVE : 71.40474700927734 76.2592544555664
<20:11:08>MOVE : 71.40474700927734 76.2592544555664
<20:11:08>MOVE : 71.40474700927734 76.2592544555664
<20:11:08>MOVE : 71.40474700927734 76.2592544555664
<20:11:08>MOVE : 71.40474700927734 76.2592544555664
<20:11:09>MOVE : 71.40474700927734 76.2592544555664
<20:11:09>MOVE : 71.40474700927734 76.2592544555664
<20:11:09>MOVE : 71.40474700927734 76.2592544555664
<20:11:09>MOVE : 71.40474700927734 76.2592544555664
<20:11:09>MOVE : 71.40474700927734 76.2592544555664
<20:11:09>MOVE : 71.40474700927734 76.2592544555664
<20:11:09>MOVE : 71.40474700927734 76.2592544555664
<20:11:09>MOVE : 71.40474700927734 76.2592544555664
<20:11:09>MOVE : 71.40474700927734 76.2592544555664
<20:11:09>MOVE : 71.40474700927734 76.2592544555664
<20:11:09>MOVE : 71.40474700927734 76.2592544555664
<20:11:09>MOVE : 71.40474700927734 76.2592544555664
<20:11:09>MOVE : 71.40474700927734 76.2592544555664
<20:11:09>MOVE : 71.40474700927734 76.2592544555664
<20:11:09>MOVE : 71.40474700927734 76.2592544555664
<20:11:09>MOVE : 71.40474700927734 76.2592544555664
<20:11:09>MOVE : 71.40474700927734 76.2592544555664
<20:11:09>MOVE : 71.40474700927734 76.2592544555664
<20:11:09>MOVE : 71.40474700927734 76.2592544555664
<20:11:09>MOVE : 71.40474700927734 76.2592544555664
<20:11:09>MOVE : 71.40474700927734 76.2592544555664
<20:11:09>MOVE : 71.40474700927734 76.2592544555664
<20:11:09>MOVE : 71.40474700927734 76.2592544555664
<20:11:09>MOVE : 71.13615417480469 76.2592544555664
<20:11:09>MOVE : 71.13615417480469 76.2592544555664
<20:11:09>MOVE : 69.36661529541016 76.2592544555664
<20:11:09>MOVE : 69.36661529541016 76.2592544555664
<20:11:10>MOVE : 68.2685546875 76.2592544555664
<20:11:10>MOVE : 68.2685546875 76.2592544555664
<20:11:10>MOVE : 68.2685546875 76.2592544555664
<20:11:10>MOVE : 68.2685546875 76.2592544555664
<20:11:10>MOVE : 68.2685546875 76.2592544555664
<20:11:10>MOVE : 68.2685546875 76.2592544555664
<20:11:10>MOVE : 68.2685546875 76.2592544555664
<20:11:10>MOVE : 68.2685546875 76.2592544555664
<20:11:10>MOVE : 68.2685546875 76.2592544555664
<20:11:10>MOVE : 68.2685546875 76.2592544555664
<20:11:10>MOVE : 68.2685546875 76.2592544555664
<20:11:10>MOVE : 68.2685546875 76.2592544555664
<20:11:10>MOVE : 68.2685546875 76.2592544555664
<20:11:10>MOVE : 68.2685546875 76.2592544555664
<20:11:10>MOVE : 68.2685546875 76.2592544555664
<20:11:10>MOVE : 66.62541198730469 76.2592544555664
<20:11:10>MOVE : 66.62541198730469 76.2592544555664
<20:11:10>MOVE : 66.62541198730469 76.2592544555664
<20:11:10>MOVE : 66.62541198730469 76.2592544555664
<20:11:10>MOVE : 66.62541198730469 76.2592544555664
<20:11:10>MOVE : 66.62541198730469 76.2592544555664
<20:11:10>MOVE : 66.62541198730469 76.2592544555664
<20:11:10>MOVE : 66.62541198730469 76.2592544555664
<20:11:10>MOVE : 65.03755950927734 76.2592544555664
<20:11:10>MOVE : 65.03755950927734 76.2592544555664
<20:11:10>MOVE : 65.03755950927734 76.2592544555664
<20:11:10>MOVE : 65.03755950927734 76.2592544555664
<20:11:10>MOVE : 65.03755950927734 76.2592544555664
<20:11:10>MOVE : 65.03755950927734 76.2592544555664
<20:11:10>MOVE : 65.03755950927734 76.2592544555664
<20:11:10>MOVE : 65.03755950927734 76.2592544555664
<20:11:10>MOVE : 65.03755950927734 76.2592544555664
<20:11:10>MOVE : 65.03755950927734 76.2592544555664
<20:11:10>MOVE : 65.03755950927734 76.2592544555664
<20:11:10>MOVE : 65.03755950927734 76.2592544555664
<20:11:10>MOVE : 65.03755950927734 76.2592544555664
<20:11:10>MOVE : 65.03755950927734 76.2592544555664
<20:11:10>MOVE : 65.03755950927734 76.2592544555664
<20:11:10>MOVE : 65.03755950927734 76.2592544555664
<20:11:10>MOVE : 65.03755950927734 76.2592544555664
<20:11:10>MOVE : 65.03755950927734 76.2592544555664
<20:11:10>MOVE : 65.03755950927734 76.2592544555664
<20:11:10>MOVE : 65.03755950927734 76.2592544555664
<20:11:10>MOVE : 65.03755950927734 76.2592544555664
<20:11:10>MOVE : 65.03755950927734 76.2592544555664
<20:11:10>MOVE : 65.03755950927734 76.2592544555664
<20:11:10>MOVE : 62.177860260009766 76.2592544555664
<20:11:10>MOVE : 62.177860260009766 76.2592544555664
<20:11:11>MOVE : 62.177860260009766 76.2592544555664
<20:11:11>MOVE : 62.177860260009766 76.2592544555664
<20:11:11>MOVE : 62.177860260009766 76.2592544555664
<20:11:11>MOVE : 62.177860260009766 76.2592544555664
<20:11:11>MOVE : 62.177860260009766 76.2592544555664
<20:11:11>MOVE : 62.177860260009766 76.2592544555664
<20:11:11>MOVE : 60.97032928466797 76.2592544555664
<20:11:11>MOVE : 60.97032928466797 76.2592544555664
<20:11:11>MOVE : 60.97032928466797 76.2592544555664
<20:11:11>MOVE : 60.97032928466797 76.2592544555664
<20:11:11>MOVE : 60.97032928466797 76.2592544555664
<20:11:11>MOVE : 60.97032928466797 76.2592544555664
<20:11:11>MOVE : 60.97032928466797 76.2592544555664
<20:11:11>MOVE : 60.97032928466797 76.2592544555664
<20:11:11>MOVE : 60.97032928466797 76.2592544555664
<20:11:11>MOVE : 60.97032928466797 76.2592544555664
<20:11:11>MOVE : 60.97032928466797 76.2592544555664
<20:11:11>MOVE : 60.97032928466797 76.2592544555664
<20:11:11>MOVE : 60.97032928466797 76.2592544555664
<20:11:11>MOVE : 60.97032928466797 76.2592544555664
<20:11:11>MOVE : 60.97032928466797 76.2592544555664
<20:11:11>MOVE : 60.97032928466797 76.2592544555664
<20:11:11>MOVE : 57.54184341430664 76.2592544555664
<20:11:11>MOVE : 57.54184341430664 76.2592544555664
<20:11:11>MOVE : 56.97306442260742 76.2592544555664
<20:11:11>MOVE : 56.97306442260742 76.2592544555664
<20:11:11>MOVE : 56.97306442260742 76.2592544555664
<20:11:11>MOVE : 56.97306442260742 76.2592544555664
<20:11:11>MOVE : 56.97306442260742 76.2592544555664
<20:11:11>MOVE : 56.34898376464844 76.2592544555664
<20:11:11>MOVE : 55.74070358276367 76.2592544555664
<20:11:11>MOVE : 55.74070358276367 76.2592544555664
<20:11:11>MOVE : 55.74070358276367 76.2592544555664
<20:11:11>MOVE : 55.74070358276367 76.2592544555664
<20:11:11>MOVE : 55.74070358276367 76.2592544555664
<20:11:11>MOVE : 55.74070358276367 76.2592544555664
<20:11:11>MOVE : 53.85266876220703 76.2592544555664
<20:11:11>MOVE : 53.85266876220703 76.2592544555664
<20:11:12>MOVE : 53.85266876220703 76.2592544555664
<20:11:12>MOVE : 53.85266876220703 76.2592544555664
<20:11:12>MOVE : 53.85266876220703 76.2592544555664
<20:11:12>MOVE : 53.85266876220703 76.2592544555664
<20:11:12>MOVE : 52.58871078491211 76.2592544555664
<20:11:12>MOVE : 52.58871078491211 76.2592544555664
<20:11:12>MOVE : 52.58871078491211 76.2592544555664
<20:11:12>MOVE : 52.58871078491211 76.2592544555664
<20:11:12>MOVE : 52.58871078491211 76.2592544555664
<20:11:12>MOVE : 52.58871078491211 76.2592544555664
<20:11:12>MOVE : 52.58871078491211 76.2592544555664
<20:11:12>MOVE : 52.58871078491211 76.2592544555664
<20:11:12>MOVE : 52.58871078491211 76.2592544555664
<20:11:12>MOVE : 53.11799240112305 76.2592544555664
<20:11:12>MOVE : 53.11799240112305 76.2592544555664
<20:11:12>MOVE : 53.11799240112305 76.2592544555664
<20:11:12>MOVE : 53.11799240112305 76.2592544555664
<20:11:12>MOVE : 53.11799240112305 76.2592544555664
<20:11:12>MOVE : 54.12125778198242 76.2592544555664
<20:11:12>MOVE : 54.12125778198242 76.2592544555664
<20:11:12>MOVE : 54.12125778198242 76.2592544555664
<20:11:12>MOVE : 54.12125778198242 76.2592544555664
<20:11:12>MOVE : 54.12125778198242 76.2592544555664
<20:11:12>MOVE : 54.12125778198242 76.2592544555664
<20:11:12>MOVE : 55.67750549316406 76.2592544555664
<20:11:12>MOVE : 55.67750549316406 76.2592544555664
<20:11:12>MOVE : 55.67750549316406 76.2592544555664
<20:11:12>MOVE : 55.67750549316406 76.2592544555664
<20:11:12>MOVE : 55.67750549316406 76.2592544555664
<20:11:12>MOVE : 55.67750549316406 76.2592544555664
<20:11:12>MOVE : 55.67750549316406 76.2592544555664
<20:11:12>MOVE : 55.67750549316406 76.2592544555664
<20:11:12>MOVE : 55.67750549316406 76.2592544555664
<20:11:12>MOVE : 55.67750549316406 76.2592544555664
<20:11:12>MOVE : 57.09324264526367 76.0916748046875
<20:11:12>MOVE : 57.09324264526367 76.0916748046875
<20:11:13>MOVE : 57.09324264526367 76.0916748046875
<20:11:13>MOVE : 57.09324264526367 76.0916748046875
<20:11:13>MOVE : 57.09324264526367 76.0916748046875
<20:11:13>MOVE : 57.09324264526367 76.0916748046875
<20:11:13>MOVE : 57.09324264526367 76.0916748046875
<20:11:13>MOVE : 57.09324264526367 76.0916748046875
<20:11:13>MOVE : 57.09324264526367 76.0916748046875
<20:11:13>MOVE : 57.09324264526367 76.0916748046875
<20:11:13>MOVE : 57.09324264526367 76.0916748046875
<20:11:13>MOVE : 57.09324264526367 76.0916748046875
<20:11:13>MOVE : 57.09324264526367 76.0916748046875
<20:11:13>MOVE : 57.09324264526367 76.0916748046875
<20:11:13>MOVE : 57.09324264526367 76.0916748046875
<20:11:13>MOVE : 57.09324264526367 76.0916748046875
<20:11:13>MOVE : 57.09324264526367 76.0916748046875
<20:11:13>MOVE : 57.09324264526367 76.0916748046875
<20:11:13>MOVE : 57.09324264526367 76.0916748046875
<20:11:13>MOVE : 57.09324264526367 76.0916748046875
<20:11:13>MOVE : 57.09324264526367 76.0916748046875
<20:11:13>MOVE : 57.09324264526367 76.0916748046875
<20:11:13>MOVE : 57.09324264526367 76.0916748046875
<20:11:13>MOVE : 57.09324264526367 76.0916748046875
<20:11:13>MOVE : 57.09324264526367 76.0916748046875
<20:11:13>MOVE : 57.09324264526367 76.0916748046875
<20:11:13>MOVE : 58.82489013671875 74.36003112792969
<20:11:13>MOVE : 58.82489013671875 74.36003112792969
<20:11:13>MOVE : 58.82489013671875 74.36003112792969
<20:11:13>MOVE : 58.82489013671875 74.36003112792969
<20:11:13>MOVE : 58.82489013671875 74.36003112792969
<20:11:13>MOVE : 58.82489013671875 74.36003112792969
<20:11:13>MOVE : 58.82489013671875 74.36003112792969
<20:11:13>MOVE : 58.82489013671875 74.36003112792969
<20:11:13>MOVE : 58.82489013671875 74.36003112792969
<20:11:13>MOVE : 58.82489013671875 74.36003112792969
<20:11:13>MOVE : 58.82489013671875 74.36003112792969
<20:11:13>MOVE : 58.82489013671875 74.36003112792969
<20:11:13>MOVE : 58.82489013671875 74.36003112792969
<20:11:13>MOVE : 58.82489013671875 74.36003112792969
<20:11:13>MOVE : 58.82489013671875 74.36003112792969
<20:11:13>MOVE : 58.82489013671875 74.36003112792969
<20:11:13>MOVE : 58.82489013671875 74.36003112792969
<20:11:13>MOVE : 58.82489013671875 74.36003112792969
<20:11:13>MOVE : 58.82489013671875 74.36003112792969
<20:11:13>MOVE : 58.82489013671875 74.36003112792969
<20:11:13>MOVE : 58.82489013671875 74.36003112792969
<20:11:13>MOVE : 58.82489013671875 74.36003112792969
<20:11:13>MOVE : 58.82489013671875 74.36003112792969
<20:11:13>MOVE : 59.802433013916016 73.38248443603516
<20:11:13>MOVE : 59.802433013916016 73.38248443603516
<20:11:13>MOVE : 59.802433013916016 73.38248443603516
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 72.28988647460938
<20:11:13>MOVE : 60.6738395690918 70.39395141601562
<20:11:13>MOVE : 60.6738395690918 70.39395141601562
<20:11:13>MOVE : 60.6738395690918 70.39395141601562
<20:11:13>MOVE : 60.6738395690918 70.39395141601562
<20:11:13>MOVE : 60.6738395690918 70.39395141601562
<20:11:13>MOVE : 60.6738395690918 70.39395141601562
<20:11:13>MOVE : 60.6738395690918 70.39395141601562
<20:11:14>MOVE : 60.6738395690918 68.82980346679688
<20:11:14>MOVE : 60.6738395690918 68.82980346679688
<20:11:14>MOVE : 60.6738395690918 68.08722686767578
<20:11:14>MOVE : 60.6738395690918 68.08722686767578
<20:11:14>MOVE : 60.6738395690918 68.08722686767578
<20:11:14>MOVE : 60.6738395690918 68.08722686767578
<20:11:14>MOVE : 60.6738395690918 68.08722686767578
<20:11:14>MOVE : 60.6738395690918 68.08722686767578
<20:11:14>MOVE : 60.6738395690918 68.08722686767578
<20:11:14>MOVE : 60.6738395690918 68.08722686767578
<20:11:14>MOVE : 60.6738395690918 68.08722686767578
<20:11:14>MOVE : 60.6738395690918 68.08722686767578
<20:11:14>MOVE : 60.6738395690918 66.44408416748047
<20:11:14>MOVE : 60.6738395690918 66.44408416748047
<20:11:14>MOVE : 60.6738395690918 66.44408416748047
<20:11:14>MOVE : 60.6738395690918 66.44408416748047
<20:11:14>MOVE : 60.6738395690918 66.44408416748047
<20:11:14>MOVE : 60.6738395690918 66.44408416748047
<20:11:14>MOVE : 60.6738395690918 66.44408416748047
<20:11:14>MOVE : 60.6738395690918 66.44408416748047
<20:11:14>MOVE : 60.6738395690918 64.84043884277344
<20:11:14>MOVE : 60.6738395690918 64.84043884277344
<20:11:14>MOVE : 60.6738395690918 64.84043884277344
<20:11:14>MOVE : 60.6738395690918 64.84043884277344
<20:11:14>MOVE : 60.6738395690918 64.84043884277344
<20:11:14>MOVE : 60.6738395690918 64.84043884277344
<20:11:14>MOVE : 60.6738395690918 64.84043884277344
<20:11:14>MOVE : 60.6738395690918 64.84043884277344
<20:11:14>MOVE : 60.6738395690918 64.84043884277344
<20:11:14>MOVE : 60.6738395690918 63.6159782409668
<20:11:14>MOVE : 60.6738395690918 63.6159782409668
<20:11:14>MOVE : 60.6738395690918 63.6159782409668
<20:11:14>MOVE : 60.6738395690918 63.6159782409668
<20:11:14>MOVE : 60.6738395690918 63.6159782409668
<20:11:14>MOVE : 60.94914627075195 62.635337829589844
<20:11:14>MOVE : 60.94914627075195 62.635337829589844
<20:11:14>MOVE : 60.94914627075195 62.635337829589844
<20:11:14>MOVE : 60.94914627075195 62.635337829589844
<20:11:15>MOVE : 60.94914627075195 62.635337829589844
<20:11:15>MOVE : 60.94914627075195 62.635337829589844
<20:11:15>MOVE : 60.94914627075195 62.635337829589844
<20:11:15>MOVE : 60.94914627075195 62.635337829589844
<20:11:15>MOVE : 61.87987518310547 62.04881286621094
<20:11:15>MOVE : 61.87987518310547 62.04881286621094
<20:11:15>MOVE : 61.87987518310547 62.04881286621094
<20:11:15>MOVE : 61.87987518310547 62.04881286621094
<20:11:15>MOVE : 61.87987518310547 62.04881286621094
<20:11:15>MOVE : 61.87987518310547 62.04881286621094
<20:11:15>MOVE : 62.834808349609375 62.2363395690918
<20:11:15>MOVE : 62.834808349609375 62.2363395690918
<20:11:15>MOVE : 62.834808349609375 62.2363395690918
<20:11:15>MOVE : 62.834808349609375 62.2363395690918
<20:11:15>MOVE : 62.834808349609375 62.2363395690918
<20:11:15>MOVE : 62.834808349609375 62.2363395690918
<20:11:15>MOVE : 62.834808349609375 62.2363395690918
<20:11:15>MOVE : 62.834808349609375 62.2363395690918
<20:11:15>MOVE : 62.834808349609375 62.2363395690918
<20:11:15>MOVE : 62.834808349609375 62.2363395690918
<20:11:15>MOVE : 62.834808349609375 62.2363395690918
<20:11:15>MOVE : 63.28168487548828 63.444976806640625
<20:11:15>MOVE : 63.28168487548828 63.444976806640625
<20:11:15>MOVE : 63.28168487548828 63.444976806640625
<20:11:15>MOVE : 63.28168487548828 63.444976806640625
<20:11:15>MOVE : 63.28168487548828 63.444976806640625
<20:11:15>MOVE : 63.28168487548828 63.444976806640625
<20:11:15>MOVE : 63.28168487548828 63.444976806640625
<20:11:15>MOVE : 63.28168487548828 63.444976806640625
<20:11:15>MOVE : 63.28168487548828 63.444976806640625
<20:11:15>MOVE : 63.28168487548828 63.444976806640625

Wow.

So if you want to move, how the heck do you calculate what rate to send these packets without disconnect?

 
this certainly doesn't work

Code:
var ID_MOVE = $.findPacketId("MOVE");

var position = -1;

function onClientPacket(event)
{
    var packet = event.getPacket();

    if (packet.id() == ID_MOVE)
		position = packet.newPosition;
		position.x -= 0.001;
		position.y -= 0.001;
        $.echo("MOVE : " + position.x + " " + position.y);
		packet.newPosition = position;
		
}


Output looks like its just jittering around every second or so, going down and then jumping back up and never actually moving the character.
i think someone on this forum said not to touch the move packets (if you want to use it to move the character), it wont work, i dont remember more.
maybe search the forum for MOVE.
Quote Originally Posted by infern000 View Post
i think someone on this forum said not to touch the move packets (if you want to use it to move the character), it wont work, i dont remember more.
maybe search the forum for MOVE.
Here's the thread http://www.mpgh.net/forum/showthread.php?t=767167
Well there goes that idea.
Time to teach myself actionscript
Quote Originally Posted by codelion View Post
Well there goes that idea.
Time to teach myself actionscript
What are you trying to make, a clientless bot?
Posts 110 of 10 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?