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

02-13-2009, 05:12 AM
|
 |
Developer
|
|
Join Date: Aug 2006
Location: USA
Posts: 5,946
|
|
That is great news KLS! Considering that most other item related packets shouldn't be all too big, I think getting items working in the first place will be the hardest part. After that, it should just be adjusting a few small structs slightly and then finding a few opcodes.
Also, I didn't really think about it until now, but I am betting my issues with AAs displaying is also related to the expansion field issue that Derision mentioned that is causing the Power Source slot to not show up. I will mess with it a bit more. Right now, I am reworking a bit of the player profile struct to be more in line and accurate to what Derision's packet log shows. It seems to be helping so far, at least for displaying armor materials. I know that alot of that struct is already lined up properly, so it is mostly just adjusting the sections in between the parts that already line up. I am not sure why, but my AA window shows that I have 917 unspent AAs (which is accurate to what Titanium shows), but only 62 spent AAs even though Titanium shows 260 spent. Maybe that too is expansion field related, but it makes me think that maybe that field is just in the wrong place. Though, it looks like it should be in the right place from everything I have referenced so far (packet collects, showeq structs and Titanium structs).
And, OscarGrouch, I am not sure what you are trying to accomplish with the different clients you are trying. We will not be using any client after SoF, so any after that is nearly pointless. Yeah, you can find opcodes to log in to character select pretty easily, but that is very easy compared to filling in all of the packet structures properly and the rest of the missing opcodes. Plus, it is unlikely that we would ever want to use a client that isn't legally attainable. The expansion information you are talking about, I am guessing is the list of expansions that show up at the server select screen. That doesn't matter to the development of SoF at all. So, you shouldn't use any more time on that unless you have something else you are working on that isn't related to this development. Maybe I am just not clear on what it is that you are trying to accomplish.
|
 |
|
 |

02-13-2009, 06:22 PM
|
Administrator
|
|
Join Date: Sep 2006
Posts: 1,348
|
|
That field is probably in the wrong place. Speaking of wrong placed fields the pop combat ratings seem to of moved... along with faction mods, and I'm still trying to plot out the entire rest of the packet but it's slow goin, hopefully I'll have enough done to start loading inventory soon though.
Ima revise that I don't think they moved but something is definitely keeping them from displaying, there must be some bit that controls that column's vis.
Last edited by KLS; 02-14-2009 at 03:29 AM..
|

02-13-2009, 08:44 PM
|
Administrator
|
|
Join Date: Sep 2006
Posts: 1,348
|
|
If you get a chance could you go collect a book type item from live? I'm not sure how they're doing filename now... it does seem to be an int size but I'd like an item to study before moving on.
|

02-13-2009, 08:44 PM
|
 |
Developer
|
|
Join Date: Aug 2006
Location: USA
Posts: 5,946
|
|
I wouldn't be too surprised if they weren't showing up because we weren't sending the correct expansion packet like Derision said. It is keeping the Power Source slot from showing up, so maybe it also keeps PoP stats from showing up. I am interested to see how much that expansion packet corrects. I have a feeling it will help my AA window issues and probably the max level of 75 issue too.
I am mostly trying to clean up the spawn struct, illusion struct and player profile some while I wait for Derisions next update. There is still plenty I can work on, so no rush
And yeah, I will try to get a book now.
|
 |
|
 |

02-13-2009, 09:07 PM
|
 |
Developer
|
|
Join Date: Aug 2006
Location: USA
Posts: 5,946
|
|
Here is a noobie note that should work just as well as anything. The 02 I bolded is itemtype 2 for book:
Code:
Feb 13 2009 18:46:22:638 [Decoded] [Server->Client] [Size: 11915]
[OPCode: 0x709d]
000 | 0a 00 00 00 01 00 00 00 00 00 00 00 1d 00 00 00 | ................
016 | 00 00 00 00 01 00 00 00 00 00 00 00 8a 4a 02 00 | .............J..
032 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
048 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
064 | 00 00 00 02 43 72 65 73 63 65 6e 74 20 52 65 61 | ....Crescent Rea
080 | 63 68 20 47 75 69 6c 64 20 53 75 6d 6d 6f 6e 73 | ch Guild Summons
096 | 00 4c 6f 6f 6b 73 20 6c 69 6b 65 20 69 74 27 73 | .Looks like it's
112 | 20 77 6f 72 74 68 20 72 65 61 64 69 6e 67 00 49 | worth reading.I
128 | 54 36 33 00 21 e5 00 00 00 01 00 00 00 00 00 00 | T63.!...........
144 | 00 00 00 00 00 f8 01 00 00 01 00 00 00 00 00 00 | ................
160 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
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 80 00 | ................
208 | 00 00 00 00 00 00 00 00 00 00 00 00 00 ff ff ff | ................
224 | ff 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 ff 00 00 00 00 00 00 00 00 00 | ................
288 | 00 00 00 00 00 00 80 3f 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 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
368 | 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 | ................
384 | 00 00 00 01 00 00 00 00 00 01 00 00 00 00 00 01 | ................
400 | 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 | ................
416 | 00 00 00 46 00 00 00 00 00 00 00 00 00 00 00 00 | ...F............
432 | ff 43 52 45 57 69 7a 61 72 64 4e 6f 74 65 00 00 | .CREWizardNote..
448 | 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 | ................
464 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
480 | 00 00 ff ff ff ff 00 00 00 00 00 00 00 00 00 00 | ................
496 | 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
512 | 00 00 00 00 00 00 00 00 00 00 00 ff ff ff ff 00 | ................
528 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
544 | 00 00 00 00 00 00 00 00 00 00 ff ff ff ff ff ff | ................
560 | ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
576 | 00 00 00 00 00 00 00 00 00 00 00 00 00 ff ff ff | ................
592 | ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 | ................
608 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
624 | ff ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 | ................
640 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
656 | 00 00 00 ff ff ff ff ff ff ff ff 00 00 00 00 00 | ................
672 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
688 | 00 00 00 00 00 00 ff ff ff ff ff ff ff ff 00 00 | ................
704 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
720 | 00 00 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 | ................
736 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
752 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
768 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
784 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
800 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
816 | 00 00 00 00 00 00 00 00 00 00 00
|
 |
|
 |

02-13-2009, 11:22 PM
|
Administrator
|
|
Join Date: Sep 2006
Posts: 1,348
|
|
No, no I don't think that's it at all. I notice when I get my offsets wrong and the items clip each other and I get a 2nd item with garbled stats I'll see accuracy strikethrough etc.
I'm really bad with messing up my offsets too, when I'm stepping through 500 bytes just to realize I've gotten off by 1 byte I wanna kill myself... need to finish this structure already.
|

02-14-2009, 01:23 AM
|
Administrator
|
|
Join Date: Sep 2006
Posts: 1,348
|
|
You know what it was? I had an uint8 instead of uint32 in one spot and incidentally 3 extra bytes not far down so I didn't catch it right away.
It's basically structured now ima try getting an inventory to load... but first...
I've had it up to here with
Code:
[02.13. - 21:08:30] [NET__IDENTIFY] Unable to identify stream from 192.168.1.110:1540 before it closed.
You will be squished.
Also, if you are able to get a collect of an item with an augment socketed sooner or later that'd probably help. Tho I wont be doing that at first.
Last edited by KLS; 02-14-2009 at 10:21 AM..
|
 |
|
 |

02-14-2009, 04:51 AM
|
 |
Developer
|
|
Join Date: Aug 2006
Location: USA
Posts: 5,946
|
|
Here is "Signet of Might" with an "Onyx Orb of Aggression" augmented in it:
Code:
01 00 00 00 00 00 00 00 04 | ................
66064 | 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 b4 | ................
66080 | 1d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
66096 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
66112 | 00 00 00 00 00 00 00 53 69 67 6e 65 74 20 6f 66 | .......Signet of
66128 | 20 4d 69 67 68 74 00 52 61 77 20 70 6f 77 65 72 | Might.Raw power
66144 | 20 73 75 72 67 65 73 20 69 6e 74 6f 20 79 6f 75 | surges into you
66160 | 72 20 62 6f 64 79 00 49 54 36 33 00 7f 3f 00 00 | r body.IT63..?..
66176 | 14 01 00 00 00 12 00 00 00 00 00 00 00 da 04 00 | ................
66192 | 00 01 00 00 00 00 00 00 0f 0f 0f 0f 0f 00 19 19 | ................
66208 | 19 19 00 19 19 91 00 00 00 82 00 00 00 82 00 00 | ................
66224 | 00 19 00 00 00 03 00 00 00 00 00 00 00 00 00 00 | ................
66240 | 00 ff ff 00 00 ff ff 00 00 00 00 00 00 08 00 00 | ................
66256 | 00 00 00 00 00 13 00 00 00 00 00 00 00 00 00 00 | ................
66272 | 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 | ................
66288 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
66304 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff 1d | ................
66320 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 3f | ...............?
66336 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
66352 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
66368 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
66384 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
66400 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
66416 | 00 07 00 00 00 01 00 00 00 00 00 01 00 00 00 00 | ................
66432 | 00 01 00 00 00 00 00 01 00 00 00 00 00 01 00 00 | ................
66448 | 00 00 00 00 00 00 00 00 00 00 00 46 00 00 00 00 | ...........F....
66464 | 00 00 00 00 00 00 00 00 00 00 ff ff ff ff 00 00 | ................
66480 | 00 00 00 00 00 00 00 00 00 1e 00 00 00 00 00 00 | ................
66496 | 00 00 00 00 00 00 00 00 00 00 00 00 00 ff ff ff | ................
66512 | ff 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 | ................
66528 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
66544 | 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 00 00 | ................
66560 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
66576 | 00 00 00 00 00 ff ff ff ff ff ff ff ff 00 00 00 | ................
66592 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
66608 | 00 00 00 00 00 00 00 00 ff ff ff ff ff ff ff ff | ................
66624 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
66640 | 00 00 00 00 00 00 00 00 00 00 00 ff ff ff ff ff | ................
66656 | ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
66672 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff ff | ................
66688 | ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 | ................
66704 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
66720 | 00 ff ff ff ff ff ff ff ff 00 00 00 00 00 00 00 | ................
66736 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
66752 | 00 00 00 00 ff ff ff ff 00 00 00 00 00 00 00 00 | ................
66768 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
66784 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
66800 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
66816 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
66832 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
66848 | 00 00 01 00 00 00 00 00 00 00 01 00 00 00 00 00 | ................
66864 | 00 00 1e 00 00 00 00 00 00 00 01 00 00 00 00 00 | ................
66880 | 00 00 b5 1d 00 00 00 00 00 00 00 00 00 00 00 00 | ................
66896 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
66912 | 00 00 00 00 00 00 00 00 00 00 4f 6e 79 78 20 4f | ..........Onyx O
66928 | 72 62 20 6f 66 20 41 67 67 72 65 73 73 69 6f 6e | rb of Aggression
66944 | 00 41 6e 20 61 75 72 61 20 6f 66 20 63 6f 6e 73 | .An aura of cons
66960 | 74 69 74 75 74 69 6f 6e 20 65 6d 61 6e 61 74 65 | titution emanate
66976 | 73 20 66 72 6f 6d 20 77 69 74 68 69 6e 00 49 54 | s from within.IT
66992 | 36 33 00 fc a4 00 00 00 01 00 00 00 fe ff 1f 00 | 63..............
67008 | 00 00 00 00 9a 05 00 00 01 00 00 00 00 00 00 00 | ................
67024 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
67040 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
67056 | 00 00 00 00 00 00 00 00 ff ff 00 00 ff ff 00 00 | ................
67072 | 00 00 00 00 00 00 00 00 00 00 00 00 ff ff ff ff | ................
67088 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
67104 | 00 00 00 00 00 00 00 00 00 41 00 00 00 00 00 00 | .........A......
67120 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
67136 | 00 00 00 00 00 ff 36 00 00 00 00 00 00 00 00 00 | ......6.........
67152 | 00 00 00 00 00 80 3f 00 00 00 00 00 00 00 00 00 | ......?.........
67168 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
67184 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
67200 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
67216 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
67232 | 40 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 | @...............
67248 | 00 00 01 00 00 00 00 00 01 00 00 00 00 00 01 00 | ................
67264 | 00 00 00 00 01 00 01 00 00 00 04 00 00 00 aa 05 | ................
67280 | 00 00 46 00 00 00 01 00 00 00 00 00 00 00 00 00 | ..F.............
67296 | 00 ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 | ................
67312 | 14 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
67328 | a5 b7 00 00 ff ff ff ff 00 00 00 00 00 00 00 00 | ................
67344 | 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 | ................
67360 | 00 00 00 00 00 00 00 00 00 00 00 00 00 ff ff ff | ................
67376 | ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
67392 | 00 00 00 00 00 00 00 00 00 00 00 00 ff ff ff ff | ................
67408 | ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 | ................
67424 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff | ................
67440 | ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 | ................
67456 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
67472 | 00 00 ff ff ff ff ff ff ff ff 00 00 00 00 00 00 | ................
67488 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
67504 | 00 00 00 00 00 ff ff ff ff ff ff ff ff 00 00 00 | ................
67520 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
67536 | 00 00 00 00 00 00 00 00 ff ff ff ff ff ff ff ff | ................
67552 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
67568 | 00 00 00 00 00 00 00 00 00 00 00 ff ff ff ff 00 | ................
67584 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
67600 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
67616 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
67632 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
67648 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
67664 | 00 00 00 00 00 00 00 00 00 00 00 00 00
Damn that thing took too many hours of tradeskilling just to be made obsolete when we got into PoTimeB lol.
|
 |
|
 |

02-14-2009, 08:34 AM
|
Developer
|
|
Join Date: Feb 2004
Location: UK
Posts: 1,540
|
|
I've committed the Character Creation stuff.
You will need to update your Expansions variable to see the Power Source slot. I used 16383.
The hairstyle/color on the Character Select screen is wrong for Drakkin, but seems OK for other races.
Tutorial button doesn't work yet.
The character creation in SoF is different in that it doesn't send the player_choice field anymore, rather it sends the actual ZoneID of the requested start zone, so I created a new WorldDatabase::GetStartZoneSoF to handle SoF clients that puts new characters in Crescent Reach if there is no matching entry in start_zones.
I'll try and sort out the tutorial button and then maybe try and find out why you get kicked to character select when you die.
|

02-14-2009, 09:09 AM
|
Administrator
|
|
Join Date: Sep 2006
Posts: 1,348
|
|
OK so:
/cheer
I'll commit tomorrow I think. A lot of fields are off, esp with respect to item clickies and scrolls and stuff. Delay seems to of become lost too. But I think it's to the point that it's workable enough that other people besides me should have to do all the work...
Now it's 5hrs past my bedtime but I had to finish that, I'm going to bed =(
|
 |
|
 |

02-14-2009, 07:00 PM
|
Developer
|
|
Join Date: Mar 2007
Location: Ohio
Posts: 648
|
|
Not sure if this will help, but EQItems has an SVN for their itemcollector which may help find the serialization info.
I think this is from Live:
http://eqitems.13th-floor.org/svn/it...ct/EQItem.java
Code:
protected static final int fieldinfo[][] = {
// Types:
// 0 - ignore
// 1 - unsigned int
// 2 - string (size ignored)
// 3 - empty placeholder
// 4 - signed int
// 5 - float
// 6 - evolving item flag
// 7 - string of ints
// 8 - if 0, 4 bytes less in initial header
// type , size, position in array
//{ 0, 4, 0 },
//{ 8, 4, 0 }, // if 0, 4 bytes less in initial header
//{ 0, 57, 0 }, // ??
{ 6, 1, -1 }, // if not 0, add in evolvingfieldinfo
{ 1, 1, 0 }, // item class
{ 2, 0, 1 }, // item name
{ 2, 0, 2 }, // item lore
{ 3, 0, 3 }, // lorefile - not in packed form?
{ 2, 0, 4 }, // idfile
{ 1, 4, 5 }, // id
{ 1, 1, 6 }, // weight
{ 1, 1, 7 }, // norent
{ 1, 1, 8 }, // nodrop
{ 1, 1, 127 }, // short attuneable;
{ 1, 1, 9 }, // size
{ 1, 4, 10 }, // slots
{ 1, 4, 11 }, // price
{ 1, 4, 12 }, // icon
{ 1, 1, 13 }, // unk13
{ 1, 1, 14 }, // unk14
{ 1, 4, 15 }, // benefit flag
{ 1, 1, 16 }, // tradeskills
{ 4, 1, 17 }, // cr
{ 4, 1, 18 }, // dr
{ 4, 1, 19 }, // pr
{ 4, 1, 20 }, // mr
{ 4, 1, 21 }, // rr
{ 4, 1, 22 }, // svcorruption
{ 4, 1, 23 }, // short astr;
{ 4, 1, 24 }, // short asta;
{ 4, 1, 25 }, // short aagi;
{ 4, 1, 26 }, // short adex;
{ 4, 1, 27 }, // short acha;
{ 4, 1, 28 }, // short aint;
{ 4, 1, 29 }, // short awis;
{ 4, 4, 30 }, // short hp;
{ 4, 4, 31 }, // short mana;
{ 4, 4, 32 }, // short endur;
{ 4, 4, 33 }, // short ac;
{ 4, 4, 120 }, // short regen;
{ 4, 4, 121 }, // short manaregen;
{ 4, 4, 122 }, // short enduranceregen;
{ 1, 4, 34 }, // short classes;
{ 1, 4, 35 }, // short races;
{ 1, 4, 36 }, // short deity;
{ 4, 4, 37 }, // short skillmodvalue;
{ 1, 4, 38 }, // short UNK038;
{ 4, 4, 39 }, // short skillmodtype;
{ 1, 4, 40 }, // short banedmgrace;
{ 1, 4, 41 }, // short banedmgbody;
{ 1, 4, 42 }, // short banedmgraceamt;
{ 1, 4, 43 }, // short banedmgamt;
{ 1, 1, 44 }, // short magic;
{ 4, 4, 45 }, // short casttime_;
{ 1, 4, 46 }, // short reqlevel;
{ 1, 4, 47 }, // short reclevel;
{ 1, 4, 48 }, // short recskill;
{ 1, 4, 49 }, // short bardtype;
{ 4, 4, 50 }, // short bardvalue;
{ 1, 1, 51 }, // short light;
{ 1, 1, 52 }, // short delay;
{ 1, 1, 53 }, // short elemdmgtype;
{ 1, 1, 54 }, // short elemdmgamt;
{ 1, 1, 55 }, // short range;
{ 1, 4, 56 }, // short damage;
{ 1, 4, 57 }, // short color;
{ 1, 1, 58 }, // short itemtype;
{ 1, 4, 59 }, // short material;
{ 1, 4, 60 }, // short UNK060;
{ 1, 4, 61 }, // short UNK061;
{ 5, 4, 62 }, // short sellrate;
{ 4, 4, 63 }, // short combateffects;
{ 4, 4, 64 }, // short shielding;
{ 4, 4, 65 }, // short stunresist;
{ 4, 4, 66 }, // short strikethrough;
{ 4, 4, 67 }, // short extradmgskill;
{ 4, 4, 68 }, // short extradmgamt;
{ 4, 4, 69 }, // short spellshield;
{ 4, 4, 70 }, // short avoidance;
{ 4, 4, 71 }, // short accuracy;
{ 1, 4, 72 }, // short charmfileid;
{ 1, 4, 73 }, // short factionmod1;
{ 4, 4, 74 }, // short factionamt1;
{ 1, 4, 75 }, // short factionmod2;
{ 4, 4, 76 }, // short factionamt2;
{ 1, 4, 77 }, // short factionmod3;
{ 4, 4, 78 }, // short factionamt3;
{ 1, 4, 79 }, // short factionmod4;
{ 4, 4, 80 }, // short factionamt4;
{ 2, 1, 81 }, // short charmfile; - should be 0 for empty string?
{ 1, 4, 82 }, // short augtype;
{ 1, 4, 83 }, // short augrestrict;
{ 1, 4, 85 }, // short augslot1type;
{ 1, 1, 86 }, // short augslot1unk;
{ 1, 1, 87 }, // short augslot1unk2;
{ 1, 4, 88 }, // short augslot2type;
{ 1, 1, 89 }, // short augslot2unk;
{ 1, 1, 90 }, // short augslot2unk2;
{ 1, 4, 91 }, // short augslot3type;
{ 1, 1, 92 }, // short augslot3unk;
{ 1, 1, 93 }, // short augslot3unk2;
{ 1, 4, 94 }, // short augslot4type;
{ 1, 1, 95 }, // short augslot4unk;
{ 1, 1, 96 }, // short augslot4unk2;
{ 1, 4, 97 }, // short augslot5type;
{ 1, 1, 98 }, // short augslot5unk;
{ 1, 1, 99 }, // short augslot5unk2;
{ 1, 4, 100 }, // short pointtype;
{ 1, 4, 101 }, // short ldontheme;
{ 1, 4, 102 }, // short ldonprice;
{ 1, 4, 103 }, // short UNK098;
{ 1, 4, 104 }, // short ldonsold;
{ 1, 1, 105 }, // short bagtype;
{ 1, 1, 106 }, // short bagslots;
{ 1, 1, 107 }, // short bagsize;
{ 1, 1, 108 }, // short bagwr;
{ 1, 1, 109 }, // short book;
{ 1, 1, 110 }, // short booktype;
{ 2, 1, 111 }, // short filename;
{ 4, 4, 112 }, // short loregroup;
{ 1, 1, 113 }, // short artifactflag;
{ 1, 1, 114 }, // short UNK109;
{ 1, 4, 115 }, // short favor;
// 19 bytes later is guildfavor
// no drop items on FV server
{ 1, 1, 117 }, // short fvnodrop;
{ 4, 4, 118 }, // short dotshielding;
{ 4, 4, 119 }, // short attack;
{ 4, 4, 123 }, // short haste;
{ 4, 4, 124 }, // short damageshield;
{ 1, 4, 116 }, // short guildfavor;
{ 1, 4, 84 }, // short augdistiller;
{ 4, 4, 125 }, // short UNK120;
{ 1, 4, 126 }, // short UNK121;
{ 1, 1, 128 }, // short nopet;
{ 1, 1, 129 }, // short UNK124;
{ 1, 1, 130 }, // short potionbelt;
{ 1, 4, 131 }, // short potionbeltslots;
{ 1, 4, 132 }, // short stacksize;
// 22 bytes later is clickeffect
{ 1, 1, 133 }, // short notransfer;
{ 1, 2, 136 }, // short UNK131;
{ 7, 19, 137 }, // char UNK132[255];
{ 4, 4, 138 }, // short clickeffect;
{ 1, 1, 140 }, // short clicklevel2;
{ 1, 1, 139 }, // short clicktype;
{ 1, 4, 141 }, // short clicklevel;
{ 4, 4, 142 }, // short maxcharges;
{ 4, 4, 143 }, // short casttime;
{ 1, 4, 144 }, // short recastdelay;
{ 4, 4, 145 }, // short recasttype;
{ 1, 4, 146 }, // short clickunk5;
{ 2, 1, 147 }, // short clickunk6;
{ 4, 4, 148 }, // short clickunk7;
{ 4, 4, 149 }, // short proceffect;
// 27 bytes later is procunk7
{ 1, 1, 151 }, // short proclevel2;
{ 1, 1, 150 }, // short proctype;
{ 1, 4, 152 }, // short proclevel;
{ 4, 4, 153 }, // short procunk1; -- poison
{ 1, 4, 154 }, // short procunk2;
{ 1, 4, 155 }, // short procunk3;
{ 1, 4, 156 }, // short procunk4;
{ 4, 4, 157 }, // short procrate;
{ 2, 1, 158 }, // short procunk6;
{ 4, 4, 159 }, // short procunk7;
{ 4, 4, 160 }, // short worneffect;
// 27 bytes later is wornunk7
{ 1, 1, 162 }, // short wornlevel2;
{ 1, 1, 161 }, // short worntype;
{ 1, 4, 163 }, // short wornlevel;
{ 4, 4, 164 }, // short wornunk1;
{ 1, 4, 165 }, // short wornunk2;
{ 1, 4, 166 }, // short wornunk3;
{ 1, 4, 167 }, // short wornunk4;
{ 1, 4, 168 }, // short wornunk5;
{ 2, 1, 169 }, // short wornunk6;
{ 4, 4, 170 }, // short wornunk7;
{ 4, 4, 171 }, // short focuseffect;
// 27 bytes later is focusunk7
{ 1, 1, 173 }, // short focuslevel2
{ 1, 1, 172 }, // short focustype;
// Is focuslevel 4 bytes ala clicklevel?
{ 1, 4, 174 }, // short focuslevel;
{ 4, 4, 175 }, // short focusunk1;
{ 1, 4, 176 }, // short focusunk2;
{ 1, 4, 177 }, // short focusunk3;
{ 1, 4, 178 }, // short focusunk4;
{ 1, 4, 179 }, // short focusunk5;
{ 2, 1, 180 }, // short focusunk6;
{ 4, 4, 181 }, // short focusunk7;
{ 4, 4, 182 }, // short scrolleffect;
// 27 bytes later is scrollunk7
{ 1, 1, 184 }, // short scrolllevel2;
{ 1, 1, 183 }, // short scrolltype;
{ 1, 4, 185 }, // short scrolllevel;
{ 1, 4, 186 }, // short scrollunk1;
{ 1, 4, 187 }, // short scrollunk2;
{ 1, 4, 188 }, // short scrollunk3;
{ 1, 4, 189 }, // short scrollunk4;
{ 1, 4, 190 }, // short scrollunk5;
{ 2, 1, 191 }, // short scrollunk6;
{ 4, 4, 192 }, // short scrollunk7;
{ 1, 4, 134 }, // short UNK129; -- near end? see fellowship insignia
{ 1, 1, 135 }, // short questitemflag;
{ 1, 4, 193 }, // short powersourcecapacity;
{ 1, 4, 194 }, // short purity;
// Secrets of Faydwer additions: (195-206)
{ 4, 4, 206 }, // backstab damage
{ 4, 4, 195 }, // dmgshldmit
{ 4, 4, 196 }, // heroic_strength
{ 4, 4, 197 }, // heroic_int
{ 4, 4, 198 }, // heroic_wis
{ 4, 4, 199 }, // heroic_agi
{ 4, 4, 200 }, // heroic_dex
{ 4, 4, 201 }, // heroic_sta
{ 4, 4, 202 }, // heroic_cha
{ 0, 24, 0 }, // ??
{ 4, 4, 203 }, // healamt
{ 4, 4, 204 }, // spelldmg
{ 4, 4, 205 }, // clairvoyance
// { 0, 76, 0 } // ??
};
And for evolving items:
http://eqitems.13th-floor.org/svn/it...lvingItem.java
Code:
protected final static int fieldinfo[][] = {
{ 1, 1, 6}, // evolving level
{ 0, 25, 0} // ?
};
|
 |
|
 |
 |
|
 |

02-15-2009, 03:47 AM
|
Administrator
|
|
Join Date: Sep 2006
Posts: 1,348
|
|
Some good info in there, most known but a few things helps. The biggest problem isn't where things are.. we know for the most part but between versions bytes will slip into strange places and throw offsets off a bit which is what causes fields to be off... and it's annoying as heck btw.
Also I'm going to commit some more item stuff even tho I promised myself I'd take a break. Item movement and bags should work after this.
Some items also cause the client to 'crash', it's an odd crash the client just fails to load and eventually just exits to the desktop with no error. Nothing even in log. Something about the item packet is malformed and causes this.
Code:
[Sat Feb 14 23:43:06 2009]00318:MSG_TIME_STAMP received. (Items inc).
[Sat Feb 14 23:43:06 2009]00319:Received an item via EQI_STARTING_ITEM at loc 2
[Sat Feb 14 23:43:06 2009]00320:Received an item via EQI_STARTING_ITEM at loc 7
[Sat Feb 14 23:43:06 2009]00321:Received an item via EQI_STARTING_ITEM at loc 8
[Sat Feb 14 23:43:06 2009]00322:Received an item via EQI_STARTING_ITEM at loc 9
[Sat Feb 14 23:43:06 2009]00323:Received an item via EQI_STARTING_ITEM at loc 10
[Sat Feb 14 23:43:06 2009]00324:Received an item via EQI_STARTING_ITEM at loc 13
[Sat Feb 14 23:43:06 2009]00325:Received an item via EQI_STARTING_ITEM at loc 14
[Sat Feb 14 23:43:06 2009]00326:Received an item via EQI_STARTING_ITEM at loc 17
[Sat Feb 14 23:43:06 2009]00327:Received an item via EQI_STARTING_ITEM at loc 18
[Sat Feb 14 23:43:06 2009]00328:Received an item via EQI_STARTING_ITEM at loc 19
[Sat Feb 14 23:43:06 2009]00329:Received an item via EQI_STARTING_ITEM at loc 23
[Sat Feb 14 23:43:06 2009]00330:Received an item via EQI_STARTING_ITEM at loc 24
[Sat Feb 14 23:43:06 2009]00331:Received an item via EQI_STARTING_ITEM at loc 25
[Sat Feb 14 23:43:06 2009]00332:Received an item via EQI_STARTING_ITEM at loc 281
That's it, end of the log. There's a couple more items after 281 but I've confirmed it's what's at 281 that's causing the crash in this case it's: 5022. I noticed having some fields set wrong (usually the unknowns) causes this to happen when making the packet. So im guessing there's an unknown like this somewhere in the shuffled fields.
Last edited by KLS; 02-15-2009 at 12:12 PM..
|
 |
|
 |
 |
|
 |

02-15-2009, 05:22 AM
|
 |
Developer
|
|
Join Date: Aug 2006
Location: USA
Posts: 5,946
|
|
Yeah, at some point, the item packet gets off and causes the crash. From the example I have, it looks like it is just trying to load a slot that doesn't exist:
Code:
[Sat Feb 14 17:34:17 2009]00216:MSG_TIME_STAMP received. (Items inc).
[Sat Feb 14 17:34:17 2009]00217:Received an item via EQI_STARTING_ITEM at loc 0
[Sat Feb 14 17:34:17 2009]00218:Received an item via EQI_STARTING_ITEM at loc 1
[Sat Feb 14 17:34:17 2009]00219:Received an item via EQI_STARTING_ITEM at loc 2
[Sat Feb 14 17:34:17 2009]00220:Received an item via EQI_STARTING_ITEM at loc 3
[Sat Feb 14 17:34:17 2009]00221:Received an item via EQI_STARTING_ITEM at loc 4
[Sat Feb 14 17:34:17 2009]00222:Received an item via EQI_STARTING_ITEM at loc 5
[Sat Feb 14 17:34:17 2009]00223:Received an item via EQI_STARTING_ITEM at loc 6
[Sat Feb 14 17:34:17 2009]00224:Received an item via EQI_STARTING_ITEM at loc 1792
[Sat Feb 14 17:34:17 2009]00225:Received an item via EQI_STARTING_ITEM at loc 0
[Sat Feb 14 17:34:17 2009]00226:Received an item via EQI_STARTING_ITEM at loc 0
I will take a look at it now that the inventory stuff is on the SVN. I also identified a few more opcodes like MoveItem and Consume I think. I just need to test them out to make sure. Now that items are at least partially done, I think it will help alot to get the game more finalized. It definitely opens up more stuff to work on.
On another note, I was hoping that the expansion struct that Derision added would help my AA structs to start working, but they aren't working just yet. I will keep playing with those too. I am sure we can get them going soon.
|
 |
|
 |
 |
|
 |

02-15-2009, 05:34 AM
|
Administrator
|
|
Join Date: Sep 2006
Posts: 1,348
|
|
Nah I've had good loads with the client thinking it has a bad item slot. It finishes loading the item from the slot but then allocates way too much memory for the next item or something. Bad item slot just fails to load unless it's negative then you'll get an immediate crash... im not sure why some item slots get way off tho. I'll have to look at my output logs and make sure everything it looking right.
Code:
[Sun Feb 15 00:02:28 2009]00140:Received our Player from zone. MSG_EQ_NETPLAYERBUFF is next.
[Sun Feb 15 00:02:28 2009]00141:Player = Krissy, zone = The Mines of Gloomingdeep
[Sun Feb 15 00:02:35 2009]00142:MSG_EQ_NETPLAYERBUFF received started.
[Sun Feb 15 00:02:35 2009]00143:MSG_EQ_NETPLAYERBUFF finished.
[Sun Feb 15 00:02:36 2009]00144:MSG_EQ_NETPLAYERBUFF received started.
[Sun Feb 15 00:02:36 2009]00145:MSG_EQ_NETPLAYERBUFF finished.
[Sun Feb 15 00:02:36 2009]00146:MSG_TIME_STAMP received.
[Sun Feb 15 00:02:36 2009]00147:MSG_TIME_STAMP received. (Items inc).
[Sun Feb 15 00:02:36 2009]00148:Received an item via EQI_STARTING_ITEM at loc 2
[Sun Feb 15 00:02:36 2009]00149:Received an item via EQI_STARTING_ITEM at loc 7
[Sun Feb 15 00:02:36 2009]00150:Received an item via EQI_STARTING_ITEM at loc 8
[Sun Feb 15 00:02:36 2009]00151:Received an item via EQI_STARTING_ITEM at loc 9
[Sun Feb 15 00:02:36 2009]00152:Received an item via EQI_STARTING_ITEM at loc 10
[Sun Feb 15 00:02:36 2009]00153:Received an item via EQI_STARTING_ITEM at loc 13
[Sun Feb 15 00:02:36 2009]00154:Received an item via EQI_STARTING_ITEM at loc 14
[Sun Feb 15 00:02:36 2009]00155:Received an item via EQI_STARTING_ITEM at loc 17
[Sun Feb 15 00:02:36 2009]00156:Received an item via EQI_STARTING_ITEM at loc 18
[Sun Feb 15 00:02:36 2009]00157:Received an item via EQI_STARTING_ITEM at loc 19
[Sun Feb 15 00:02:36 2009]00158:Received an item via EQI_STARTING_ITEM at loc 23
[Sun Feb 15 00:02:36 2009]00159:Received an item via EQI_STARTING_ITEM at loc 24
[Sun Feb 15 00:02:36 2009]00160:Received an item via EQI_STARTING_ITEM at loc 25
[Sun Feb 15 00:02:36 2009]00161:Received an item via EQI_STARTING_ITEM at loc 282
[Sun Feb 15 00:02:36 2009]00162:Received an item via EQI_STARTING_ITEM at loc 16777216
[Sun Feb 15 00:02:36 2009]00163:Received an item via EQI_STARTING_ITEM at loc 27
[Sun Feb 15 00:02:36 2009]00164:Received an item via EQI_STARTING_ITEM at loc 28
[Sun Feb 15 00:02:36 2009]00165:Received an item via EQI_STARTING_ITEM at loc 29
[Sun Feb 15 00:02:36 2009]00166:Received an item via EQI_STARTING_ITEM at loc 30
[Sun Feb 15 00:02:36 2009]00167:Item done, MSG_WEATHER_EVENT received.
[Sun Feb 15 00:02:36 2009]00168:Initializing zone.
[Sun Feb 15 00:02:36 2009]00169:Initializing world.
[Sun Feb 15 00:02:36 2009]00170:Verifying world files.
[Sun Feb 15 00:02:36 2009]00171:Attempting to load tutorialb.EQG.
[Sun Feb 15 00:02:41 2009]00172:Loaded tutorialb.EQG.
[Sun Feb 15 00:02:41 2009]00173:Loading zone specific files.
I've noticed items in bags tend to be particularly big offenders for some reason it's almost always an item in a bag...
Last edited by KLS; 02-15-2009 at 01:42 PM..
|
 |
|
 |

02-15-2009, 06:12 AM
|
 |
Developer
|
|
Join Date: Aug 2006
Location: USA
Posts: 5,946
|
|
Yeah, that info from 13th floor SVN is definitely useful. I just used it to correct delay, light, and a few other things in the struct and verified that the changes worked and are now accurate. I will try to go through the rest of the struct and see what else can be adjusted.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 07:28 PM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |