This is an addon to support ulx settings for the new custom roles in TTT2. Original addon by Bender180 and Skillz (https://steamcommunity.com/sharedfiles/filedetails/?id=127865722&searchtext=trouble+in+terrorist+town+ulx)
This might be a bit far-fetched to fix it here, but before we get dozens of reports, I implemented a fail-safe. Also we can fix our own addons, if they do this by enabling the debugger with a stack trace.
Already found a culprit besides ulx, my demonic sheep and all of Fabians addon, that use his convar utility:
[[TTT2] Round Info [FEATURE]] [ULIB] Failed to use arg[3] = default_value of ConVar ttt_roundinfo_pre_announce_distribution
1. replicatedWritableCvar - addons/ttt2-ulx/lua/ulib/modules/server/replicatedwritablecvarfix.lua:12
2. fn - lua/terrortown/autorun/shared/sh_roundinfo_convars.lua:8
3. Run - addons/ulib-master/lua/ulib/shared/hook.lua:109
4. init - addons/ttt2-ulx/lua/ulx/xgui/server/sv_terrortown.lua:265
5. fn - addons/ulx-master/lua/ulx/modules/xgui_server.lua:314
6. unknown - addons/ulib-master/lua/ulib/shared/hook.lua:109
This might be a bit far-fetched to fix it here, but before we get dozens of reports, I implemented a fail-safe. Also we can fix our own addons, if they do this by enabling the debugger with a stack trace.
Already found a culprit besides ulx, my demonic sheep and all of Fabians addon, that use his convar utility: