TTT-2 / TTT2

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

ERROR coonect #47

Closed dok441 closed 5 years ago

dok441 commented 5 years ago

При входе на сервер или же при открытии !menu, выскакивает эта ошибка. Из-за этой ошибки не работает в !menu отдел истории банов, в остальном просто спам ошибки. Появилась это ошибка после последнего вашего обновления беты, возможно здесь есть моя вина, но я вроде ничего не делал серьезного.

[ERROR] lua/includes/modules/hook.lua:120: attempt to index local 'gm' (a number value)

  1. Call - lua/includes/modules/hook.lua:120
    1. fn - addons/ulib/lua/ulib/cl_init.lua:58
    2. func - addons/ulib/lua/ulib/client/cl_util.lua:22
      1. unknown - lua/includes/extensions/net.lua:32

ULib queue error: lua/includes/modules/hook.lua:120: attempt to index local 'gm' (a number value)

Так же бывает пишет при открытии !menu

[ERROR] lua/includes/modules/hook.lua:120: attempt to index a string value with bad key ('UCLAuthed' is not part of the string library)

  1. error - [C]:-1
    1. __index - lua/includes/extensions/string.lua:297
    2. Call - lua/includes/modules/hook.lua:120
      1. fn - addons/ulib/lua/ulib/cl_init.lua:58
      2. func - addons/ulib/lua/ulib/client/cl_util.lua:22
      3. unknown - lua/includes/extensions/net.lua:32
dok441 commented 5 years ago

P.S после смены карты прошло, но по какой причине тогда эта ошибка была...

Alf21 commented 5 years ago

Hm, i never noticed anything like this... is it resulted in the map? This error doesn‘t have anything to do with TTT2 or the menu addon, it‘s caused from Ulib. Idk why this happen o.O

dok441 commented 5 years ago

Возможно с моей стороны что-то, но у клиента рандомно это происходит. У меня прошло, но у кого-то я замечаю в логах пишет такое.

Alf21 commented 5 years ago

Hmm... but as I said, that‘s not an issue of TTT2. It’s an rare issue of Ulib that shouldn’t happen. Maybe he is using bad tools to modify gmod ;)