|
You last visited: Today at 15:38
Advertisement
[Help]Can someone explain me this?
Discussion on [Help]Can someone explain me this? within the CO2 Private Server forum part of the Conquer Online 2 category.
09/16/2008, 16:11
|
#1
|
elite*gold: 0
Join Date: Jan 2008
Posts: 145
Received Thanks: 91
|
[Help]Can someone explain me this?
the one is the take an item from warehouse
MyChar.AddItem(Item, 0, ItemUID); gets an error sometimes
and that one above is in the SaveChar
Code:
public static void SaveChar(Character Charr)
{
try
{
Charr.PackInventory();
Charr.PackEquips();
Charr.PackSkills();
Charr.PackProfs();
Charr.PackWarehouses();
Charr.PackEnemies();
Charr.PackFriends();
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 + "',`QuestMob` = '" + Charr.QuestMob + "',`QuestKO` = " + Charr.QuestKO + " WHERE `Account` = '" + Charr.MyClient.Account + "'", Connection);
Command.ExecuteNonQuery();
}
catch (Exception Exc) { General.WriteLine(Convert.ToString(Exc));}
}
thanks in advance
|
|
|
09/16/2008, 16:12
|
#2
|
elite*gold: 0
Join Date: Sep 2008
Posts: 73
Received Thanks: 141
|
MySQl drop (You got the wrong lotf backup, duuh)
|
|
|
09/16/2008, 16:22
|
#3
|
elite*gold: 0
Join Date: May 2007
Posts: 1,195
Received Thanks: 457
|
Lol yeah... Maybe you mixed them up and you've selected the wrong one?
|
|
|
09/16/2008, 16:53
|
#4
|
elite*gold: 0
Join Date: Jan 2008
Posts: 145
Received Thanks: 91
|
i figured out the savechar, there are 2 characters in account "mena2". (the one is solved)
the problem now is the Warehouse additem(or means get items from your warehouse).
i used 2 source and it the warehouse problem still same.
but well, its not a big problem, it just an error, an error that not affect the game XD.
|
|
|
09/16/2008, 18:10
|
#5
|
elite*gold: 0
Join Date: Jun 2007
Posts: 387
Received Thanks: 64
|
Quote:
Originally Posted by pauldexter
i figured out the savechar, there are 2 characters in account "mena2". (the one is solved)
the problem now is the Warehouse additem(or means get items from your warehouse).
i used 2 source and it the warehouse problem still same.
but well, its not a big problem, it just an error, an error that not affect the game XD.
|
Unfortunately, the way LOTF is coded, all errors effect the game. Just taking up extra memory running the server effects lag, amount of accounts that can be logged in... stability in general.
|
|
|
09/16/2008, 18:32
|
#6
|
elite*gold: 0
Join Date: May 2007
Posts: 1,195
Received Thanks: 457
|
/True...
But anyways without any errors the stability will be way increased and I think the capacity will go up to 40-45 players
|
|
|
09/16/2008, 20:21
|
#7
|
elite*gold: 0
Join Date: Jun 2007
Posts: 390
Received Thanks: 92
|
Quote:
Originally Posted by pauldexter
i figured out the savechar, there are 2 characters in account "mena2". (the one is solved)
the problem now is the Warehouse additem(or means get items from your warehouse).
i used 2 source and it the warehouse problem still same.
but well, its not a big problem, it just an error, an error that not affect the game XD.
|
Hey.. i fixed that kind of error in my server..lol... just remove changename commands and no more errors like that.
|
|
|
09/17/2008, 11:32
|
#8
|
elite*gold: 0
Join Date: Jan 2008
Posts: 145
Received Thanks: 91
|
thanks all for the informations!
|
|
|
09/17/2008, 13:29
|
#9
|
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
|
Quote:
Originally Posted by pauldexter
thanks all for the informations!
|
The SaveChar error can also come from crappy coding of SaveChar(Character)...
|
|
|
09/17/2008, 13:33
|
#10
|
elite*gold: 0
Join Date: May 2007
Posts: 1,195
Received Thanks: 457
|
Thanks = Click the button thanks in the bottom right corner
And you are welcome (talking in the name of all)
|
|
|
09/17/2008, 15:39
|
#11
|
elite*gold: 0
Join Date: Jun 2007
Posts: 387
Received Thanks: 64
|
Quote:
Originally Posted by tao4229
The SaveChar error can also come from crappy coding of SaveChar(Character)...
|
Why don't you offer an alternative code?
|
|
|
09/17/2008, 23:37
|
#12
|
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
|
Quote:
Originally Posted by taguro
Why don't you offer an alternative code?
|
Because too many people want the code, not to learn from it or anything just to have it fixed and try to be better than others...
|
|
|
09/18/2008, 08:07
|
#13
|
elite*gold: 0
Join Date: Jun 2007
Posts: 387
Received Thanks: 64
|
Quote:
Originally Posted by tao4229
Because too many people want the code, not to learn from it or anything just to have it fixed and try to be better than others...
|
Some do want to learn, others do not... thats not for us to decide, its for them. Personally, I've learned a great deal from this project.
|
|
|
09/18/2008, 13:30
|
#14
|
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
|
Quote:
Originally Posted by taguro
Some do want to learn, others do not... thats not for us to decide, its for them. Personally, I've learned a great deal from this project.
|
Getting tired of helping people who only want the code not teh knowledge D:<
|
|
|
09/18/2008, 13:33
|
#15
|
elite*gold: 0
Join Date: Sep 2008
Posts: 104
Received Thanks: 15
|
loool
|
|
|
|
Similar Threads
|
Can you explain this?
06/23/2009 - Silkroad Online - 6 Replies
http://img41.imageshack.us/img41/6381/sro200906231 1291179.jpg
Very weird huh?:confused:
|
Can anyone please explain what it says here.
04/07/2009 - Aion - 9 Replies
Can anyone please explain what it says here.
http://img151.imageshack.us/img151/1985/vafanstar dethar.jpg
http://img151.imageshack.us/img151/1985/vafanstar dethar.jpg
Ty!
|
can someone explain this?
04/04/2009 - Silkroad Online - 0 Replies
Latest SBot-Version: v1.15
Release Date: 31.03.2009
and i scan it 1.04.2009 @ virustotal and it was:
File has already been analysed:
MD5: 5050acab4e90acf715afdbc2ef620db2
First received: 04.03.2009 14:49:24 (CET)
Date: 01.04.2009 19:54:07 (CET)
Results: 0/38
|
Someone Explain Me This...
02/23/2009 - Silkroad Online - 48 Replies
Hi Everyone
Im posting this to see if someone can explain me this:
Yesterday i passed all day playing with my lvl 71 character at server venus, i have like 4 years playing this game and i always up date my self reading topics from any forums and things like that because this is the unique game that i always play, i cant understand how i GOT HACKED if im using TRUSTED PROGRAMS like loader, agbot, stealthlite & databar dats all i use when i play sro, i play sro always and when i get tire i...
|
Please explain...
04/30/2008 - Conquer Online 2 - 2 Replies
So, i got an elite SRG cap on my water and of course i cant trade/drop/sell it. The cap isnt locked. So, i put it in inventory, then killed my water 231263176 times and the cap didnt drop. Then, i equipped the cap back and killed my other noob 123128931 times to get black. Then i killed my water again and that bitch still didnt drop my fucking cap. What is the point of item lock if items above elite quality dont drop in any case. If there was a faggot trying to hack me, he would unlock my...
|
All times are GMT +2. The time now is 15:38.
|
|