View Single Post
  #176  
Old 02-14-2009, 07:00 PM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

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}		// ?
	};
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki
Reply With Quote