Hi, I need some help and info why does these errors appear ?
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)
2#
Code:
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Hashtable.HashtableEnumerator.MoveNext()
at COServer_Project.World.RemoveEntity(SingleMob Who)
3#this one heppens after you do /dc command
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)
4#
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)
5# Main Error
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)
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 ?
Only looked at the #1 and #4,and on top of my head,this is the things that are mentioned:
UnEquip - Unequip ( obvious )
CountMisc - Of the AddExp ****,you could search for "AddExp" , then right-click it and go to definiton.
and at #4
Unequips,again
And get stats
So,you should look them up into the source,and look into an backup or w/e you got,and see the difference ,and just copy+paste from your backup to your current source.
No no no.. I didnt mean for you to use my ****. I just posted mine so you would understand a bit better. Also,that is my old if anyone wonders ,using INI files so most of that stuffs I dont use MySQL for anymore.^
And Yes,that is my MSN,guys,please do not add it,im getting sick of noobs adding it daily.
lol I marged it only for showing I didint used yours because dif fomr my setings Iunderstand that ****
I'm not famous here but in 3 weeks I'v learned a lot from this forums
and learned coding very easy
You make me happy by saying you actually learned something here.
Also,I saw that you are looking for help,not directly releases/fixes.
Nice to see we still have some persons that actually WANT to learn,and not have a good server,lol.
Keep up to good learning man,and if you have any question I will be here =]
hehe actually I have a server its in top 19 at extreme top, have players to
but I still want to learn and work
I have done mutch but still need to learn and fix
btw I think I fixed it only error 2# comes out but 2 times a day
dam still te error 5# shown up
emme if you can plz help me with this
5. "An existing connection was forcibly closed by the remote host"
Just google the error message and you can easily find a reason for why it's happening:
Quote:
The error comes when you try to do a read/write operation on a socket that has been closed.
[Guide] 2 Fixes on Sro-Errors (no bot-errors) 03/04/2011 - SRO Guides & Templates - 5 Replies Hey guys,
here are 2 fixes for silkroad-errors (not bot-errors!). I know they dont appear for many people but some guys have problems with it.
1st Fix: "Server is undergoing inspection..."
Why does this error appear?
Because Joymax has some problems with the Login-Servers.
Fix:
Step1): Click on "Start" then on "Run"
my bot gets errors? 06/14/2010 - Ragnarok Online - 2 Replies i have a auto buffer and it pulls up players as #unknown3453453
and it says cant find player
ip 67.202.104.229
port 6900
version 24
Grr >.> More Errors > 05/12/2010 - CO2 Private Server - 4 Replies Well this is my createcharacter class for 5165 and i Type its Name Choose Body Size Wen I click Enter It Gives me The Error Try again i just cant find wats the problem
using System;
using Source_Project.GameSystem;
using Source_Project.Structures;
using MySql.Data.MySqlClient;
namespace Source_Project
{
[Help] Errors 02/18/2010 - CO2 Private Server - 6 Replies #request close
Thanks spare!
44 Errors. 08/08/2009 - CO2 Private Server - 4 Replies :l.
I implemented a RB guard tutorial thing into my server but I have like so many errors. I removed all of it but i cant find any other releases, and looking through the code its far too complex for me too code my own from scratch.
This is the tut: http://www.elitepvpers.com/forum/co2-pserver-discus sions-questions/177649-release-rb-guard.html
I think this error causing the rest is 'COServer_Project.SingleMob' does not contain a constructor that takes '15' arguments'