[Help]Guild bug!

09/20/2008 09:41 YukiXian#1
Hello,

I'f found an guildbug.. If an member joins you'll see it in the member List.
When you restart ur server, the Member name in the List is gone and still in the guild. Someone knows how to fix this?

Server I'm using : LOFT
09/20/2008 10:08 Rechocto#2
this has been fixed, use the forum's search tool and find "fixed guilds & friends" or something like that
09/20/2008 10:43 YukiXian#3
Quote:
Originally Posted by Rechocto View Post
this has been fixed, use the forum's search tool and find "fixed guilds & friends" or something like that
Thats just the problem , I already "Fixed" it...
09/20/2008 10:59 taguro#4
Can you give us more details on the error. More than likely youll see an error related to mysql when the player in question exits or enters the game.
09/20/2008 11:07 YukiXian#5
Quote:
Originally Posted by taguro View Post
Can you give us more details on the error. More than likely youll see an error related to mysql when the player in question exits or enters the game.
When an normal members is in the guild, And you check the GuildList / MemberList to see who's online and offline, You only see the Dl's and Gl there...
09/20/2008 11:11 taguro#6
Quote:
Originally Posted by YukiXian View Post
When an normal members is in the guild, And you check the GuildList / MemberList to see who's online and offline, You only see the Dl's and Gl there...
Did the server itself give you an error report of any kind?
09/20/2008 11:15 YukiXian#7
Quote:
Originally Posted by taguro View Post
Did the server itself give you an error report of any kind?
Its not like an Error, Cuz in the Console Screen I ain't got an Error, ...
Just only when Playing the game I can't see the names of the Normal Members in My guild, ,,
09/20/2008 11:21 taguro#8
Quote:
Originally Posted by YukiXian View Post
Its not like an Error, Cuz in the Console Screen I ain't got an Error, ...
Just only when Playing the game I can't see the names of the Normal Members in My guild, ,,
Hmmm, well, im pretty sure its in the client.cs, can you post the following sections from your client.cs:

case 1112; case 1015; and case 12; the error will probably be in one of those 3 cases.
09/20/2008 11:29 Rechocto#9
after you fix it with his guide, you need to set "MyGuild " and "GuildPos" to 0 for ALL users, then delete ALL guilds from your database

edit: AND set their donation to 0! forgot that part :)
09/20/2008 11:38 taguro#10
Quote:
Originally Posted by Rechocto View Post
after you fix it with his guide, you need to set "MyGuild " and "GuildPos" to 0 for ALL users, then delete ALL guilds from your database
that could also be it ;)
09/20/2008 12:10 YukiXian#11
Quote:
Originally Posted by Rechocto View Post
after you fix it with his guide, you need to set "MyGuild " and "GuildPos" to 0 for ALL users, then delete ALL guilds from your database

edit: AND set their donation to 0! forgot that part :)
Why I need to Delete all Guilds?


Quote:
Originally Posted by taguro View Post
Hmmm, well, im pretty sure its in the client.cs, can you post the following sections from your client.cs:

case 1112; case 1015; and case 12; the error will probably be in one of those 3 cases.
Here are my Cases :

Case 1112;
Quote:
{
string Name = "";
int Pos = 9;
while (Pos < Data.Length)
{
Name += Convert.ToChar(Data[Pos]);
Pos++;
}
break;
}

Case 1015;
Quote:
{
if (MyChar.MyGuild == null)
return;
string Total = "";
string OnlineMembers = "";
string OfflineMembers = "";
byte Count = 1;

string[] Splitter = MyChar.MyGuild.Creator.Split(':');
if (World.AllChars.Contains(uint.Parse(Splitter[1])))
OnlineMembers += Convert.ToChar((Splitter[0] + Convert.ToChar(32) + Splitter[2] + Convert.ToChar(32) + "1").Length) + (Splitter[0] + Convert.ToChar(32) + Splitter[2] + Convert.ToChar(32) + "1");
else
OfflineMembers += Convert.ToChar((Splitter[0] + Convert.ToChar(32) + Splitter[2] + Convert.ToChar(32) + "0").Length) + (Splitter[0] + Convert.ToChar(32) + Splitter[2] + Convert.ToChar(32) + "0");


foreach (DictionaryEntry DE in MyChar.MyGuild.DLs)
{
string DL = (string)DE.Value;
Count++;
Splitter = DL.Split(':');
if (World.AllChars.Contains(uint.Parse(Splitter[1])))
OnlineMembers += Convert.ToChar((Splitter[0] + Convert.ToChar(32) + Splitter[2] + Convert.ToChar(32) + "1").Length) + (Splitter[0] + Convert.ToChar(32) + Splitter[2] + Convert.ToChar(32) + "1");
else
OfflineMembers += Convert.ToChar((Splitter[0] + Convert.ToChar(32) + Splitter[2] + Convert.ToChar(32) + "0").Length) + (Splitter[0] + Convert.ToChar(32) + Splitter[2] + Convert.ToChar(32) + "0");
}

foreach (DictionaryEntry DE in MyChar.MyGuild.Members)
{
string NM = (string)DE.Value;
Count++;
Splitter = NM.Split(':');
if (World.AllChars.Contains(uint.Parse(Splitter[1])))
OnlineMembers += Convert.ToChar((Splitter[0] + Convert.ToChar(32) + Splitter[2] + Convert.ToChar(32) + "1").Length) + (Splitter[0] + Convert.ToChar(32) + Splitter[2] + Convert.ToChar(32) + "1");
else
OfflineMembers += Convert.ToChar((Splitter[0] + Convert.ToChar(32) + Splitter[2] + Convert.ToChar(32) + "0").Length) + (Splitter[0] + Convert.ToChar(32) + Splitter[2] + Convert.ToChar(32) + "0");
}

Total = OnlineMembers + OfflineMembers;

SendPacket(Data);
SendPacket(General.MyPackets.StringGuild(11, 11, Total, Count));

break;
}
Case 12;
Quote:
Can't find this one????
09/20/2008 12:31 Rechocto#12
because your guilds were created before you fixed the functions to manage them
09/20/2008 13:28 YukiXian#13
I see, My revpoints are also Screwed, -.-
09/20/2008 15:22 alexbigfoot#14
after i fixed my guilds....i never had a problem like that -.-'
09/20/2008 16:23 YukiXian#15
# RevPoints fixed,

Question : Someone know the Offline TG map ID?