TeamUlysses / ulib

ULib: A Lua library for more rapid development on Garry's Mod servers
http://ulyssesmod.net
Other
104 stars 55 forks source link

ULib queue error: lua/includes/util/color.lua:16: bad argument #1 to 'min' (number expected, got nil) #68

Closed marcquebec closed 2 years ago

marcquebec commented 3 years ago

Steps to reproduce

  1. Install ULib v2.63 + ULX v3.73 on dedicated gmod TTT server
  2. ???
  3. Join server and error popups once it's done loading

Expected behavior

Tell us what should happen No errors

Actual behavior

Tell us what happens instead Error

Error(s) in server console, if any

[ulib-2.63] lua/includes/util/color.lua:16: bad argument #1 to 'min' (number expected, got nil)

  1. min - [C]:-1
    1. hexToColor - lua/includes/util/color.lua:16
    2. func - addons/ulx-3.73/lua/ulx/xgui/settings/server.lua:1042
      1. callUpdate - addons/ulx-3.73/lua/ulx/modules/cl/xgui_client.lua:515
      2. fn - addons/ulx-3.73/lua/ulx/modules/cl/xgui_client.lua:467
      3. func - addons/ulib-2.63/lua/ulib/client/cl_util.lua:22
      4. unknown - lua/includes/extensions/net.lua:32

Error(s) in player's console, if any

[ulib-2.63] lua/includes/util/color.lua:16: bad argument #1 to 'min' (number expected, got nil)

  1. min - [C]:-1
    1. hexToColor - lua/includes/util/color.lua:16
    2. func - addons/ulx-3.73/lua/ulx/xgui/settings/server.lua:1042
      1. callUpdate - addons/ulx-3.73/lua/ulx/modules/cl/xgui_client.lua:515
      2. fn - addons/ulx-3.73/lua/ulx/modules/cl/xgui_client.lua:467
      3. func - addons/ulib-2.63/lua/ulib/client/cl_util.lua:22
      4. unknown - lua/includes/extensions/net.lua:32

Version

Run "ulx version" in console and paste the result ULib v2.63 ULX v3.73

zpetty33 commented 2 years ago

This seems like a misconfigured MOTD file. I am unable to replicate. If you are still having this issue, please open a new issue and attach your MOTD