Register for your free account! | Forgot your password?

You last visited: Today at 01:00

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Stupid Error

Discussion on Stupid Error within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
$HaDoW's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 285
Received Thanks: 78
Exclamation Stupid Error

this is a very strange error it happends before but I still dont know the problem
my mysql is working fine
heres the error and plz help me to fix it
Code:
MySql.Data.MySqlClient.MySqlException: Connection unexpectedly terminated ---> System.IndexOutOfRangeException: Probable I/O race condition detected while copying memory. The I/O package is not thread safe by default. In multithreaded applications, a stream must be accessed in a thread-safe way, such as a thread-safe wrapper returned by TextReader's or TextWriter's Synchronized methods. This also applies to classes like StreamWriter and StreamReader.
   at System.Buffer.InternalBlockCopy(Array src, Int32 srcOffset, Array dst, Int32 dstOffset, Int32 count)
   at System.IO.BufferedStream.Read(Byte[] array, Int32 offset, Int32 count)
   at MySql.Data.MySqlClient.PacketReader.Read(Byte[]& buffer, Int64 pos, Int64 len)
   --- End of inner exception stack trace ---
   at MySql.Data.MySqlClient.PacketReader.Read(Byte[]& buffer, Int64 pos, Int64 len)
   at MySql.Data.MySqlClient.PacketReader.Skip(Int64 count)
   at MySql.Data.MySqlClient.PacketReader.OpenPacket()
   at MySql.Data.MySqlClient.NativeDriver.ReadResult(Int64& affectedRows, Int64& lastInsertId)
   at MySql.Data.MySqlClient.CommandResult.ReadNextResult(Boolean isFirst)
   at MySql.Data.MySqlClient.CommandResult..ctor(Driver d, Boolean isBinary)
   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)
Code:
System.InvalidOperationException: Connection must be valid and open
   at MySql.Data.MySqlClient.MySqlCommand.CheckState()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()
   at COServer_Project.DataBase.SaveChar(Character Charr)
whene these errors come out I need to restartr server every item that player got or level everything disappear and server start to lag so mutch that you cant play ! so what is the problem ?
$HaDoW is offline  
Old 09/20/2008, 11:13   #2
 
taguro's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 387
Received Thanks: 64
Something in your coding is causing an error with mysql, that is, in turn, closing the connection to your database. this is why your characters arent saving and your server is lagging so badly.
taguro is offline  
Old 09/20/2008, 11:21   #3
 
$HaDoW's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 285
Received Thanks: 78
mhm mabye you could help me with msn ? because I'm ryl stuck on this one
$HaDoW is offline  
Old 09/20/2008, 11:22   #4
 
elite*gold: 0
Join Date: Jul 2008
Posts: 103
Received Thanks: 52
noob its a mysql drop-.- you got the wrong backup!
#EvolutioN is offline  
Old 09/20/2008, 11:32   #5
 
$HaDoW's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 285
Received Thanks: 78
mhm mabye it is a databse error but how can i know whats wrong ?
btw it only appears when someone does something in game or logins sometimes this error never comes out but sometimes it comes and its ******* me !


and if its databse is it table problem or info inside for exmp char,guild and so on ?
$HaDoW is offline  
Reply


Similar Threads Similar Threads
Stupid me, stupid error.
07/16/2010 - Dekaron Private Server - 3 Replies
Ok. I dont know if its been posted before. Everything works, except my dekaronserver.exe. This is the error e:\release\dekaron\1.90.5.4\server\dekaron\service object\loader\../. ./Share/LogicObject/Support/ITable.h, Line: 145 that i get just before it closes. Any help is appreciated.
stupid error ! how to remove it
06/05/2010 - CO2 Private Server - 11 Replies
see my problem. i can't remove it :mad: http://img404.imageshack.us/img404/3357/error2f.p ng Uploaded with ImageShack.us
Help me please, stupid error. Just look please:)
06/17/2009 - Kal Online - 0 Replies
"c:\.................\.........\kalromania\ka lromania\protectC.dll" Access denied And after that i start kal and it cant load dynamic link library protectC.dll what 2 do ? anyone know?
Have some stupid error (need help)
10/26/2008 - Perfect World - 1 Replies
i installed PW updated evrythings seems to be ok but i run game and here comes this http://img384.imageshack.us/my.php?image=32253011 tc0.jpg http://img384.imageshack.us/my.php?image=32253011 tc0.jpg any help? Btw i'm useing vista x64bit system
Stupid Error
06/22/2006 - Conquer Online 2 - 8 Replies
my gf gets this error wich block her from macroing the archer in lab and other stuff, can someone please help? i gave her anti viruse programs and stuff didnt work.. i checked her msconfig .. i disabled all .. didnt work neither, please need help.



All times are GMT +2. The time now is 01:00.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.