my current is :-
Code:
//starting at offset : 24 public void AppendItem(uint uid, uint type, byte sock1, byte sock2, byte plus, byte bless, byte free, byte enchant, byte susp, byte locked, byte color, uint socketprog, uint timeremaning, ushort stack, ushort amount, ushort maxamount) { Write(uid); Write(type); Offset += 1; Write(sock1); Write(sock2); Offset += 1; Offset += 1;//weaponmagic Offset += 3; Offset += 1; //effect Write(bless); Write(free); Write(enchant); Offset += 4; Write((ushort)susp); Write(locked); Write(color); Write(socketprog); Write(timeremaning); Write((uint)plus); Write(stack); Write(amount); Write(maxamount); Offset += 10; }