Skip to content

TTT2 - Bad Argument to SetMDL is Breaking Round Timer #6

@ninekirby

Description

@ninekirby

Heyo, been trying to play TTT2 with some friends while using this. It's worked excellently in the past. About a week or two ago, it started causing an error which, after the initial prep phase, entered another 5:00 prep phase where the timer would tick down but not cause anything to happen. Players could not damage anyone during this period.

I've included the error in text form and a screenshot below:

[Enhanced PlayerModel Selector] lua/autorun/lf_playermodel_selector.lua:290: bad argument #2 to 'SetMDL' (string expected, got nil)

  1. SetMDL - [C]:-1
  2. SetModel - lua/autorun/lf_playermodel_selector.lua:290
    3. SetRole - gamemodes/terrortown/gamemode/shared/sh_player_ext.lua:135
    4. SelectRoles - gamemodes/terrortown/gamemode/server/sv_roleselection.lua:525
    5. unknown - gamemodes/terrortown/gamemode/server/sv_main.lua:1160

Timer Failed! [prep2begin][@gamemodes/terrortown/gamemode/server/sv_main.lua (line 946)]

ttt2 enhanced playermodel selector error

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions