[Request]Guides

09/25/2008 03:27 stephanyd#106
Quote:
Originally Posted by pauldexter View Post
@stephanyd
don't quote the whole post.

im good now, in DataBase.cs at public static void GetCharInfo

then put the codes in that area there.
lol.. sorry... only 1 thing i can't see spouse name in status... can u see it in ur ?:confused:
09/25/2008 03:31 tao4229#107
To see it in status you need to add it to the SpawnEntity and Char info packets.
09/25/2008 03:40 stephanyd#108
This is a screenshot of my char info.. do i nees to change something ?
09/25/2008 03:44 tao4229#109
Quote:
Originally Posted by stephanyd View Post
This is a screenshot of my char info.. do i nees to change something ?
I fucking swear, IF YOU CANNOT READ THAT SIMPLE CODE, AND CHANGE 1 FREAKING LINE, GIVE UP NOW.
09/25/2008 04:24 stephanyd#110
Quote:
Originally Posted by tao4229 View Post
I fucking swear, IF YOU CANNOT READ THAT SIMPLE CODE, AND CHANGE 1 FREAKING LINE, GIVE UP NOW.
And if u cannot anser to help... u should not reply..lmao.. we are not all genius like u man;)
09/25/2008 04:38 Kratos59#111
In database, i have add u code and in database i have add that :

public static void SaveSpouse(Character Charr)
{
try
{
MySqlCommand Command = new MySqlCommand("UPDATE `Characters` SET `Spouse` = '" + Charr.Spouse + "' WHERE `Account` = '" + Charr.MyClient.Account + "'", Connection);
Command.ExecuteNonQuery();
}
catch (Exception Exc)
{
General.WriteLine(Convert.ToString(Exc));
Connection.Close();
Connect("username(mysql)", "password(mysql)");
if (World.SaveAllChars())
{
General.WriteLine("Connection to mysql server reinitiated");
}
else
{
General.WriteLine("Connection Error, server restarting! " + DateTime.Now);
General.ServerRestart();
}
}
}

but the line : if (World.SaveAllChars()) it's say a error : Impossible to convert the type void in bool

Thank u for helping ^^
09/25/2008 14:11 konkizta#112
very well and I managed to see the equipment to another person can see your spouse. But I do not see achievement in my character information.

can someone help me?
09/25/2008 14:13 !DeX!#113
  • any one have mob ID TXT and anyone can learn me how to make maob spawn :pimp:
09/25/2008 14:42 Rechocto#114
Quote:
maob
make a MOAB spawn? :o... that would be pretty.... how should I put this... DESTRUCTIVE
09/25/2008 14:49 Ultimatum#115
Quote:
Originally Posted by stephanyd View Post
And if u cannot anser to help... u should not reply..lmao.. we are not all genius like u man;)
You dont have to be a genius to change one line...
09/25/2008 16:48 stephanyd#116
well ... just tell the damn line so i'll stop asking about that stupid marriage thing..lmao
09/25/2008 17:47 YukiXian#117
Quote:
Originally Posted by konkizta View Post
very well and I managed to see the equipment to another person can see your spouse. But I do not see achievement in my character information.

can someone help me?
How you did that? That others see ur spouse?
09/25/2008 19:09 alexbigfoot#118
Quote:
Originally Posted by YukiXian View Post
How you did that? That others see ur
spouse?
-.-'''' LOL?look in packets and u`ll see.Search for 'spouse = "None" ' in packets.cs and where u find it do it ' spouse = thecharacter.Spouse;

and about seeing ur spouse in Status -.-''' is a problem of the CharacterInfo packet the spouse thing isnt coded so well -.-'
09/25/2008 21:36 YukiXian#119
Okay, Got it working now,, Only the CharacterInfo doesn't work, May Haydz know how to fix this?
09/26/2008 00:41 Kratos59#120
Who have a solution for my problem ?

Thx for helping