I error still persists. I saw the error I think it is the packets in C:/Server/Network/Packet/ConquerPacket.cs: line 254 & C:/Server/AuthPacketsIncomming/AuthCompletion.cs: line 77.
[Only registered and activated users can see links. Click Here To Register...]
AuthCompletion.cs Error Code
Code:
{
Start.Game.SyncSendData(CPacket.Chat(ClientData.Client.MessageID, "SYSTEM", "ALLUSERS", "ANSWER_OK", ChatType.LoginInformation), e.Conn);
ClientData.Client.Char = Database.GetChar(ClientData.Client.Account, ClientData.Client.Server);
ClientData.Client.Char.Client = ClientData.Client;
Database.GetItems(ClientData.Client.Char);
Database.GetSkills(ClientData.Client.Char);
Start.Game.SyncSendData(CPacket.CharInfo(ClientData.Client.Char), e.Conn);
Start.Clients.Add(ClientData.Client.Account, ClientData.Client);
ClientData.Client.Status = Mode.Login;
ClientData.Conn.CharID = ClientData.Client.Char.CharID;
ClientData.Client.AuthTimer.Elapsed += new ElapsedEventHandler(ClientData.Client.Disconnect);
ClientData.Client.AuthTimer.Interval = 20000;
ClientData.Client.AuthTimer.Start();
//Following lines start a thread for each character which determines when their xp skill shows up
Character.XpThread = new Thread(new ThreadStart(ClientData.Client.Char.XpThreadHandel));
Character.XpThread.Name = "'XpThread";
Character.XpThread.Priority = ThreadPriority.Normal;
Character.XpThread.Start();
Character.XpThread = new Thread(new ThreadStart(ClientData.Client.Char.PkPointRemove));
Character.XpThread.Name = "'PkpThread";
Character.XpThread.Priority = ThreadPriority.Normal;
Character.XpThread.Start();
}
ConquerPackets.cs Error Code
Code:
public byte[] CharInfo(Character Char)
{
Length((68 + Char.Name.Length + Char.Spouse.Length));
Type(1006);
Long(Char.CharID);
Long(Char.Model);
Short(Char.HairStyle);
Short(0);
Long(Char.Money);
Long(Char.CPoints);
Long(Char.Exp);
Long(0);
Long(0);
Long(0);
Long(0);
Short(Char.Str);
Short(Char.Dex);
Short(Char.Vit);
Short(Char.Spi);
Short(Char.StatPoints);
Short(Char.CurrentHP);
Short(Char.CurrentMana);
Short(Char.PkPoints);
ByteInt(Char.Level);
ByteInt(Convert.ToInt32(Char.Class));//Class
Short(0);
ByteInt(1);
ByteInt(2);
ByteInt(Char.Name.Length);
for (int x = 0; x < Char.Name.Length; x++)
{
ByteInt(Char.Name[x]);
}
ByteInt(Char.Spouse.Length);
for (int x = 0; x < Char.Spouse.Length; x++)
{
ByteInt(Char.Spouse[x]);
}
return getBytes();
}
If you don't know how to fix it send me your source and ill edit it to my information.