Register for your free account! | Forgot your password?

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

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

Advertisement



[REL] Save char cps thingy^^

Discussion on [REL] Save char cps thingy^^ within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
xellios's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 310
Received Thanks: 13
Post [REL] Save char cps thingy^^

Find this
Code:
MySqlCommand Cmd = new MySqlCommand("UPDATE `characters` SET `Level` = " + Client.Level + ", `WHMoney` = " + Client.WHMoney + ", `PkPoints` = " + Client.PkPoints + ", `xCord` = " + Client.X + ", `yCord` = " + Client.Y + ", `Map` = " + (int)Client.Map + ", `HairStyle` = " + Client.Hair + ", `Class` = " + (int)Client.Class + ", `Exp` = " + Client.Exp + ", `Money` = " + Client.Money +", `Str` = " + Client.Strength + ",`Vit` = " + Client.Vitality + ", `Spi` = " + Client.Spirit + ", `Dex` = " + Client.Dexterity + ", `StatPoints` = " + Client.StatPoints + ", `FirstLog` = " + 1 + ", `Reborn` = " + Client.Reborn + ", `HP` = " + Client.CurrentHP + ", `MP` = " + Client.CurrentMP + " WHERE `CharID` = " + Client.ID, DatabaseConnection.NewConnection());
Replace it with this
Code:
			MySqlCommand Cmd = new MySqlCommand("UPDATE `characters` SET `Level` = " + Client.Level + ", `WHMoney` = " + Client.WHMoney + ", `CPs` = " + Client.CPs + "`PKPoints` = " + Client.PKPoints+", `xCord` = " + Client.X + ", `yCord` = " + Client.Y + ", `Map` = " + (int)Client.Map + ", `HairStyle` = " + Client.Hair + ", `Class` = " + (int)Client.Class + ", `Exp` = " + Client.Exp + ", `Money` = " + Client.Money +",`Str` = " + Client.Strength + ",`Vit` = " + Client.Vitality + ", `Spi` = " + Client.Spirit + ", `Dex` = " + Client.Dexterity + ", `StatPoints` = " + Client.StatPoints + ", `FirstLog` = " + 1 + ", `Reborn` = " + Client.Reborn + ", `HP` = " + Client.CurrentHP + ", `MP` = " + Client.CurrentMP + " WHERE `CharID` = " + Client.ID, DatabaseConnection.NewConnection());
Say thanks if it helped
xellios is offline  
Thanks
1 User
Old 06/23/2009, 06:09   #2
 
elite*gold: 0
Join Date: Apr 2007
Posts: 69
Received Thanks: 3
Bit more information... which file is that command located in?
Illustria is offline  
Old 06/23/2009, 07:35   #3
 
elite*gold: 0
Join Date: Jun 2009
Posts: 33
Received Thanks: 3
cud u add how to save items as well?
Akarama is offline  
Old 06/24/2009, 04:40   #4
 
WHITELIONX's Avatar
 
elite*gold: 0
Join Date: Apr 2006
Posts: 534
Received Thanks: 66
Great but it is PkPoints and not PKPoints :P
WHITELIONX is offline  
Old 06/24/2009, 18:01   #5
 
xellios's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 310
Received Thanks: 13
WHITELIONX;2427896]Great but it is PkPoints and not PKPoints :P
Well i hope theyre not that dumb that they cant change it? anyway its like that by me so i didnt know it was different untill my buddy tested it
xellios is offline  
Old 07/03/2009, 16:15   #6
 
darkmanx1's Avatar
 
elite*gold: 0
Join Date: Jan 2007
Posts: 96
Received Thanks: 8
Quote:
Originally Posted by Illustria View Post
Bit more information... which file is that command located in?
Database.cs

to search it hit ctrl+f and copy paste that line then in the box below it click down arrow and select entire solution.
darkmanx1 is offline  
Reply


Similar Threads Similar Threads
[HELP] C# Error thingy
12/17/2008 - CO2 Private Server - 0 Replies
well after i edited stuff like console title and NPC dialogs in client.cs and genereal.cs i click on rebuild solution then when i go look for COServer its nto there its a PD8 file den i tryed copying the backup and still nothing help plz :S
Char Save Problem With Pic
11/28/2008 - CO2 Private Server - 2 Replies
in My Source Chars Not Save What Problem can any one help me here my Problem http://www10.0zz0.com/2008/11/27/10/236698478.gif
great way to save cash~~with your char
04/23/2008 - CO2 Guides & Templates - 10 Replies
THIS IS MY FIRST POST AND MY FIRST GUIDE PLEASE DON'T GET MAD IF I DID SOMETHING WRONG THE REASON WHY I MADE THIS GUIDE: in conquer i always see people buying new equipment even though they have a met and a piece of lower leveled equipment. this annoys me so i trade them and 50% of the time they show me a met. WHAT YOU NEED: 1+ mets (get one from market or bird island) a piece of low leveled equipment(recomended elite or super) enough money to buy elite/super item unless you already...
C7 thingy
11/16/2007 - Silkroad Online - 8 Replies
WTF .. lol i get C7 when i try to login anyone getting it too?:confused::confused::confused::(
another tg thingy
01/04/2007 - CO2 Guides & Templates - 4 Replies
:D idk if this have been post or not but now we dont have cotobo so if u tg and it lag or dc or blah blah w/e u can just to ur conquer file and just simple remove the 3D effect :D



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


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