I've looked at the database, looked through the code, looked at code that wasn't even relevant to the error and I still cannot find the error to the following, I just don't understand it. (Wow, what it be real easy...)
Error Message:
Code:
Load the character stats.
System.NullReferenceException: Object reference not set to an instance of an object.
at Conquer_Online_Server.Program.Main<String[] args> in D:\Conquer\impluse 5165\Conquer_Online_Server\Program.cs:line46
Line 40-51 in Program.cs:
Code:
MySqlReader r = new MySqlReader(cmd);
if (r.Read())
{
EntityUID = new ServerBase.Counter(r.ReadUInt32("EntityID"));
Network.GamePackets.ConquerItem.ItemUID = new Conquer_Online_Server.ServerBase.Counter(r.ReadUInt32("ItemUID"));
}
if (EntityUID.Next == 1)
{
Console.WriteLine("Database error. Please check your MySQL. Server will now close.");
Console.ReadLine();
return;
}
Database(codatabase), Table(Configuration), Column(EntityUID), Data(1000230)
Any information needed other than that? Thanks for those of you who help me out, I need Impulse's source fixed up so I can have a chance to learn as many others have done from this source.