Problem when reciveing message
When a player turn off/on the city shield, or city is attacked by aliens.
When there is no nick sending the message.. its a guild channel message but from system saying city shield was disabled.
It doesnt show the text just alot of !!!! and other strange signs..
copy/paste from vha.chat latest build.
[18:04:09] [Prisonerbot] Nightman joined the channel
[18:04:20] ~&!!!#?!284ksord_smarket_clan_advanced~
Was abit anoying cause i cant add a timer to check how long it is until i can enable shield :P
this was in vha.chat ver.. 1.2.1
I added another try statement in "void _chat_SystemMessageEvent" because AOchat crashed when writing /cc help
after adding the try and catch exeption.. this is what i got.
[18:22:11] Error while decoding message: Buffer cannot be null.
Parameter name: buffer
[18:22:11] Unknown system message 20000:55531266 Exeption:Object reference not set to an instance of an object.
if (string.IsNullOrEmpty(message.Value))
This is what caused the crash.. it checks if message.Value is null or empty but message is null.
could just be a error on the handling of /cc help.. it crashes everytime i write /cc help