Register for your free account! | Forgot your password?

You last visited: Today at 05:29

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

Advertisement



LOTF Bugs

Discussion on LOTF Bugs within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 08/19/2009, 23:22   #31
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
Quote:
Originally Posted by _tao4229_ View Post
MySQL is actually harder to use code-wise.(Or any SQL really that I've used, which is MySQL/MSSQL and I've read code using PostgreSQL [ehhhhh])
You've obviously never handled a database alone so I can't really blame you there.
Can't really agree with that. Once you learn the basic of SQL querys, you're ready to go. All you really have to do is catch, set and close basically. Besides, textfiles are slow to parse, and MySQL IS faster than INI files, MySQL takes less space than INI files on the host, why else would serious games use SQL databases instead of INI files.

SQL > Ini ( IMO )
_Emme_ is offline  
Old 08/19/2009, 23:36   #32
 
elite*gold: 0
Join Date: Jun 2009
Posts: 787
Received Thanks: 314
There's only one function you need to know to write, one for read (for strings).
With MySQL you have to worry about live connections (and the multithreaded connections, although INI files aren't thread safe themselves considering the file could be already an open handle elsewhere). Connections can be already in use, or dropped, and can't 'die' if over-spammed. In order to read a file you have to use a query to make a data reader, then query from the entry in the table. In order to read a value from an INI file, you call one function (assuming this from a C/C++ background where you can directly call a native function without having to marshal parameters etc).

Not arguing about speed, that wasn't my point. Text files are actually faster to parse if you need one thing of data at start-up than actually making a live connection and sending queries only to be closed again. The only thing that makes ini's slow at reading an entire character data is the fact that the win32 API opens and closes a file every time you call a read/write function to an ini (Write/ReadPrivateProfileString) and that it needs to parse out every string until it finds the right section/key.

My point is about using them in a program, not the speed or what you think of them, stop straying from the argument here.
To quote one of your idols (and make a point):
Quote:
Originally Posted by unknownone View Post
It's not opinion that binary files are grossly better for performance, It's hard fact. Are you trying to teach us something new? Because this is the basic of the basic.
And if you didn't know SQL database use structured binary files (structures depending on the table).
_tao4229_ is offline  
Old 08/19/2009, 23:42   #33
 
InfamousNoone's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,885
Quote:
Originally Posted by EmmeTheCoder View Post
Can't really agree with that. Once you learn the basic of SQL querys, you're ready to go. All you really have to do is catch, set and close basically. Besides, textfiles are slow to parse, and MySQL IS faster than INI files, MySQL takes less space than INI files on the host, why else would serious games use SQL databases instead of INI files.

SQL > Ini ( IMO )
Under certain circumstances, wrong, wrong, simplicity of editing the database / web support / already build APIs.
InfamousNoone is offline  
Old 08/19/2009, 23:50   #34
 
elite*gold: 0
Join Date: Jul 2009
Posts: 548
Received Thanks: 52
Quote:
Originally Posted by InfamousNoone View Post
Under certain circumstances, wrong, wrong, simplicity of editing the database / web support / already build APIs.

you rock my socks.


i like using mysql, because i dont know how to use either of them efficiently and if i use ini its going to take me long to convert.
f0am is offline  
Reply


Similar Threads Similar Threads
[HELP] Compile error with LOTF(i know LOTF sucks but just help)
06/19/2009 - CO2 Private Server - 3 Replies
It says: Loaded 254 portals. Loaded 1027 NPCs. Loaded 37 mobs. Loaded 11147 items. Loaded 172 mob spawns. System.ArgumentOutOfRangeException: 'minValue' cannot be greater then mxValue. Parameter name : minValue at System.Random.Next<Int32 minValue, Int32 maxValue> at COServer_Project.Mobs.SpawnAllMobs<> in C:\Documents and Settings\Admin\My Documents\COServerProject1\COServerProject\Entitie s.cs:line 207
[Bugs]I have a few bugs in Jezebelco source![bugs]
05/12/2009 - CO2 Private Server - 5 Replies
hello elitepvpers! When I create an account and login it is in Birthvillage but I can't get out of Birthvillage. Can someone help me whit this?
LOTF BUGS
04/20/2009 - CO2 Private Server - 6 Replies
There isn't a good source haven't bugs 100%? im using LOTF and it have alot of bugs some accounts when i make it it work then it never works some accounst i should res the server to work etc etc... can you guy's post a source without database bugs?



All times are GMT +1. The time now is 05:30.


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.