Same here but worse, I don't know about anything much, I just follow pattern sometimes.
About the flyup using packet it's because my function only move to x,y, and z too, but it stops if x and y already reached, and I read about flying to certain altitude [Only registered and activated users can see links. Click Here To Register...] and Interest07 wrote "Flying until a certain altitude is 'moving by packets'" so I thought that's how it's done.
Here is the function I use to Move, there is Z (Z coordinate) and there is H ( Height), I remember Interest07 said the move action using HEIGHT is like moving using alt + click in world map.
It stops after X and Y is reached and doesn't care about the HEIGHT, sure it will go up but only if the character hasn't reached X and Y.
I've tried what you suggested "writeMemory(moveType, MoveAction + 0x2C)" with moveType=1 (the part I separate with a few lines in my function above), but it still won't move up.
If you observe the movement packets, it should fit with Interest07's post about sending movement packet
About the flyup using packet it's because my function only move to x,y, and z too, but it stops if x and y already reached, and I read about flying to certain altitude [Only registered and activated users can see links. Click Here To Register...] and Interest07 wrote "Flying until a certain altitude is 'moving by packets'" so I thought that's how it's done.
Here is the function I use to Move, there is Z (Z coordinate) and there is H ( Height), I remember Interest07 said the move action using HEIGHT is like moving using alt + click in world map.
It stops after X and Y is reached and doesn't care about the HEIGHT, sure it will go up but only if the character hasn't reached X and Y.
Code:
func movexyz() $moveactionplus[5]=0x8 _MEMORYPOINTERWRITE($APPBASEADDRESS, $mid2, $moveactionplus,0) $moveactionplus[5]=0x14 _MEMORYPOINTERWRITE($APPBASEADDRESS, $mid2, $moveactionplus,1) $moveactionplus[5]=0x20 _MEMORYPOINTERWRITE($APPBASEADDRESS, $mid2, $moveactionplus,$xx,"float") $moveactionplus[5]=0x28 _MEMORYPOINTERWRITE($APPBASEADDRESS, $mid2, $moveactionplus,$yy,"float") $moveactionplus[5]=0x24 _MEMORYPOINTERWRITE($APPBASEADDRESS, $mid2, $moveactionplus,$z,"float") $moveactionplus[5]=0x68 _MEMORYPOINTERWRITE($APPBASEADDRESS, $mid2, $moveactionplus,$hh,"float") $movetoh = _MEMORYPOINTERREAD($APPBASEADDRESS, $mid2, $moveactionplus,"float") if $movetoh[1]>=0.0 then $moveactionplus[5]=0x64 _MEMORYPOINTERWRITE($APPBASEADDRESS, $mid2, $moveactionplus,26625) $moveactionplus[5]=0x6c _MEMORYPOINTERWRITE($APPBASEADDRESS, $mid2, $moveactionplus,256) else $moveactionplus[5]=0x64 _MEMORYPOINTERWRITE($APPBASEADDRESS, $mid2, $moveactionplus,26624) $moveactionplus[5]=0x6c _MEMORYPOINTERWRITE($APPBASEADDRESS, $mid2, $moveactionplus,65536) EndIf ;$moveactionplus[5]=0x2c ;_MEMORYPOINTERWRITE($APPBASEADDRESS, $mid2, $moveactionplus,0) $moveactionplus[5]=0x2c _MEMORYPOINTERWRITE($APPBASEADDRESS, $mid2, $moveactionplus,1) $moveactionvalue=_memorypointerread($APPBASEADDRESS, $mid2, $moveaction) $actionstructplus[3]=0xc ;actionstruct _MEMORYPOINTERWRITE($APPBASEADDRESS, $mid2, $actionstructplus,$moveactionvalue[1]) $actionstructplus[3]=0x18 ;actionstruct _MEMORYPOINTERWRITE($APPBASEADDRESS, $mid2, $actionstructplus,1) $moveactionvalue=_memorypointerread($APPBASEADDRESS, $mid2, $moveaction) $actionstructplus[3]=0x14 ;actionstruct _MEMORYPOINTERWRITE($APPBASEADDRESS, $mid2, $actionstructplus,$moveactionvalue[1]) endfunc
If you observe the movement packets, it should fit with Interest07's post about sending movement packet
Quote:
...
0000<X><Y><Z><X><Y><Z><interval><speed><moveType>< counter>
500 ms later
0000<X><Y><Z><X><Y><Z><interval><speed><moveType>< counter>
500 ms later
0000<X><Y><Z><X><Y><Z><interval><speed><moveType>< counter>
500 ms later
0700<X><Y><Z><speed><direction><moveType><counter> <interval>
id = 0000 this is the id for a moving packet
...
now I know what that means :DQuote:
THese are by far the most annoying packets to send. Usually you'll prefer using the action struct for moving. It can however be good to know it's possible in certain situations.