Register for your free account! | Forgot your password?

You last visited: Today at 19:28

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


Converting !

Discussion on Converting ! within the CO2 PServer - Discussions / Questions forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
Wink Converting !

I want to know how to Convert a LOTF Source that is .ini into a Non ini Source Any Guides? Tips, ty.

Co B,c,



-Shunsui- is offline  
Old 10/21/2009, 14:10   #2
 
elite*gold: 0
Join Date: Aug 2009
Posts: 919
Received Thanks: 443
.ini just saves the information into the folder, instead of into the database.


.Guru is offline  
Old 10/21/2009, 14:44   #3
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
stay at mysql

inis wreck you acc if it has too much skills/profs
~Yuki~ is offline  
Old 10/21/2009, 16:53   #4
 
elite*gold: 0
Join Date: Jun 2009
Posts: 787
Received Thanks: 312
Do the hokey-pokey and learn to code.


_tao4229_ is offline  
Old 10/21/2009, 16:56   #5
 
elite*gold: 0
Join Date: Jan 2007
Posts: 1,034
Received Thanks: 58
Quote:
Originally Posted by ~Yuki~ View Post
stay at mysql

inis wreck you acc if it has too much skills/profs
Rofl right ini class wont have any problems.
damianpesta is offline  
Old 10/21/2009, 17:05   #6
 
elite*gold: 0
Join Date: Oct 2009
Posts: 66
Received Thanks: 11
Dude, I would help you but I don't know how bro.
StarCurse is offline  
Old 10/21/2009, 17:57   #7
 
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 505
Quote:
Originally Posted by StarCurse View Post
Dude, I would help you but I don't know how bro.
Really useful..

@OP, just change the save and load system to MySQL. Just use some LOTF source and see how they did it. All you have to do is change the table names and maybe add some tables and / or delete some. It's easy, but might take a while.
Basser is offline  
Thanks
1 User
Old 10/21/2009, 21:35   #8
 
elite*gold: 0
Join Date: Oct 2009
Posts: 45
Received Thanks: 3
Your going to have to get rid of the statements/functions that write to INI files, and replace them with statements/functions that write to a SQL (or whatever kind) of database you wish to use.

Because of how you worded your post, I'm going to assume you expect someone to do it for you (as in give you the code) which sadly is unlikely to happen.
_Tequila_ is offline  
Thanks
1 User
Old 10/21/2009, 21:38   #9
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
@Smythe94 - Thanks ill take a look at that ;P

-----

@Tequila - ty too,
-Shunsui- is offline  
Old 10/23/2009, 11:11   #10
 
elite*gold: 0
Join Date: Oct 2009
Posts: 31
Received Thanks: 2
MySQL is Better than .ini files source....Trust me..i convert my PazeCO v3 (ini source) to Co: Paze v3 (MySQL Source)
Co: Paze v3 is offline  
Old 10/23/2009, 16:26   #11
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
I never said INI is gerneral bad i myselfe use ini atm coz i like to be able to edit in runtime
~Yuki~ is offline  
Old 10/23/2009, 21:22   #12
 
elite*gold: 0
Join Date: Oct 2009
Posts: 45
Received Thanks: 3
If you don't know how to edit a file at runtime you really shouldn't be calling yourself a programmer considering there is Win32 API functions to deal with INI files which can be harnessed into an easy-to-use wrapper-class.

In what sense is MySQL better than a flat-file system? You can't really just say "x" is better than "y" in this kind of case. With a flat-file system your less prone to have you system "hijacked", where as with a SQL-database, an attacker can generally find some way to SQL-inject and breach your database. This is just one example but the list goes on with SQL-languages winning some, and flat-files winning some.
_Tequila_ is offline  
Old 10/23/2009, 22:51   #13
 
elite*gold: 0
Join Date: Jun 2009
Posts: 787
Received Thanks: 312
Quote:
Originally Posted by _Tequila_ View Post
If you don't know how to edit a file at runtime you really shouldn't be calling yourself a programmer considering there is Win32 API functions to deal with INI files which can be harnessed into an easy-to-use wrapper-class.

In what sense is MySQL better than a flat-file system? You can't really just say "x" is better than "y" in this kind of case. With a flat-file system your less prone to have you system "hijacked", where as with a SQL-database, an attacker can generally find some way to SQL-inject and breach your database. This is just one example but the list goes on with SQL-languages winning some, and flat-files winning some.
Lol, the only reason a few of the consider-themselves-smart people here say MySQL is better is because they either
1) Only listen to what they're told - Since sparkie will eat your face if you don't use a database system
2) Are retarded beyond reason like most

None of them have any real experience or testing done in the field of data management.
_tao4229_ is offline  
Old 10/24/2009, 00:33   #14
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
Well,
Thanks Alot Guys #Request Close

I Wount be needing this Anymore,


-Shunsui- is offline  
Reply



« RveS-Co Back With Ninja.!! | [REQUEST]NPC BOXER »

Similar Threads
[HELP] Converting INI To Sql
08/10/2010 - CO2 PServer - Discussions / Questions - 1 Replies
Hey guys I have run into a problem converting my INI Source to Sql. I am in the process of converting the NPCs from INI. I have converted the ini file thats the easy part but I am stuck on the spawning. I can get the NPCs to load but not to spawn.. **EDIT** Just figured it out. #Request Close
Converting nc models
07/05/2010 - General Gaming Discussion - 3 Replies
ok, i try to convert the nc model files (actor files) in a other format, do anyone know, how kk protect the actor files? No modelprogramm can open/work with the files :(
[Help]Converting...
02/02/2010 - CO2 PServer - Discussions / Questions - 4 Replies
How to convert the packet public static byte ItemLock(int ItemUID, int Type01, int Type02, int Series) { PacketBuilder Packet = new PacketBuilder(2048, 16); Packet.Long(ItemUID); Packet.Int(Type01); Packet.Int(Type02); Packet.Short(0);//where do u call ItemLock method Packet.Long(Series);
[Help]Packet Converting :P
01/18/2010 - CO2 PServer - Discussions / Questions - 1 Replies
Hello Everybody, I was Wondering if anybody could help me out i want to learn how to convert packets from 5195 back to 5165 preferably the Flower Packets...Add me on Msn [email protected] Thanks, LeGend
converting
01/27/2009 - Dekaron - 3 Replies
when using winhex after you change the offsets u want how do u convert the winhex file to the files that acclaim uses is there a program? or do i have to get the full version of winhex to do this



All times are GMT +2. The time now is 19:28.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

BTC: 3KeUpz52VCbhmLwuwydqxu6U1xsgbT8YT5
ETH: 0xc6ec801B7563A4376751F33b0573308aDa611E05

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