Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 04-15-2012, 04:25 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Quote:
Originally Posted by provocating View Post
Code:
[OPCode: 0x4b61] OP_ZoneEntry [Server->Client] [Size: 355]
000 | 4d 65 72 61 62 6f 5f 53 6f 74 61 74 68 30 30 30  | Merabo_Sotath000
016 | 00 93 01 00 00  3c 33 33 53 40 01 00 00 00 1d 00  | .....<33S@......
032 | 00 00 80 bf 00 00 00 00 00 00 80 40 00 00 00 20  | ...........@... 
048 | 3f 00 00 a0 3f 08 00 00 00 01 01 00 00 00 64 00  | ?...?.........d.
064 | 00 00 00 00 ff 00 00 00 00 00 00 00 00 00 00 00  | ................
080 | 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 29 00  | ..............).
096 | 64 00 03 15 00 00 00 42 72 65 77 69 6e 67 20 53  | d......Brewing S
112 | 75 70 70 6c 69 65 73 00 00 00 00 00 00 00 00 00  | upplies.........
128 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
144 | 00 00 ff ff ff ff ff ff ff ff 00 00 00 00 00 00  | ................
160 | 00 00 38 03 00 00 00 00 96 00 16 fc 07 00 00 00  | ..8.............
176 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
192 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
208 | 00 00 ff 00 00 00 00 00 00 00 00 00 00 00 15 00  | ................
224 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
240 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
256 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
272 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
288 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
304 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
320 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
336 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................
352 | 00 00 00                                         |
Yes, that is correct.
Reply With Quote
  #2  
Old 04-15-2012, 04:25 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

I see the 01 93 in the packet when he was picked up during zone in. I am guessing this in no way reflects his ID of 202081 - Merabo_Sotath (Brewing Supplies). Sorry I am trying to wrap my head around all of this.
Reply With Quote
  #3  
Old 04-15-2012, 04:34 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

202081 is just his id in the PEQ npc_types table, which is never sent to the client and has no meaning to it.

0x0193 is the entity_id.

Entity_ids are assigned sequentially, starting from 1, to each NPC that is spawned in a zone, so the first NPC to be spawned gets EntityID 1, the next one gets 2, etc, etc. These are what are sent in the OP_ZoneEntry and various other packets and are what tie things together in the packets.

The EntityID an NPC get assigned could change depending on the order things get spawned, so you need to look at the OP_ZoneEntry packet in the particular collect your are looking at to see what it has been assgined.

The EntityID of an NPC is the 32 bit value following the null terminated name string at the start of the OP_ZoneEntry packet.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 09:27 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3