Page 1 of 1

[FIXED] Chat Error

Posted: July 7th, 2012, 4:28 pm
by Frostlaar
When I or anyone else on my server talks (this also applies to staff chat and if a command is spelt wrong) there is a message stating :

Error while handling your message (InvalidOperationException: Queue empty) It is recommended that you reconnect to the server.

Reconnecting does nothing. (I can talk on the console but that is it).

Re: Chat Error

Posted: July 7th, 2012, 7:20 pm
by fragmer
What version of fCraft are you using? Are there any mods installed? Did you build from source, or did you use the official downloaded binaries?

Re: Chat Error

Posted: July 7th, 2012, 7:31 pm
by Frostlaar
I downloaded an update of fcraft today it's 0.622_r1618.I dont think its a build from source (its all downloaded from the website if thats what you mean) and there are no mods installed.

Sorry, i'm a little inexperienced. I can guess you must hate dealing with noobs.

Re: Chat Error

Posted: July 7th, 2012, 10:25 pm
by fragmer
Hm. Probably related to AntiSpam settings. I'll check.

Re: Chat Error

Posted: July 8th, 2012, 8:42 am
by Frostlaar
Just a bit more information, the console shows this message when someone speaks:

9:38:49 AM > ERROR: Error while parsing player's message: System.InvalidOperationException: Queue empty.
at System.Collections.Generic.Queue`1.Dequeue()
at fCraft.Player.DetectChatSpam()
at fCraft.Player.ParseMessage(String rawMessage, Boolean fromConsole)
at fCraft.Player.ProcessMessagePacket()
9:38:50 AM > Crash report submitted.

Furthermore on the anti spam. The settings were and are off. So any number of posts could be written in any time.

Re: Chat Error

Posted: July 9th, 2012, 1:45 am
by fragmer
Fixed internally.
fcraft: fragmer * r1622 /branch-0.60x/fCraft/Player/Player.cs: Fixed a regression that caused a crash in Player.DetectChatSpam if AntiSpam was supposed to be disabled.