Old old old
The first 3 require more information, like the sections of code giving you errors, and so does the last, but I can offer some fixes for the last error:Quote:
Originally Posted by ;1410286Hi, This is the last step for me to finish my server I need to fix these errors :(
They appear when players do something but I didint find out yet :( an its the last thing I need to fix !Code:1# System.NullReferenceException: Object reference not set to an instance of an object. at COServer_Project.DataBase.Authenticate(String UserName, String Password) 2# System.NullReferenceException: Object reference not set to an instance of an object. at COServer_Project.Character.Attack() 3# System.NullReferenceException: Object reference not set to an instance of an object. at COServer_Project.Character.AddItem(String ItemInfo, Byte ToPos, UInt32 UID) at COServer_Project.Client.GetPacket(Byte[] data) 4# MySql.Data.MySqlClient.MySqlException: There is already an open DataReader associated with this Connection which must be closed first. at MySql.Data.MySqlClient.MySqlCommand.CheckState() at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery() at COServer_Project.DataBase.SaveChar(Character Charr)