|
You last visited: Today at 02:28
Advertisement
Help Where the Error at My Database
Discussion on Help Where the Error at My Database within the CO2 Private Server forum part of the Conquer Online 2 category.
02/09/2012, 19:35
|
#1
|
elite*gold: 0
Join Date: Oct 2008
Posts: 708
Received Thanks: 46
|
Help Where the Error at My Database
PHP Code:
----Exception message----
Fatal error encountered during command execution.
----End of exception message----
----Stack trace----
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
at Conquer_Online_Server.Database.MySqlReader.TryFill(MySqlCommand command) in C:\Users\WarCraft\Desktop\Joseph - Copy\Source (Warcraftsco)\Database\MySql\MySqlReader.cs:line 26
at Conquer_Online_Server.Database.MySqlReader..ctor(MySqlCommand command) in C:\Users\WarCraft\Desktop\Joseph - Copy\Source (Warcraftsco)\Database\MySql\MySqlReader.cs:line 17
at Conquer_Online_Server.Database.SkillTable.LoadSpells(GameState client, MySqlConnection conn) in C:\Users\WarCraft\Desktop\Joseph - Copy\Source (Warcraftsco)\Database\SkillTable.cs:line 112
at Conquer_Online_Server.Network.PacketHandler.DoLogin(Object _client) in C:\Users\WarCraft\Desktop\Joseph - Copy\Source (Warcraftsco)\Network\PacketHandler.cs:line 11429
at Conquer_Online_Server.Network.PacketHandler.AppendConnect(Connect appendConnect, GameState client) in C:\Users\WarCraft\Desktop\Joseph - Copy\Source (Warcraftsco)\Network\PacketHandler.cs:line 11401
at Conquer_Online_Server.Network.PacketHandler.HandlePacket(Byte[] packet, GameState client) in C:\Users\WarCraft\Desktop\Joseph - Copy\Source (Warcraftsco)\Network\PacketHandler.cs:line 1035
----End of stack trace----
|
|
|
02/09/2012, 20:16
|
#2
|
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
|
The errors mention the filename and the line where the error occurred, simply try check them all.
|
|
|
02/09/2012, 20:35
|
#3
|
elite*gold: 0
Join Date: Oct 2008
Posts: 708
Received Thanks: 46
|
Quote:
Originally Posted by Kiyono
The errors mention the filename and the line where the error occurred, simply try check them all.
|
thank for answer but can you explain more please and thanks and this at database or Source ?
|
|
|
02/09/2012, 20:36
|
#4
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,190
|
Are you disposing of connections properly?
If you are, are you killing connections properly?
(Here's what I mean by  )
i'm going to class now, I'll check back on this later.
|
|
|
02/09/2012, 21:10
|
#5
|
elite*gold: 0
Join Date: Oct 2008
Posts: 708
Received Thanks: 46
|
Quote:
Originally Posted by Fаng
Are you disposing of connections properly?
If you are, are you killing connections properly?
(Here's what I mean by  )
i'm going to class now, I'll check back on this later.
|
thanks for help but it's just happend from yasterday i was run my game for about 2 month and this first time to happened to me
|
|
|
02/09/2012, 23:54
|
#6
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,190
|
Well... unfortunately, conquer online private server projects are big. There could be a lot of causes to this problem. Let's first cover whether or not that you're disposing of things properly. (1) Are you using a thread that loops every 20000 milliseconds or so to kill sleeping connections (like the void seen in the link I posted)? (2) Are you disposing of your connections? If you don't, the pool can get blocked up and start spamming error messages (similar to that). It also seems like you have truncated your error message. (3) Was there an error code (specifically a number) that went along with it?
|
|
|
02/10/2012, 08:43
|
#7
|
elite*gold: 0
Join Date: Jul 2011
Posts: 218
Received Thanks: 33
|
Quote:
Originally Posted by Fаng
Are you disposing of connections properly?
If you are, are you killing connections properly?
(Here's what I mean by  )
i'm going to class now, I'll check back on this later.
|
select concat('KILL ',id,';') from information_schema.processlist where user='root'
Just execute that query and it should be a little less work then ur solution, and a little more efficient.
|
|
|
02/10/2012, 08:51
|
#8
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,190
|
Quote:
Originally Posted by 12k
select concat('KILL ',id,';') from information_schema.processlist where user='root'
Just execute that query and it should be a little less work then ur solution, and a little more efficient.
|
Code:
public static string Concat(object arg0, object arg1)
{
if (arg0 == null)
{
arg0 = Empty;
}
if (arg1 == null)
{
arg1 = Empty;
}
return (arg0.ToString() + arg1.ToString());
}
That's the method from Framework.
It's basically the same thing.
|
|
|
02/10/2012, 09:38
|
#9
|
elite*gold: 0
Join Date: Dec 2011
Posts: 214
Received Thanks: 108
|
I cannot even access your site.
#Fix please.
|
|
|
02/10/2012, 10:23
|
#10
|
elite*gold: 0
Join Date: Oct 2008
Posts: 708
Received Thanks: 46
|
 i dont have Full Source Just Debug so i can't Resolve it  ?
|
|
|
02/10/2012, 11:05
|
#11
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,190
|
Quote:
Originally Posted by magnon
 i dont have Full Source Just Debug so i can't Resolve it  ?
|
I'm going to bed now. I'm really tired. Try "  ". That's what I use to teach myself about Microsoft Framework.
|
|
|
02/10/2012, 11:38
|
#12
|
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
|
Quote:
Originally Posted by Fаng
I'm going to bed now. I'm really tired. Try "  ". That's what I use to teach myself about Microsoft Framework.
|
RedGate's reflector sucks.
|
|
|
02/10/2012, 11:54
|
#13
|
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
|
Quote:
Originally Posted by I don't have a username
RedGate's reflector sucks.
|
Then mind suggesting a better one?
|
|
|
02/11/2012, 00:46
|
#14
|
elite*gold: 0
Join Date: Oct 2008
Posts: 708
Received Thanks: 46
|
yes reflector not good not out full source and have alot of errror
|
|
|
02/11/2012, 01:03
|
#15
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,190
|
Quote:
Originally Posted by magnon
yes reflector not good not out full source and have alot of errror
|
Try downloading a full source or talking with the coder of the bin that you downloaded then. There's not much you can do unless you get the source (unless you want to make a hook which is much to advanced for this situation). You could just put it into a different program and run that along side it...
|
|
|
 |
Similar Threads
|
V17 Database Error
06/06/2011 - Flyff Private Server - 8 Replies
Hey,
ich wollte n P-server nach Mr.Helper´s v17 TuT machen.
Es lief eigentlich alles super, doch als ich den Database server starten wollte kam die bekannte Fehlmeldung "FAIL read ini" usw.....
Bei anderen Threads hab ich bis jetzt noch keine antwort gefunden.
kann mir jemand helfen?
|
Database U1 Error
05/08/2011 - Flyff Private Server - 0 Replies
Hi ich hab nen problem woran könnte es liegen das ich den error
query:{call CHARACTER_STR('U1','0000001','01','',?,?,?,?,?,?,? ,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,? ,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,? ,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,? ,?,?,?,?, 0, 0, 0,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
SQLSTATE:22001 error:Die Zeichenfolgedaten wurden rechts abgeschnitten
bekomme.
|
Database.cs Error
06/17/2010 - CO2 Private Server - 6 Replies
Can someone help me fix this error in red?
public double ReadDouble(string Section, string Key)
{
string section = "";
IniSectionStructure ISS = null;
Sections.TryGetValue(section, out ISS);
if (ISS != null)
{
IniValueStructure IVS = null;
|
Database.cs Error?
12/13/2009 - CO2 Private Server - 2 Replies
Well I get my friends playing my server and I'm getting this alot. This therefore isn't saving them. They also DC alot but maybe thats more to do with my conenction.
http://img704.imageshack.us/img704/2858/error1n.p ng
and inside line 1183 is the save char region.
public static void SaveCharacter(Game.Character C, string Acc)
{
try
{
FileStream FS = new FileStream(@"C:\OldCODB\Users\Characters\&quo t; + C.Name + ".chr", FileMode.Open);
...
|
[Help] SQL Error with DataBase
10/29/2009 - Aion - 0 Replies
Hey im working on my Server and i think i have everything working but when i run the Sql to add my database to navicat it says there is an error :( If someone can help me add me on msn please and thank you.
[email protected]
|
All times are GMT +1. The time now is 02:30.
|
|