Can anyone help about NPC direction ???

08/25/2019 06:22 Uncover your heart#1
[Only registered and activated users can see links. Click Here To Register...]

I did my char other direction ! But i dont know when i add NPC it is like this !
And it doesnt show NPC's name .
Can anyone tell me why and how to fix it .
Thanks .
08/25/2019 14:09 ZαKuRα#2
[Only registered and activated users can see links. Click Here To Register...]
08/25/2019 16:26 Uncover your heart#3
Thanks so much
08/25/2019 21:12 JellyBitz#4
I'm handling it as ushort to sync easily angles values, not sure how it's handled by database but through packets it looks like this:

0/65535 > 0/360°
32767 > 180°
16383 > 90°

Ex.:
As ushort : 48971 > 269°
Or taken as short would be : (32767-48971) = -16204
More confusion but if it's required, there is.

About the name, you should check his SN_ characterdata reference, I think there is no other place to the client for taking the name..
08/26/2019 00:54 Uncover your heart#5
Quote:
Originally Posted by JellyBitz View Post
I'm handling it as ushort to sync easily angles values, not sure how it's handled by database but through packets it looks like this:

0/65535 > 0/360°
32767 > 180°
16383 > 90°

Ex.:
As ushort : 48971 > 269°
Or taken as short would be : (32767-48971) = -16204
More confusion but if it's required, there is.

About the name, you should check his SN_ characterdata reference, I think there is no other place to the client for taking the name..
Thanks ! I got the NPC's name .
But i cant find where can i change direction for NPC ! Could u explain it ?
Many thanks .
08/26/2019 02:06 JellyBitz#6
I'm a simple man, I have a question I press search button.
[Only registered and activated users can see links. Click Here To Register...]

Then it's handled as short by database, good to know..
08/26/2019 03:16 Uncover your heart#7
Anyway thank u so much :D