The source of the problem. 5298

08/29/2010 11:44 MCJackson#1
The source of the problem. 5298

character Packet content as follows
-----------------------------------------------------------------------
public CharPacket(Char Entity)
: base(8 + 92 + Entity.Name.Length + Entity.Mate.Length)
{

WORD((ushort)(Packet.Length - 8), 0);
WORD(0x3ee, 2);
DWORD32(Entity.UID, 4);
DWORD32(Entity.lookface, 8);
WORD(Entity.HairStyle, 12);
DWORD32(Entity.money, 14); //right
DWORD32(Entity.emoney, 18); // right
DWORD(Entity.experience , 22); //
WORD(Entity.str, 50); // str
WORD(Entity.agi, 52); // agi
WORD(Entity.vit, 54); // vit
WORD(Entity.spi, 56); // spi
WORD(Entity.AdditionalPoints, 58); // error
WORD((ushort)Entity.life, 60);
WORD(Entity.mana, 62);
WORD(0, 64); //pk
Packet[66] = Entity.Level;// right
Packet[67] = Entity.Class; // proffesion right
Packet[69] = Entity.Metompsychosis; // right
Packet[70] = 1;
DWORD32(100, 71); //QuizPoints
WORD(0, 75); //Enlightenpoints
Packet[81] = 1;
Packet[89] = 2;
Packet[90] = (byte)Entity.Name.Length;
Byte(Entity.Name, 91, this.Packet); // error
Packet[91 + Packet[90]] = (byte)Entity.Mate.Length;
Byte(Entity.Mate, 92 + Packet[90], this.Packet);
}
-----------------------------------------------------------------------

After landing, character name displayed nothing;
I think is what's wrong with the packet
Hope you can help me! :handsdown:

[Only registered and activated users can see links. Click Here To Register...]
08/29/2010 11:45 MCJackson#2
do not display in public gallery
what error with packet?
08/29/2010 12:49 Korvacs#3
Moved.

Yeah your packet is wrong. The Name Length is at offset 109, and the string starts at 110. Then the spouse length is at 111 and 112, because there is a length for the last name which would reside at 110 if the first name is empty.
08/29/2010 13:15 Kiyono#4
Quote:
Originally Posted by Korvacs View Post
Moved.

Yeah your packet is wrong. The Name Length is at offset 109, and the string starts at 110. Then the spouse length is at 111 and 112, because there is a length for the last name which would reside at 110 if the first name is empty.
Didn't TQ remove last names?
08/29/2010 13:19 _DreadNought_#5
Yes they did. hes not using 5228+ character info packet
08/29/2010 13:46 Korvacs#6
Quote:
Originally Posted by Kiyono View Post
Didn't TQ remove last names?
Yes, they removed them, but left the space in the packet.
08/29/2010 14:05 ImmuneOne#7
I don't think I created my source as a 5298..
08/29/2010 14:17 pro4never#8
Quote:
Originally Posted by ImmuneOne View Post
I don't think I created my source as a 5298..
It's easy enough to upgrade thought... he just messed up the packet(s)
08/29/2010 14:18 _DreadNought_#9
The possbile shall be done.
08/29/2010 18:38 slappy89#10
Is it possible to upgrade immunes source from 5180 to 5298 if yes can any1 give us a guide were such a noobs
08/29/2010 18:57 pro4never#11
Quote:
Originally Posted by slappy89 View Post
Is it possible to upgrade immunes source from 5180 to 5298 if yes can any1 give us a guide were such a noobs

all required stuff has been released....


Change the auth response packet (released in packet wiki thread) and the hero info packet (using the packet wiki + logged packets as reference) and you should be able to log in.

From there you will have to change/update packets yourself as well as adding in systems as needed (seeing as it is a base source)