[Help]Guild Error.

11/11/2008 22:15 DungMaster#1
Hey guys, I'm having a problem in my Guild and need help = / .. Look at the error that is appearing on the console.
Code:
System.FormatException: Input string was not in the correct format.
    at System.Number.StringToNumber (String str, NumberStyles options, NumberBuffer & number, NumberFormatInfo info, Boolean parseDecimal)
    at System.Number.ParseUInt32 (String value, NumberStyles options, NumberFormatInfo numfmt)
    at COServer_Project.Guild.GuildMessage (String message) in C: \ Documents and Settings \ Vinicuis \ Desktop \ soulcie \ ShadowCO \ COServerProject \ Guild.cs: line 291
    at COServer_Project.Guild.PlayerQuits (Character Quitte) in C: \ Documents and Settings \ Vinicuis \ Desktop \ soulcie \ ShadowCO \ COServerProject \ Guild.cs: line 222
    at COServer_Project.Client.GetPacket (Byte [] date) in C: \ Documents and Settings \ Vinicuis \ Desktop \ soulcie \ ShadowCO \ COServerProject \ Client.cs: line 217
Successful account login is riquee
Successful account login is riquee
System.FormatException: Input string was not in the correct format.
    at System.Number.StringToNumber (String str, NumberStyles options, NumberBuffer & number, NumberFormatInfo info, Boolean parseDecimal)
    at System.Number.ParseUInt32 (String value, NumberStyles options, NumberFormatInfo numfmt)
    at System.UInt32.Parse (String s)
    at COServer_Project.Client.GetPacket (Byte [] date) in C: \ Documents and Settings \ Vinicuis \ Desktop \ soulcie \ ShadowCO \ COServerProject \ Client.cs: line 139
In the 139 line is this:
Code:
                             Total string = "";
                             OnlineMembers string = "";
                             OfflineMembers string = "";
                             Byte Count = 1;

string [] = Splitter MyChar.MyGuild.Creator.Split (':');
                            [COLOR="Blue"][COLOR="SeaGreen"]Line 139:[/COLOR] if (World.AllChars.Contains (uint.Parse (Splitter [1])))[/COLOR]
                                 OnlineMembers = Convert.ToChar ((Splitter [0] Convert.ToChar (32) Splitter [2] Convert.ToChar (32) "1"). Length) (Splitter [0] Convert.ToChar (32) Splitter [2] Convert . Torch (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 . Torch (32) "0");
11/11/2008 23:13 InfamousNoone#2
Splitter[1] wasn't a valid number string, no-shit much?
11/13/2008 22:09 Brun0_#3
i have same error

[Only registered and activated users can see links. Click Here To Register...]