[FIXED] Chat Error

Fixed bugs, solved problems, and old reports.
Locked
Frostlaar
Offline
Posts: 3
Joined: July 7th, 2012, 3:51 pm

[FIXED] Chat Error

Post 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).

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: Chat Error

Post 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?

Frostlaar
Offline
Posts: 3
Joined: July 7th, 2012, 3:51 pm

Re: Chat Error

Post 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.

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: Chat Error

Post by fragmer »

Hm. Probably related to AntiSpam settings. I'll check.

Frostlaar
Offline
Posts: 3
Joined: July 7th, 2012, 3:51 pm

Re: Chat Error

Post 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.

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: Chat Error

Post 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.

Locked