Register for your free account! | Forgot your password?

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

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

Advertisement



Co best way of saving/loading using mysql.

Discussion on Co best way of saving/loading using mysql. within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2007
Posts: 469
Received Thanks: 94
Co best way of saving/loading using mysql.

i was wanting 2 now the best way 2 do the saving/loading system for my server.


like should i save a player when they logout.
or should i save everything as it changes like a update player void that saves only what changes like a player gets **** gold so it updates mysql database of how much gold they now have.


and what about items best way of handling items inside database.
i am thing about doing a
additem
updateitem
removeitem
thing like i was talking about doing up there for the char.

please post ideals of ways 2 do it/ best way 2 do it.



taylor2846 is offline  
Old 06/16/2011, 10:42   #2
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,124
Received Thanks: 2,505
Update every value when it changes, SQL is designed to perform thousands and thousands of queries every second so why would you choose to perform 1 query every session. Not to mention if the server crashes players loose literally everything.


Korvacs is offline  
Thanks
3 Users
Old 06/17/2011, 07:14   #3
 
elite*gold: 0
Join Date: Aug 2010
Posts: 343
Received Thanks: 21
yes that Correct Korvacs I have encountered that problem, but then I change the saving/loading method it works no rollback happening now.
marlyandedsel is offline  
Reply



« i want the original MobInfos.dat and there spawns | How to change or edit it? »

Similar Threads
[REL] ItemLock Saving/Loading
03/31/2010 - CO2 PServer Guides & Releases - 27 Replies
Since all those people think a code is not complete because I didn't post a save/load method, here it is. Search for foreach (Game.Item I in C.Inventory) I.WriteThis(BW); Right click it and click on go to definition. Then search for
[Tute] Saving and Loading of Cheat Table (CT)
07/24/2009 - Grand Chase Hacks, Bots, Cheats & Exploits - 12 Replies
Guys, I have experimented something and it worked for me. First, go to your MLE folder then go inside the folder named "Extra". Double Click "Clear MoonLight Engine registry", after 2ble clicking that, Look now for the "Systemretriever", 2ble click it also, just press ok after it patches. Open your Moonlight Engine and when it ask you this, "Do you want to associate .CT files with me?" (hope im right) then just click yes/ok. Then set again your settings.... Now do Sudden Death hack or...



All times are GMT +2. The time now is 00:41.


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

BTC: 33E6kMtxYa7dApCFzrS3Jb7U3NrVvo8nsK
ETH: 0xc6ec801B7563A4376751F33b0573308aDa611E05

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