Hi, I need some help and info why does these errors appear ?
and mabye if you know how can I fix it ?
1#
2#
3#this one heppens after you do /dc command
4#
5# Main Error
error 5 is my enemy ! I want to get rid of it ! its making me so fucking crazy :(
I know meny ppl have this but other says that they fixed it :) how should I fix it too ?
Thx for your help.
and mabye if you know how can I fix it ?
1#
Code:
System.NullReferenceException: Object reference not set to an instance of an object. at COServer_Project.Character.GetEquipStats(Byte Pos, Boolean UnEquip) at COServer_Project.Character.AddExp(UInt64 Amount, Boolean CountMisc) at COServer_Project.Character.UseItem(UInt64 ItemUID, String Item) at COServer_Project.Client.GetPacket(Byte[] data)
Code:
System.InvalidOperationException: Collection was modified; enumeration operation may not execute. at System.Collections.Hashtable.HashtableEnumerator.MoveNext() at COServer_Project.World.RemoveEntity(SingleMob Who)
Code:
System.NullReferenceException: Object reference not set to an instance of an object. at COServer_Project.World.Chat(Character Char, Int16 ChatType, Byte[] Data, String To, String Message) at COServer_Project.Client.GetPacket(Byte[] data)
Code:
System.NullReferenceException: Object reference not set to an instance of an object. at COServer_Project.Character.GetEquipStats(Byte Pos, Boolean UnEquip) at COServer_Project.Character.SendEquips(Boolean GetStats) at COServer_Project.Client.GetPacket(Byte[] data)
Code:
MySql.Data.MySqlClient.MySqlException: Unable to write to stream ---> System.IO.IOException: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.IO.BufferedStream.FlushWrite() at System.IO.BufferedStream.Flush() at MySql.Data.MySqlClient.PacketWriter.WriteChunk(Byte[] buf, Int32 offset, Int32 length) at MySql.Data.MySqlClient.PacketWriter.Write(Byte[] buffer, Int32 offset, Int32 count) --- End of inner exception stack trace --- at MySql.Data.MySqlClient.PacketWriter.Write(Byte[] buffer, Int32 offset, Int32 count) at MySql.Data.MySqlClient.NativeDriver.ExecuteCommand(DBCmd cmd, Byte[] bytes, Int32 length) at MySql.Data.MySqlClient.NativeDriver.SendQuery(Byte[] bytes, Int32 length, Boolean consume) at MySql.Data.MySqlClient.MySqlCommand.GetNextResultSet(MySqlDataReader reader) at MySql.Data.MySqlClient.MySqlCommand.Consume() at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery() at COServer_Project.DataBase.SaveChar(Character Charr)
I know meny ppl have this but other says that they fixed it :) how should I fix it too ?
Thx for your help.