Here are the packages read from the reserved memory:
Packet1:
0000853397C386756AC421E76343853397C386756AC421E763 43E8030105610A00
Packet2:
0000853397C386756AC421E76843853397C386756AC421E768 43E8030105610B00
Packet3:
0000853397C386756AC421E76D43853397C386756AC421E76D 43E8030105610C00
Packet4:
0700853397C386756AC421E77243010500610D00E803
The character position was read using nomadmemory.au3 and _MemoryRead($pchar + $oposx, $pid, 'float') into a variable. The startposition converted to hex is:
Char position converted to hex:
x: FFFFFED2, y: FFFFFC57, z: 000000DE
As floats:
x: -302.402496337891, y: -937.836303710938, z: 222.902847290039
Char position as floats modified with 4000 and 5500 and divided with 10 it's:369.759750366211, 456.216369628906, 22.2902847290039
The coordinates was writen to the package as a float, maybe that's why they differ from the variables
I read the coordinates with this:
Dim $oposx = 0x3c, $oposy = 0x44, $oposz = 0x40
$charInfo[$IX] = _MemoryRead($pchar + $oposx, $pid, 'float')
$charInfo[$IY] = _MemoryRead($pchar + $oposy, $pid, 'float')
$charInfo[$IZ] = _MemoryRead($pchar + $oposz, $pid, 'float')
I'm not sure if what I think is Y is really Y but maybe it's z instead. I might put the wrong coordinate in the wrong position in the package, making the server to ignore the message.
Could I use an actionstructure and do a move instead of sending packages as long as I only move as much as the speed allows? If so is it move type 0? I would perhaps need to find what different values there are for different moves like regular, fly, swimming.
Edit: I found this promising post: [Only registered and activated users can see links. Click Here To Register...]
and it with the check on height it initialises some more for flying up or down. By using that would I still need to create several actions to reach the destination regarding to the flyspeed?
Packet1:
0000853397C386756AC421E76343853397C386756AC421E763 43E8030105610A00
Packet2:
0000853397C386756AC421E76843853397C386756AC421E768 43E8030105610B00
Packet3:
0000853397C386756AC421E76D43853397C386756AC421E76D 43E8030105610C00
Packet4:
0700853397C386756AC421E77243010500610D00E803
The character position was read using nomadmemory.au3 and _MemoryRead($pchar + $oposx, $pid, 'float') into a variable. The startposition converted to hex is:
Char position converted to hex:
x: FFFFFED2, y: FFFFFC57, z: 000000DE
As floats:
x: -302.402496337891, y: -937.836303710938, z: 222.902847290039
Char position as floats modified with 4000 and 5500 and divided with 10 it's:369.759750366211, 456.216369628906, 22.2902847290039
The coordinates was writen to the package as a float, maybe that's why they differ from the variables
I read the coordinates with this:
Dim $oposx = 0x3c, $oposy = 0x44, $oposz = 0x40
$charInfo[$IX] = _MemoryRead($pchar + $oposx, $pid, 'float')
$charInfo[$IY] = _MemoryRead($pchar + $oposy, $pid, 'float')
$charInfo[$IZ] = _MemoryRead($pchar + $oposz, $pid, 'float')
I'm not sure if what I think is Y is really Y but maybe it's z instead. I might put the wrong coordinate in the wrong position in the package, making the server to ignore the message.
Could I use an actionstructure and do a move instead of sending packages as long as I only move as much as the speed allows? If so is it move type 0? I would perhaps need to find what different values there are for different moves like regular, fly, swimming.
Edit: I found this promising post: [Only registered and activated users can see links. Click Here To Register...]
and it with the check on height it initialises some more for flying up or down. By using that would I still need to create several actions to reach the destination regarding to the flyspeed?