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

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..
|
 |
|
 |
| Thread Tools |
|
|
| Display Modes |
Hybrid Mode
|
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 04:53 PM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |