Register for your free account! | Forgot your password?

You last visited: Today at 23:50

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

Advertisement



[Help] trade in coemu

Discussion on [Help] trade in coemu within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2008
Posts: 103
Received Thanks: 3
[Help] trade in coemu

when i trade cps to someone and he exit from the game and log in again he found cps 0 cuz the game not save the cps
and i have this in game sever window :
unknown packet type 1151
can anyone fix it
m7med is offline  
Old 06/29/2009, 21:38   #2
 
PurePwnage23's Avatar
 
elite*gold: 0
Join Date: Nov 2008
Posts: 38
Received Thanks: 18
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 The Full Line With

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());
Credits To xellios

Next Time Use Search....
PurePwnage23 is offline  
Old 06/29/2009, 21:58   #3
 
n0mansland's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 780
Received Thanks: 255
Quote:
Originally Posted by m7med View Post
when i trade cps to someone and he exit from the game and log in again he found cps 0 cuz the game not save the cps
and i have this in game sever window :
unknown packet type 1151
can anyone fix it
lol howd you find out how to do definitions? or you just looked at it and finally figured it out
n0mansland is offline  
Old 06/29/2009, 22:15   #4

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
Quote:
Originally Posted by n0mansland View Post
lol howd you find out how to do definitions? or you just looked at it and finally figured it out
He could've found some C# tuts.
Kiyono is offline  
Old 06/29/2009, 22:18   #5
 
n0mansland's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 780
Received Thanks: 255
Maybe.. I should prolly do that havent found time to read 500 tuts on it *SO BORING* All i know now is from looking at codes
n0mansland is offline  
Reply


Similar Threads Similar Threads
[REQUEST]CoEmu TRADE packet
10/05/2009 - CO2 Private Server - 2 Replies
Hey who can give me fully working trade system on coemu v2 source? thanks a lot:D
[Release]Trade...(CoEmu v2)
06/01/2009 - CO2 PServer Guides & Releases - 9 Replies
close this thread, way too many whiners.



All times are GMT +1. The time now is 23:51.


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

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