It seems to be happening to people who join for the first time, here's what I get in clientside_errors.txt
[ERROR] addons/utime/lua/autorun/cl_utime.lua:310: attempt to index local 'cpanel' (a nil value)
1. buildCP - addons/utime/lua/autorun/cl_utime.lua:310
2. resetCvars - addons/utime/lua/autorun/cl_utime.lua:305
3. fn - addons/utime/lua/autorun/cl_utime.lua:334
4. unknown - addons/ulib/lua/ulib/shared/hook.lua:168
5. GetAll - [C]:-1
6. fn - addons/ulx/lua/ulx/modules/sh/chat.lua:245
7. Call - addons/ulib/lua/ulib/shared/hook.lua:168
8. fn - addons/ulib/lua/ulib/cl_init.lua:40
9. unknown - addons/ulib/lua/ulib/shared/hook.lua:168
10. LocalPlayer - [C]:-1
11. fn - addons/ulib/lua/ulib/cl_init.lua:39
12. unknown - addons/ulib/lua/ulib/shared/hook.lua:168
controlpanel.Get() - Error creating a ControlPanel!
You're calling this function too early! Call it in a hook!
And this is the block I changed, starting on line 286 of cl_utime.lua
function resetCvars()
RunConsoleCommand( "utime_outsidecolor_r", "40" )
RunConsoleCommand( "utime_outsidecolor_g", "40" )
RunConsoleCommand( "utime_outsidecolor_b", "40" )
RunConsoleCommand( "utime_outsidetext_r", "255" )
RunConsoleCommand( "utime_outsidetext_g", "255" )
RunConsoleCommand( "utime_outsidetext_b", "255" )
RunConsoleCommand( "utime_insidecolor_r", "250" )
RunConsoleCommand( "utime_insidecolor_g", "250" )
RunConsoleCommand( "utime_insidecolor_b", "245" )
RunConsoleCommand( "utime_insidetext_r", "0" )
RunConsoleCommand( "utime_insidetext_g", "0" )
RunConsoleCommand( "utime_insidetext_b", "0" )
RunConsoleCommand( "utime_pos_x", "1" )
RunConsoleCommand( "utime_pos_y", "90" )
buildCP( controlpanel.Get( "Utime" ) )
end
concommand.Add( "utime_reset", resetCvars )
Just the default color and position. Is this the wrong place to change such things?