End bytes at Npc spawn packets.

09/24/2011 23:10 sarkoplata#1
Theese are normal npc's at samarkand
Some of them ends with 4bytes , some of them end with 6byte
i could not find out why is it :(
Hope you can find out , here are pics

[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
09/24/2011 23:39 DaxterSoul#2
00 00 00 00 - WalkSpeed
00 00 00 00 - RunSpeed
00 00 C8 42 - ZerkSpeed
00 - QuestCount?
00 - NPC Options

This is the default scenario if the NPC has no options.
You have to figure out who this NPC options are build.
They are used too when you are opening an NPC Window
09/25/2011 00:47 sarkoplata#3
Quote:
Originally Posted by DaxterSoul View Post
00 00 00 00 - WalkSpeed
00 00 00 00 - RunSpeed
00 00 C8 42 - ZerkSpeed
00 - QuestCount?
00 - NPC Options

This is the default scenario if the NPC has no options.
You have to figure out who this NPC options are build.
They are used too when you are opening an NPC Window
i know about the speeds.
They must be something different because its just a spawn packet, not the select response or opening npc.

And btw to open a NPC window you require object id of the NPC.
09/25/2011 14:01 lesderid#4
Type of quest, maybe? Quest available, quest done, etc.
09/25/2011 19:11 Yo123#5
flaaaaaaags
09/27/2011 16:24 sarkoplata#6
Quote:
Originally Posted by Yo123 View Post
flaaaaaaags
Yea , but to solve out what flag exatly means , its seriously sometimes hard :rtfm: :rtfm:
I got such solution for now :
Code:
   
                            bn.ReadSingle() ' Float Walk Speed
                            bn.ReadSingle() ' Float Run Speed 
                            bn.ReadSingle() ' Float Berserk Speed

                            bn.ReadByte()
                            bn.ReadByte()

                            Dim num As Byte = bn.ReadByte
                            bn.ReadBytes(num - 1)

                            bn.ReadByte()
09/27/2011 16:27 Schickl#7
Maybe you should just try a lil harder
open a NPC look at the packet then go ingame and take a look at the options you can choose from.
write them down in a table or something
then go to another npc do it again
then the next npc etc....
I'm pretty sure that you can find it out that way

it just needs a lil effort