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 01-11-2009, 10:34 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

KLS, do you currently own an active (paid) EQLive account? As I said earlier, you can patch only up to a certain point if you don't own a currently active EQLive account. You have to log in to patch all of the file, and the only 2 options are having a paid account, or one of the free trial accounts. If you tried with a trial account, then you aren't running the same version as EQLive.

I will see what happens if I try swapping out an older eqmain.dll with the EQLive one. I would think it would have some errors if I do, but no harm in trying.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #2  
Old 01-11-2009, 11:09 PM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

I have a live eq and eq2 acct. I know right? I'm thinking maybe it didn't fully patch for some reason (I didn't actually try to log into live after patching). It changed my eqhosts.txt so I'm guessing it patched the right directory.

Well there were patch files waiting so I'm guessing that's what happened. =(

Last edited by KLS; 01-12-2009 at 07:13 AM..
Reply With Quote
  #3  
Old 01-11-2009, 11:16 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Ahh yeah, I think if you haven't patched before, it usually needs to exit and restart the patching again to get everything fully up-to-date. Thanks for the info though. At least I know I am not crazy now lol.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #4  
Old 01-12-2009, 05:55 AM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

Well I wouldn't say we could come to that conclusion... =p
Reply With Quote
  #5  
Old 01-12-2009, 09:00 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Well, it isn't much, but I did make a little progress on getting into SoF tonight. I found that I had the wrong opcode for zonespawns that I thought was correct, but wasn't.

Here is the new stuff in the SoF EQ Debug output:

Code:
[Mon Jan 12 06:06:09 2009]00129:Initializing character select UI.
[Mon Jan 12 06:06:09 2009]00130:Resetting game UI.
[Mon Jan 12 06:06:31 2009]00131:Zone Connect -- 0 -- Received MSG_ZONE_ADDRESS
[Mon Jan 12 06:06:31 2009]00132:Zone addr [192.168.1.102:19741] received...
[Mon Jan 12 06:06:31 2009]00133:ZONING
[Mon Jan 12 06:06:32 2009]00134:Networking: Connection Closed [0] with 0 pending bytes.
[Mon Jan 12 06:06:32 2009]00135:Networking: using port [3764].
[Mon Jan 12 06:06:32 2009]00136:Networking: Connection Established [1]
[Mon Jan 12 06:06:32 2009]00137:Connected to 192.168.1.102:19741...

[Mon Jan 12 06:06:32 2009]00138:Zone Connect -- 2 -- Sending MSG_EQ_ADDPLAYER
[Mon Jan 12 06:06:34 2009]00139:Zone Connect -- 3 -- Received MSG_SEND_PC
[Mon Jan 12 06:06:34 2009]00140:Zone Connect -- 4 -- Received MSG_EQ_ADDPLAYER
[Mon Jan 12 06:06:34 2009]00141:Received our Player from zone. MSG_EQ_NETPLAYERBUFF is next.
[Mon Jan 12 06:06:34 2009]00142:Player = Zshadow, zone = The Nexus
[Mon Jan 12 06:06:34 2009]00143:MSG_EQ_NETPLAYERBUFF received started.
[Mon Jan 12 06:06:34 2009]00144:MSG_EQ_NETPLAYERBUFF finished.
[Mon Jan 12 06:06:34 2009]00145:MSG_TIME_STAMP received.

[Mon Jan 12 06:06:34 2009]00146:MSG_TIME_STAMP received. (Items inc).

[Mon Jan 12 06:06:35 2009]00147:Received an item via EQI_STARTING_ITEM at loc 2083552304
Since I was looking into Item Serialization more again today after seeing a post from Derision in another thread, I started working on it a bit more again. I think I have the serialization stuff mostly worked out. If only I had a single log from someone logging in during SoF (preferable 9/7/07 to 11/13/07), I could get everything working pretty easily at this point I think.

The thing I can't figure out with item serialization is that it seems to be sending the wrong structure for OP_CharacterInventory. I don't even see a structure for it in the structs file. I assume it is all being handled in the anniversary.cpp encode stuff. In the log above, this is the only 1 of my characters that will even log 1 item before it crashes. The others all just fail before getting to the first one. So, I assume it is something about that particular item that is letting it get that far. I don't know what the number 2083552304 means, but that number is supposed to be the inventory slot the item is in according to normal log files. Here is an example from titanium:

Code:
2009-01-12 03:16:32	Zone Connect -- 0 -- Received MSG_ZONE_ADDRESS
2009-01-12 03:16:32	Zone addr [192.168.1.102:19741] received...
2009-01-12 03:16:32	ZONING
2009-01-12 03:16:32	Networking: Connection Closed [0] with 0 pending bytes.
2009-01-12 03:16:33	Networking: using port [3155].
2009-01-12 03:16:33	Networking: Connection Established [1]
2009-01-12 03:16:33	Connected to 192.168.1.102:19741...
2009-01-12 03:16:33	
2009-01-12 03:16:33	Zone Connect -- 2 -- Sending MSG_EQ_ADDPLAYER
2009-01-12 03:16:35	Zone Connect -- 3 -- Received MSG_SEND_PC
2009-01-12 03:16:35	Zone Connect -- 4 -- Received MSG_EQ_ADDPLAYER
2009-01-12 03:16:35	Received our EQPlayer from zone. MSG_EQ_NETPLAYERBUFF is next.
2009-01-12 03:16:35	Player = Trevazar, zone = Solusek Ro's Tower
2009-01-12 03:16:38	MSG_EQ_NETPLAYERBUFF received started.
2009-01-12 03:16:39	MSG_EQ_NETPLAYERBUFF finished.
2009-01-12 03:16:42	MSG_EQ_NETPLAYERBUFF received started.
2009-01-12 03:16:42	MSG_EQ_NETPLAYERBUFF finished.
2009-01-12 03:16:43	MSG_EQ_NETPLAYERBUFF received started.
2009-01-12 03:16:43	MSG_EQ_NETPLAYERBUFF finished.
2009-01-12 03:16:44	MSG_EQ_NETPLAYERBUFF received started.
2009-01-12 03:16:44	MSG_EQ_NETPLAYERBUFF finished.
2009-01-12 03:16:44	MSG_EQ_NETPLAYERBUFF received started.
2009-01-12 03:16:44	MSG_EQ_NETPLAYERBUFF finished.
2009-01-12 03:16:44	MSG_TIME_STAMP received.
2009-01-12 03:16:44	
2009-01-12 03:16:44	MSG_TIME_STAMP received. (Items inc).
2009-01-12 03:16:44	
2009-01-12 03:16:46	Received an item via EQI_STARTING_ITEM at loc 0
2009-01-12 03:16:46	Received an item via EQI_STARTING_ITEM at loc 1
2009-01-12 03:16:46	Received an item via EQI_STARTING_ITEM at loc 2
2009-01-12 03:16:46	Received an item via EQI_STARTING_ITEM at loc 3
2009-01-12 03:16:46	Received an item via EQI_STARTING_ITEM at loc 4
2009-01-12 03:16:46	Received an item via EQI_STARTING_ITEM at loc 5
2009-01-12 03:16:46	Received an item via EQI_STARTING_ITEM at loc 6
2009-01-12 03:16:46	Received an item via EQI_STARTING_ITEM at loc 7
2009-01-12 03:16:46	Received an item via EQI_STARTING_ITEM at loc 8
2009-01-12 03:16:46	Received an item via EQI_STARTING_ITEM at loc 9
2009-01-12 03:16:47	Received an item via EQI_STARTING_ITEM at loc 10
2009-01-12 03:16:47	Received an item via EQI_STARTING_ITEM at loc 11
2009-01-12 03:16:47	Received an item via EQI_STARTING_ITEM at loc 12
2009-01-12 03:16:47	Received an item via EQI_STARTING_ITEM at loc 13
2009-01-12 03:16:47	Received an item via EQI_STARTING_ITEM at loc 14
2009-01-12 03:16:47	Received an item via EQI_STARTING_ITEM at loc 15
2009-01-12 03:16:47	Received an item via EQI_STARTING_ITEM at loc 16
2009-01-12 03:16:47	Received an item via EQI_STARTING_ITEM at loc 17
2009-01-12 03:16:47	Received an item via EQI_STARTING_ITEM at loc 18
2009-01-12 03:16:47	Received an item via EQI_STARTING_ITEM at loc 19
2009-01-12 03:16:47	Received an item via EQI_STARTING_ITEM at loc 20
2009-01-12 03:16:47	Received an item via EQI_STARTING_ITEM at loc 21
2009-01-12 03:16:47	Received an item via EQI_STARTING_ITEM at loc 22
2009-01-12 03:16:47	Received an item via EQI_STARTING_ITEM at loc 23
2009-01-12 03:16:47	Received an item via EQI_STARTING_ITEM at loc 24
2009-01-12 03:16:47	Received an item via EQI_STARTING_ITEM at loc 25
2009-01-12 03:16:47	Received an item via EQI_STARTING_ITEM at loc 26
2009-01-12 03:16:48	Received an item via EQI_STARTING_ITEM at loc 27
2009-01-12 03:16:48	Received an item via EQI_STARTING_ITEM at loc 28
2009-01-12 03:16:48	Received an item via EQI_STARTING_ITEM at loc 29
2009-01-12 03:16:48	Received an item via EQI_STARTING_ITEM at loc 2000
2009-01-12 03:16:48	Received an item via EQI_STARTING_ITEM at loc 2001
2009-01-12 03:16:48	Received an item via EQI_STARTING_ITEM at loc 2002
2009-01-12 03:16:48	Received an item via EQI_STARTING_ITEM at loc 2003
2009-01-12 03:16:48	Received an item via EQI_STARTING_ITEM at loc 2004
2009-01-12 03:16:48	Received an item via EQI_STARTING_ITEM at loc 2005
2009-01-12 03:16:48	Received an item via EQI_STARTING_ITEM at loc 2006
2009-01-12 03:16:48	Received an item via EQI_STARTING_ITEM at loc 2007
2009-01-12 03:16:48	Received an item via EQI_STARTING_ITEM at loc 2008
2009-01-12 03:16:48	Received an item via EQI_STARTING_ITEM at loc 2010
2009-01-12 03:16:48	Received an item via EQI_STARTING_ITEM at loc 2011
2009-01-12 03:16:48	Received an item via EQI_STARTING_ITEM at loc 2012
2009-01-12 03:16:48	Received an item via EQI_STARTING_ITEM at loc 2014
2009-01-12 03:16:48	Received an item via EQI_STARTING_ITEM at loc 2015
2009-01-12 03:16:49	Item done, MSG_WEATHER_EVENT received.
2009-01-12 03:16:49	
2009-01-12 03:16:49	Initializing zone.
2009-01-12 03:16:49	Initializing world.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #6  
Old 01-12-2009, 09:27 AM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

2083552304 is 7C307C30 in Hex. Ascii code 7C is the pipe symbol, |, and 30 is the number 0, so 7C307C30 is |0|0 which looks like serialised item data.

I should add that when I was working on the Bazaar, I was looking at some Live traces and *think* that I wasn't seeing item data being sent in a serialised format (didn't see any of those long strings of numbers separated by | symbols that are easy to spot in a packet trace). Maybe they stopped using that format for sending item data at some point.
Reply With Quote
  #7  
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
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 01:34 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 - 2026, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3