Register for your free account! | Forgot your password?

You last visited: Today at 21:26

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

Advertisement



Database.cs Error

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

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2010
Posts: 6
Received Thanks: 0
Database.cs Error

Can someone help me fix this error in red?

Code:
public double ReadDouble(string Section, string Key)
        {
            string section = "[" + Section + "]";
            IniSectionStructure ISS = null;
            Sections.TryGetValue(section, out ISS);
            if (ISS != null)
            {
                IniValueStructure IVS = null;
                ISS.Variables.TryGetValue(Key, out IVS);
                if (IVS != null)
                    [COLOR="Red"]return double.Parse(IVS.Value);[/COLOR]
            }
            return 0;
        }
BigBuster is offline  
Old 06/15/2010, 18:03   #2
 
elite*gold: 0
Join Date: Jun 2010
Posts: 95
Received Thanks: 11
what did u edit?
what source?
what version?
etc.
you need to put some informations.
xStylo is offline  
Old 06/15/2010, 18:06   #3
 
elite*gold: 0
Join Date: Jun 2010
Posts: 6
Received Thanks: 0
I didn't edit anything.
It's a new source I downloaded.
I get that error when I debug.
BigBuster is offline  
Old 06/15/2010, 18:14   #4
 
elite*gold: 0
Join Date: Jun 2010
Posts: 95
Received Thanks: 11
what version 5017, 5165, 5095??
xStylo is offline  
Old 06/17/2010, 02:25   #5
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
Decker account.
#reported.
Arcо is offline  
Old 06/17/2010, 02:43   #6
 
elite*gold: 0
Join Date: May 2010
Posts: 630
Received Thanks: 130
why do you even bother in wasting time on it?
.Summer is offline  
Old 06/17/2010, 05:35   #7
 
xScott's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 322
Received Thanks: 63
Looks like elite-CoEmu
xScott is offline  
Reply


Similar Threads Similar Threads
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]
Error MySQL Connection and New Database
11/24/2008 - CO2 Private Server - 8 Replies
My first problem: I'm trying to remake another server using LOTF this time, but now when I try to open up the localhost connection in MySQL I get this error: 2003 - Can't connect to MySQL server on 'localhost' (10016). I remember this error happened to me before as well, but I forget what exactly I did to fix it because it was working later on. If I can't open the connection then I can't make a new database. My second problem: When I go here "http://localhost/phpmyadmin" The page cannot be...
[HELP] DataBase Error
09/12/2008 - CO2 Private Server - 1 Replies
http://img261.imageshack.us/img261/739/databaseerr ortw9.png İ use Steals Server Pack What is wrong here ?? -- phpMyAdmin SQL Dump -- version 2.10.3 -- http://www.phpmyadmin.net --
wbblite sql database error
09/10/2008 - Technical Support - 0 Replies
huh, ich hab seit heute das problem dass ich in meinem forum weder neue threats erstellen, noch replys posten kann.. verändert habe ich zur zeit nichts, aber ich hörte dass es gestern mal nen kurzen serverdown gab :o SQL-DATABASE ERROR Database error in WoltLab Burning Board: Invalid SQL: INSERT INTO bb1_posts (parentpostid,threadid,userid,username,iconid,post topic,posttime,message,allowsmilies,showsignature, ipaddress,visible) VALUES...



All times are GMT +1. The time now is 21:26.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.