Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 22:51

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

Advertisement



MySql Execute : index was outside the bounds of the array at C#

Discussion on MySql Execute : index was outside the bounds of the array at C# within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 09/19/2013, 22:33   #31
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,161
Why do you have charset latin1 and not UTF8?
_Emme_ is offline  
Thanks
1 User
Old 09/19/2013, 22:52   #32
 
abdeen's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 475
Received Thanks: 14
Quote:
Originally Posted by 'Emil View Post
Why do you have charset latin1 and not UTF8?
i don`t think it will make any changes if i change it to uft8 because i am already did but nothing new .. same problem ... !!
abdeen is offline  
Old 09/20/2013, 14:48   #33
 
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
This error has nothing to do with mysql tables. Has anyone looked at the picture posted on the 3rd page? (The one with black background)
The problem comes from somewhere inside Execute (at line 336).
@abdeen:Whilst your exception resides in Execute() you clearly don't read the name from the character packet correctly.
Post here the execute command and highlight the 336th line if you want to have this exception fixed.
-impulse- is offline  
Thanks
1 User
Old 09/20/2013, 15:30   #34
 
abdeen's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 475
Received Thanks: 14
Quote:
Originally Posted by -impulse- View Post
This error has nothing to do with mysql tables. Has anyone looked at the picture posted on the 3rd page? (The one with black background)
The problem comes from somewhere inside Execute (at line 336).
@abdeen:Whilst your exception resides in Execute() you clearly don't read the name from the character packet correctly.
Post here the execute command and highlight the 336th line if you want to have this exception fixed.
thanks brother but now i know where this error come from .. its only come if i used albertos source 5518 Forward o send client uid and token and Connect to get the client id again to use with AwaitingPool Safe Dictionary , to set client.Entity.Account

like this code

Code:
Database.AccountTable Account = null;
                if (ServerBase.Kernel.AwaitingPool.ContainsKey(FW.Identifier))
                {
                    ServerBase.Kernel.AwaitingPool.TryGetValue(FW.Identifier, out Account);
                    ServerBase.Kernel.AwaitingPool.Remove(FW.Identifier);
                    if (Account != null)
                    {
                        client.Account = Account;
                    }
                }
but if i used it without using connect class or waitingpool i don`t receive this error message !!

i fixed the problem of client character name its now working fine

this image before fixing it ..



but still get the error of MySql although i break pointed my code and got all info got a values nothing null !!
abdeen is offline  
Reply


Similar Threads Similar Threads
Array auf Negativen Index-Zugriff checken?
04/25/2013 - C/C++ - 6 Replies
Hey, Bin grade dabei in c++ Conways Game of Life zu coden zum training, nun wollte ich den Check auf Nachbar-Zellen machen, jedoch crasht das Game zu Beginn wenn man als Start-Zelle im Check nen zu geringen Wert hat. Beispiel ums genauer zu erläutern -> int mapsize=6; //Spielfeldgröße.. 6x6 Spielfeld int map; int nachbar_oben = map; //Zelle über der Zelle an "position"
[Help]Albetros MYSQL execute errors
12/22/2012 - CO2 Private Server - 11 Replies
I have some errors on that source can some1 help me please? 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'skip,1; END ; -- ---------------------------- -- Procedure structure for' at line 5 INSERT INTO spellinfo VALUES ('10359', '30010', 'IceBolt', '0036', '0', '0', '0', '0004', '0000', '0000', '120', '0000', '0100', '0000', '0008', '0020', '0000', '0000', '0', '0000', '0', '0000',...
LUA I/O & mysql (via os.execute)
10/12/2011 - Metin2 PServer Guides & Strategies - 26 Replies
Hallo =) Ich will hier mal was hoffentlich neues Releasen, dass für große Server recht interessant ist.. Ich habe von einiger Zeit mal nach Möglichkeiten gesucht, um bestimmte Daten die in einer Quest benutzt werden woanders als in in der Quest-Tabelle speichern zu lassen? Warum? Ganz einfach: Wenn ich jetzt etwas auslesen will also z.B. bei einem 2 sprachigen Server muss man ja irgendwo abspeichern, welche Sprache der user hat.. Das kann man ja ganz normal per setqf machen.. Aber wenn ich...



All times are GMT +2. The time now is 22:51.


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.