Quote:
Originally Posted by Korvacs
Yeah thats a good idea.
I have started replacing the packet structures with a new layout using a table, which includes the offset, im also going to write a page about bytes/ushorts/uints/ulongs, and the offsets to help people to understand things alittle more, im also going to re-write all of the values to help make them more standard accross the wiki and easier to understand.
|
Love the new layout of the packets, it's amazing anyhow there is an error in this:
[Only registered and activated users can see links. Click Here To Register...] exactly at the exp variable in the 4267 version, here is the correct one:
PHP Code:
(ushort)Length;
(ushort)1006;
(uint)(Character.UID);
(uint)(Character.Model);
(ushort)(Character.Hair);
(ushort)(0);
(uint)(Money);
(ulong)(Experience); // Exactly here :P
(uint)(0);
(uint)(0);
(uint)(0);
(ushort)(Strength);
(ushort)(Agility);
(ushort)(Vitality);
(ushort)(Spirit);
(ushort)(AttributePoints);
(ushort)(Hitpoints);
(ushort)(Mana);
(ushort)(PkPoints);
(byte)(Character.Level);
(byte)(Character.Job);
(byte)(0);
(byte)(Character.RebornCount);
(byte)1;
(byte)(2);
(string with length)Character.Name
(string with length)Character.Spouse