SRO Z Data

09/26/2014 19:06 tarek1500#1
What is Z data that received from moving packet , It is Z Dimension or Angle or what?
09/26/2014 19:21 DaxterSoul#2
Yes, its the "Z-Dimension"
Angle is the direction your character is facing.

Code:
            4   ushort  RegionID (=> XSec; YSec)
            4   float   XOffset
            4   float   ZOffset
            4   float   YOffset
            1   byte    DestinationFlag
            1   byte    MovementType(0 = Walking, 1 = Running)
            if(DestinationFlag)
            {
                1   byte    DestXSec
                1   byte    DestYSec
                2   ushort  DestX
                2   ushort  DestZ
                2   ushort  DestY
            }
            else
            {
                1   byte    DirectionWalk (0 = SpinOnPoint, 1 = Sky-/ArrowKey-walking)
                2   ushort  Angle
            }
[Only registered and activated users can see links. Click Here To Register...]
09/27/2014 00:32 magicanoo#3
I think that you don't need to calculate Z-dimension as it's assigned automatically when moving. X and Y are enough.
09/27/2014 14:14 tarek1500#4
Thanks all , I know it is useless for me but want to know what is it.
09/27/2014 14:15 tahuis#5
Added you to Skype.
09/27/2014 15:01 tarek1500#6
Me? why?
09/27/2014 16:46 amra85#7
navdata and dungeons .dof files contains Z data. Pretty useless indeed. Could be useful if you want your bot or somethin to properly use china teleport(ghost walk). In this case you have to send valid Z along with other coordinates
09/27/2014 22:28 tarek1500#8
ok thanks