Register for your free account! | Forgot your password?

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

  • 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
 
taylor2846's Avatar
 
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


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
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
 
marlyandedsel's Avatar
 
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


Similar Threads 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 +1. The time now is 03:04.


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.