Tommy228 / tttdamagelogs

Damagelogs and RDM Manager for Trouble in Terrorist Town (a Garry's Mod gamemode)
GNU General Public License v3.0
57 stars 73 forks source link

Chat error #327

Open iagrib opened 6 years ago

iagrib commented 6 years ago

As an admin, joined a chat with another admin, attacker, victim + 1 added person and got this error:

[ERROR] addons/damagelogs/lua/damagelogs/client/chat.lua:200: attempt to call method 'Nick' (a nil value)
  1. StartChat - addons/damagelogs/lua/damagelogs/client/chat.lua:200
   2. func - addons/damagelogs/lua/damagelogs/client/chat.lua:587
    3. unknown - lua/includes/extensions/net.lua:32

Then this spammed all the time:

[ERROR] addons/damagelogs/lua/damagelogs/client/chat.lua:878: attempt to concatenate field 'AttackerName' (a nil value)
  1. v - addons/damagelogs/lua/damagelogs/client/chat.lua:878
   2. unknown - lua/includes/modules/hook.lua:84

And finally when another admin closed the chat, this:

[ERROR] addons/damagelogs/lua/damagelogs/client/chat.lua:667: attempt to call method 'AddMessage' (a nil value)
  1. func - addons/damagelogs/lua/damagelogs/client/chat.lua:667
   2. unknown - lua/includes/extensions/net.lua:32

Couldn't open the chat, when I clicked the 'active chats' arrow button my HUD disappeared until I clicked on it again.

iagrib commented 6 years ago

The 'active chats' label didn't disappear even after the chat was closed, though. And I still could click the arrow button to make the error #2 from the OP spam again & make my HUD disappear.