You last visited: Today at 12:34
Advertisement
[HELP]Save Bug?
Discussion on [HELP]Save Bug? within the CO2 Private Server forum part of the Conquer Online 2 category.
02/11/2009, 00:06
#1
elite*gold: 0
Join Date: Jan 2009
Posts: 26
Received Thanks: 0
[HELP]Save Bug?
i have a problem with COV2 Source ( 2009 Gift ),
the problem is that it wont save characters or i am making characters wrong, when i make one , i relog when it dcs me like its supposed to but it just takes me back..
( PeTe Ninja tried to help me, and he is working on to help me fix it ) ( this is also him posting this for me )
no flame please =]
02/11/2009, 00:13
#2
elite*gold: 0
Join Date: Feb 2006
Posts: 100
Received Thanks: 0
Quote:
Originally Posted by
hazif39
i have a problem with COV2 Source ( 2009 Gift ),
the problem is that it wont save characters or i am making characters wrong, when i make one , i relog when it dcs me like its supposed to but it just takes me back..
( PeTe Ninja tried to help me, and he is working on to help me fix it ) ( this is also him posting this for me )
no flame please =]
make sure your database matches your character in msql
02/11/2009, 01:08
#3
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
that did not make any sense.. rephrase.
02/11/2009, 03:25
#4
elite*gold: 0
Join Date: Feb 2006
Posts: 100
Received Thanks: 0
Quote:
Originally Posted by
PeTe Ninja
that did not make any sense.. rephrase.
look in database.cs " save char " void ..
go down the list:
money
hair
skills
etc..
now go to your phpadmin where you have your mysql den go to character and
make sure the list matches the one in save char void if not add
02/11/2009, 06:56
#5
elite*gold: 0
Join Date: Jan 2009
Posts: 26
Received Thanks: 0
Quote:
Originally Posted by
culo01
look in database.cs " save char " void ..
go down the list:
money
hair
skills
etc..
now go to your phpadmin where you have your mysql den go to character and
make sure the list matches the one in save char void if not add
what do u mean?
tell me what i should need to do
02/11/2009, 12:06
#6
elite*gold: 0
Join Date: Dec 2007
Posts: 226
Received Thanks: 55
he ment that this :
public static void SaveChar(Character Charr)
{
...
...
...
...
...
MySqlCommand Command = new MySqlCommand("UPDATE `Characters` SET `CharName` = '" + Charr.Name + "', `Level` = " + Charr.Level + ",`Exp` = " + Charr.Exp + ",`GuildDonation` = " + Charr.GuildDonation + ",`Strength` = " + Charr.Str + ",`Agility` = " + Charr.Agi + ",`Vitality` = " + Charr.Vit + ",`Spirit` = " + Charr.Spi + ",`Job` = " + Charr.Job + ",`Model` = " + Charr.RealModel + ",`Money` = " + Charr.Silvers + ",`CPs` = " + Charr.CPs + ",`CurrentHP` = " + Charr.CurHP + ",`StatPoints` = " + Charr.StatP + ",`MyGuild` = " + Charr.GuildID + ",`GuildPos` = " + Charr.GuildPosition + ",`LocationMap` = " + Charr.LocMap + ",`LocationX` = " + Charr.LocX + ",`LocationY` = " + Charr.LocY + ",`Hair` = " + Charr.Hair + ",`Equipment` = '" + Charr.PackedEquips + "',`Inventory` = '" + Charr.PackedInventory + "',`PKPoints` = " + Charr.PKPoints + ",`PrevMap` = " + Charr.PrevMap + ", `Skills` = '" + Charr.PackedSkills + "', `Profs` = '" + Charr.PackedProfs + "',`RBCount` = " + Charr.RBCount + ",`Avatar` = " + Charr.Avatar + ",`WHMoney` = " + Charr.WHSilvers + ",`VP` = " + Charr.VP + ",`Warehouses` = '" + Charr.PackedWHs + "',`Friends` = '" + Charr.PackedFriends + "',`Enemies` = '" + Charr.PackedEnemies + "' WHERE `Account` = '" + Charr.MyClient.Account + "'", Connection);
...
...
...
...
...
}
so the whole MySqlCommand Command has to be the same as mysql database (coproj -> Characters)
if it is not the same you'll have to add the needed stuff. anyway i don't think that this is a solution to your problem.
try this instad
delete the database(mysql)
make new database(mysql) -> coproj
go to import select backup.sql 100%.sql
and try again.
02/11/2009, 12:53
#7
elite*gold: 0
Join Date: Jan 2009
Posts: 26
Received Thanks: 0
Quote:
Originally Posted by
yuko
he ment that this :
public static void SaveChar(Character Charr)
{
...
...
...
...
...
MySqlCommand Command = new MySqlCommand("UPDATE `Characters` SET `CharName` = '" + Charr.Name + "', `Level` = " + Charr.Level + ",`Exp` = " + Charr.Exp + ",`GuildDonation` = " + Charr.GuildDonation + ",`Strength` = " + Charr.Str + ",`Agility` = " + Charr.Agi + ",`Vitality` = " + Charr.Vit + ",`Spirit` = " + Charr.Spi + ",`Job` = " + Charr.Job + ",`Model` = " + Charr.RealModel + ",`Money` = " + Charr.Silvers + ",`CPs` = " + Charr.CPs + ",`CurrentHP` = " + Charr.CurHP + ",`StatPoints` = " + Charr.StatP + ",`MyGuild` = " + Charr.GuildID + ",`GuildPos` = " + Charr.GuildPosition + ",`LocationMap` = " + Charr.LocMap + ",`LocationX` = " + Charr.LocX + ",`LocationY` = " + Charr.LocY + ",`Hair` = " + Charr.Hair + ",`Equipment` = '" + Charr.PackedEquips + "',`Inventory` = '" + Charr.PackedInventory + "',`PKPoints` = " + Charr.PKPoints + ",`PrevMap` = " + Charr.PrevMap + ", `Skills` = '" + Charr.PackedSkills + "', `Profs` = '" + Charr.PackedProfs + "',`RBCount` = " + Charr.RBCount + ",`Avatar` = " + Charr.Avatar + ",`WHMoney` = " + Charr.WHSilvers + ",`VP` = " + Charr.VP + ",`Warehouses` = '" + Charr.PackedWHs + "',`Friends` = '" + Charr.PackedFriends + "',`Enemies` = '" + Charr.PackedEnemies + "' WHERE `Account` = '" + Charr.MyClient.Account + "'", Connection);
...
...
...
...
...
}
so the whole MySqlCommand Command has to be the same as mysql database (coproj -> Characters)
if it is not the same you'll have to add the needed stuff. anyway i don't think that this is a solution to your problem.
try this instad
delete the database(mysql)
make new database(mysql) -> coproj
go to import select backup.sql 100%.sql
and try again.
not work :OOO
02/11/2009, 15:48
#8
elite*gold: 0
Join Date: Dec 2007
Posts: 226
Received Thanks: 55
try and debug
check the values
02/11/2009, 16:46
#9
elite*gold: 0
Join Date: Jan 2009
Posts: 26
Received Thanks: 0
hi well just see..
i upload the Client.cs and Character.cs just edit for me please if u can and send me here..
Attached Files
Client & Character.rar
(83.5 KB, 13 views)
02/11/2009, 17:15
#10
elite*gold: 0
Join Date: May 2008
Posts: 256
Received Thanks: 21
Im not sure how you can have a problem. I use the same source right now and i've had ABSOLUTELY NO problems with it.
Similar Threads
save to bot one day?
05/05/2012 - Silkroad Online - 6 Replies
i used the haxcrax one time. it work with the 3 programs. 100%, but how does gm ban? from rapots, scanning or do they get wired packets from my bot? (if it can, haxcrax using original client)
so just wanna know about its save to bot ONE day?
kthx
:bandit: smoke weed oO
how to save
12/10/2009 - CO2 Private Server - 19 Replies
pleas i need help
when creat guild and restart server not found it agin
and how to start GW
pleas help me
Save MH
07/10/2008 - Diablo 2 - 8 Replies
Huhu , gibs jetzt schon nen MH der halbwegs save ist ?
mfg Hertel
HELP! i need to save my ass!
12/01/2006 - Conquer Online 2 - 4 Replies
help here is my problem. i've bough an account i have almost full data...but 1 important thing is missing the id number.The guy who sold me that will just let me put item on it and then will take back the char.Well im not retard but i need your help!how can i trick him?!
All times are GMT +1. The time now is 12:34 .