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)

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #34  
Old 01-12-2009, 10:04 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

If SEQ is showing the full packet, then you might be right. It seems more like they have each field broken down into int8,int16,int32,char,str, etc. Here is an example from SEQ from live:

Code:
30032 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................ 
30048 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01  | ................ 
30064 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01  | ................ 
30080 | 00 00 00 00 00 00 00 25 53 4c 01 00 00 00 00 00  | .......%SL...... 
30096 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................ 
30112 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 49  | ...............I 
30128 | 6e 74 72 69 63 61 74 65 20 57 6f 6f 64 65 6e 20  | ntricate Wooden  
30144 | 46 69 67 75 72 69 6e 65 00 49 6d 62 75 65 64 20  | Figurine.Imbued  
30160 | 77 69 74 68 20 61 6e 20 61 64 76 65 6e 74 75 72  | with an adventur 
30176 | 65 72 27 73 20 73 70 69 72 69 74 00 49 54 36 33  | er's spirit.IT63 
30192 | 00 bb 88 00 00 01 01 00 00 00 01 00 00 00 00 00  | ................ 
30208 | 00 00 7f 03 00 00 01 00 00 00 00 00 00 0a 0a 0a  | ................ 
30224 | 0a 0a 00 0f 0f 00 0a 00 00 0a 5a 00 00 00 50 00  | ..........Z...P. 
30240 | 00 00 00 00 00 00 14 00 00 00 00 00 00 00 00 00  | ................ 
30256 | 00 00 00 00 00 00 04 00 00 00 ff ff 00 00 00 00  | ................ 
30272 | 00 00 00 00 00 00 00 00 00 00 ff ff ff ff 00 00  | ................ 
30288 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00  | ................ 
30304 | 00 00 00 33 00 00 00 00 00 00 00 00 00 00 00 00  | ...3............ 
30320 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................ 
30336 | 00 00 00 ff 0a 00 00 00 00 00 00 00 00 00 00 00  | ................ 
30352 | 00 00 00 80 3f 00 00 00 00 00 00 00 00 00 00 00  | ....?........... 
30368 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................ 
30384 | 00 00 00 00 00 00 00 00 00 b9 88 00 00 00 00 00  | ................ 
30400 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................ 
30416 | 00 00 00 00 00 00 00 00 00 00 00 00 00 43 48 52  | .............CHR 
30432 | 4d 50 6f 50 41 63 63 65 73 73 00 00 00 00 00 00  | MPoPAccess...... 
30448 | 00 00 00 07 00 00 00 01 00 00 00 00 00 01 00 00  | ................ 
30464 | 00 00 00 01 00 00 00 00 00 01 00 00 00 00 00 01  | ................ 
30480 | 00 00 00 00 00 00 00 00 00 00 00 00 00 46 00 00  | .............F.. 
30496 | 00 00 00 00 00 00 00 00 00 00 00 00 ff ff ff ff  | ................ 
30512 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................ 
30528 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff  | ................ 
30544 | ff ff ff 00 00 00 00 00 00 00 00 00 00 00 01 00  | ................ 
30560 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................ 
30576 | 00 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00  | ................ 
30592 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................ 
30608 | 00 00 00 00 00 00 00 ff ff ff ff ff ff ff ff 00  | ................ 
30624 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................ 
30640 | 00 00 00 00 00 00 00 00 00 00 ff ff ff ff ff ff  | ................ 
30656 | ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................ 
30672 | 00 00 00 00 00 00 00 00 00 00 00 00 00 ff ff ff  | ................ 
30688 | ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00  | ................ 
30704 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................ 
30720 | ff ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00  | ................ 
30736 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................ 
30752 | 00 00 00 ff ff ff ff 00 00 00 00 00 00 00 00 00  | ................ 
30768 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................ 
30784 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................ 
30800 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................ 
30816 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................ 
30832 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................ 
30848 | 00 00 00 00 00 01 00 00 00 00 00 00 00 d0 07 00  | ................ 
30864 | 00 00 00 00 00 01 00 00 00 00 00 00 00 4e 53 4c  | .............NSL 
30880 | 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................ 
30896 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ................ 
30912 | 00 00 00 00 01 54 72 61 64 65 72 27 73 20 53 61  | .....Trader's Sa 
30928 | 74 63 68 65 6c 00 54 72 61 64 65 72 27 73 20 53  | tchel.Trader's S 
30944 | 61 74 63 68 65 6c 00 49 54 36 33 00 eb 45 00 00  | atchel.IT63..E..
The section highlighted in green is what I believe to be a single complete item. I was able to break down some of the serialization of the item and it is pretty similar to the order I already have set for SoF. As far as I could tell, it matched perfectly, at least for EQLive.

I was thinking the same thing about the number being the serialization. I'm not sure where equip slot is sent, because I don't see it in the serialization.

Here is some of the serialization breakdown I was doing, which was some guesswork and some simple hex converting and comparing to the itemfields list as well as looking at the 13th floor info for this item:

Code:
1|0|0|0|1|0|21779237|0|0|0|0|0|0|0|0|0|<----Item Instance
Intricate Wooden Figurine|Imbued with an Adventurer's Spirit|IT63|1|1|0|0|0|1|0|0|0|0|0|0|0|127|3|0|0|1|0|0|0|0|0|0
|10|10|10|10|10|0|15|15|0|10|0|0|10|90|0|0|0|80|0x7|20|0x15|4|0|0|0|255|255|0x14
|255|255|255|255|0x16|1|0|0|0|0|51|0x31|128|63|0x36|185|136|0x34|CHRMPoPAccess|0x9|7|0|0|0|1
Item Instance Info:
Code:
01 00 00 00 
00 00 00 00 
00 00 00 00 
00 00 00 00 
01 00 00 00 
00 00 00 00 
25 53 4c 01 
00 00 00 00 
00 00 00 00 
00 00 00 00 
00 00 00 00 
00 00 00 00 
00 00 00 00 
00 00 00 00 
00 00 00 00 
00 00 00 00

Item Fields breakdown:
Code:
S(Name) 49 6e 74 72 69 63 61 74 65 20 57 6f 6f 64 65 6e 20 46 69 67 75 72 69 6e 65
00
S(Lore) 49 6d 62 75 65 64 20 77 69 74 68 20 61 6e 20 61 64 76 65 6e 74 75 72 65 72 27 73 20 73 70 69 72 69 74
00
S(IDFile) 49 54 36 33
00
I(ID) bb 88 00 00 - 35003
I(Weight) 01
I(NoRent) 01
I(NoDrop) 00
I(Size) 00
I(Slots) 00 
I(Price) 01 00 00 00 00 00 00 00
I(Icon) 7f 03 00 00 - 895 (idol)
C("0")//UNK013 01
C("0")//UNK014 00
I(BenefitFlag) 00
I(Tradeskills) 00 00 00 00
I(CR) 0a - 10
I(DR) 0a - 10
I(PR) 0a - 10
I(MR) 0a - 10
I(FR) 0a - 10
I(SVCORR) 00
I(AStr) 0f - 15
I(ASta) 0f - 15
I(AAgi) 00
I(ADex) 0a - 10
I(ACha) 00
I(AInt) 00
I(AWis) 0a - 10
I(HP) 5a 00 00 00 - 90
I(Mana) 50 00 00 00 - 80
I(Endur) 00 00 00 00 - 0
I(AC) 14 00 00 00 - 20
? 00 00 00 00
? 00 00 00 00
? 00 00 00 00
I(Classes) 04 00 00 00 - 4 (paladin only)
I(Races) ff ff 00 00
I(Deity) 00 00 00 00
I(SkillModValue) 00 00 00 00
C("0")//UNK038 00 00 00 00
I(SkillModType) ff ff ff ff
I(BaneDmgRace) 00 00 00 00
I(BaneDmgBody) 00 00 00 00
I(BaneDmgRaceAmt) 00 00 00 00
I(BaneDmgAmt) 00 00 00 00
I(Magic) 01
I(CastTime_) 00 00 00 00
I(ReqLevel) 33 00 00 00 - 51
I(RecLevel) 00 00 00 00
I(RecSkill) 00 00 00 00
I(BardType) 00 00 00 00
So, it looks like strings are separated by 0s and the rest is just defined sizes.

Note: If you scroll up and down on the code box with the green hex code in it above, it looks kinda like the Matrix screen, LOL
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!

Last edited by trevius; 01-13-2009 at 01:53 AM..
Reply With Quote
 


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 05:13 AM.


 

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