TTT-2 / TTT2

Trouble in Terrorist Town 2 for Garry's Mod (gmod)
https://steamcommunity.com/sharedfiles/filedetails/?id=1357204556
179 stars 77 forks source link

Bug Instead of an innocent, a traitor. #42

Closed dok441 closed 6 years ago

dok441 commented 6 years ago

For some reason, the role of the person together innocent, became a traitor on the definition of roles, in the logs or on the player to direct, he was a traitor, but on the logs innocent. He could do the same thing as a traitor. After that, an error in the logs for this round began to appear. It was held after the end of the next round. wa

[ERROR] lua/includes/extensions/net.lua:182: net.ReadType: Couldn't read type 64

  1. error - [C]:-1
    1. ReadType - lua/includes/extensions/net.lua:182
    2. ReadType - lua/includes/extensions/net.lua:121
      1. ReadTable - lua/includes/extensions/net.lua:124
      2. func - addons/tttdamagelogs-master/lua/damagelogs/client/tabs/damagetab.lua:466
      3. unknown - lua/includes/extensions/net.lua:32
Alf21 commented 6 years ago

Are you using damagelog copied from my GitHub Repo?

dok441 commented 6 years ago

yes

Alf21 commented 6 years ago

okay, but 1) I couldn't read this, could you send a screenshot in English? and 2) this here is the TTT2, not the tttdamagelog addon ;) It's really hard to understand what you want to say. I really can't understand the situation that is caused this problem, but I will try to find any bug belong to this lines of code...

dok441 commented 6 years ago

невиновный - innocent активирует - Activates Урон - damage I tried to request your damagelogs, but there option is disabled. I mean, he was innocent in the logs, but he was a traitor, the logs were lies.

Alf21 commented 6 years ago

Did you check whether the first role of this player has been innocent? This is a bug in damage log itself, it doesn't update the role... If it's true and caused on this, you should send this issue to the main developer, Tommy. This would be the best and fastest solution as far as i don't have fixed the other reported bugs (mainly by you haha :D)

dok441 commented 6 years ago

Well, send, you can see above, I also zaskrinil what his role was originally issued and it is innocent by damagelogs. Just I used your logs, with its logs beta mode does not work the same =)

Alf21 commented 6 years ago

Hmm, could you close this (because it‘s a part of the RDM Manager). I don‘t have this issue so maybe you have some incompatible add-ons?