|
You last visited: Today at 12:01
Advertisement
[Help] /model dont save
Discussion on [Help] /model dont save within the CO2 Private Server forum part of the Conquer Online 2 category.
09/06/2008, 03:09
|
#1
|
elite*gold: 0
Join Date: Feb 2007
Posts: 10
Received Thanks: 13
|
[Help] /model dont save
when use the /model command modifies perfectly.
but if I to leave game.. not save the modification..
how fix??
|
|
|
09/06/2008, 06:06
|
#2
|
elite*gold: 20
Join Date: Jan 2006
Posts: 890
Received Thanks: 241
|
Quote:
Originally Posted by kafetao
when use the /model command modifies perfectly.
but if I to leave game.. not save the modification..
how fix??
|
wouldnt u have to have it run a mysql query to edit the model in the database(not sure if it already does that, but i don't think it does) so try that out and tell me if it works or not
|
|
|
09/06/2008, 06:57
|
#3
|
elite*gold: 0
Join Date: Feb 2007
Posts: 10
Received Thanks: 13
|
yes work
|
|
|
09/06/2008, 07:27
|
#4
|
elite*gold: 20
Join Date: Jan 2006
Posts: 890
Received Thanks: 241
|
Quote:
Originally Posted by kafetao
yes work
|
k so u got it fixed? if so then np :P
|
|
|
09/06/2008, 07:31
|
#5
|
elite*gold: 0
Join Date: Feb 2007
Posts: 10
Received Thanks: 13
|
dont work when i change in game.
|
|
|
09/06/2008, 08:26
|
#6
|
elite*gold: 0
Join Date: Jun 2007
Posts: 387
Received Thanks: 64
|
Quote:
Originally Posted by lostsolder05
wouldnt u have to have it run a mysql query to edit the model in the database(not sure if it already does that, but i don't think it does) so try that out and tell me if it works or not
|
Your correct. the query would have to edit the table "model" in the database, unfortunately for the poster... im sure he has no knowledge of how to do this and expects someone to do it for him and post it here. I wont do it for you, but ill give you this: check your client.cs for your reborn code (if your source has it... if not, find Emme's LOTF post. Use this as a guide to setting up a code that will change, and save the Model table in the database. This is the only way your going to learn how to code.
|
|
|
09/06/2008, 21:56
|
#7
|
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
|
Its **** easy to do it....
|
|
|
09/06/2008, 22:07
|
#8
|
elite*gold: 0
Join Date: Aug 2008
Posts: 77
Received Thanks: 63
|
Save model
Search :
Code:
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 + "',`QuestKO` = '" + Charr.QuestKO + "',`QuestMob` = '" + Charr.QuestMob + "',`QuestFrom` = '" + Charr.QuestFrom + "' WHERE `Account` = '" + Charr.MyClient.Account + "'", Connection);
and replace them why:
Code:
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.Model + ",`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 + "',`QuestKO` = '" + Charr.QuestKO + "',`QuestMob` = '" + Charr.QuestMob + "',`QuestFrom` = '" + Charr.QuestFrom + "' WHERE `Account` = '" + Charr.MyClient.Account + "'", Connection);
|
|
|
09/06/2008, 22:16
|
#9
|
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
|
Konkiza Dont place codes into a Quote field...
|
|
|
09/06/2008, 22:31
|
#10
|
elite*gold: 0
Join Date: Feb 2007
Posts: 10
Received Thanks: 13
|
Quote:
Originally Posted by konkizta
Search :
and replace them why:

|
work fine. thx
|
|
|
09/06/2008, 23:00
|
#11
|
elite*gold: 0
Join Date: Aug 2008
Posts: 77
Received Thanks: 63
|
thanks at least one xD
|
|
|
09/07/2008, 00:13
|
#12
|
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
|
:P
|
|
|
 |
Similar Threads
|
Kalonline dont save skill list #3,4,5++
06/10/2010 - Kal Online - 16 Replies
Kalonline dont save skill list #3,4,5++
Why this happen to some people? last year my game save my slot 3 positions, but not now and everytime i login have to put all my order again, meds, skills etc.
Someone can help? anyone with this problem too?
THX
:mad:
|
My potion bar dont save
02/08/2010 - Archlord - 3 Replies
Hi, I have problem becouse when I close my game and back to game must move potion to potion bar and move cursor on healt bar. Can I fix it ?
|
Dont Aske here for Model Change
06/28/2009 - World of Warcraft - 0 Replies
USE THE LINK !
WoW Modelchange Requests
|
[BUG] items dont save
06/11/2009 - CO2 Private Server - 2 Replies
when you upgrade items with magic artisan when you relog they go back to their previous levels.
Does anyone have a solution to this?
|
sjsro dont save options
06/11/2009 - SRO Private Server - 1 Replies
Hi
my problem is sjsro dont save any options from me after evry login i have you set my options new and skillbar to i tried 3 medias can anyone help me?
|
All times are GMT +1. The time now is 12:03.
|
|