Ulysses Stuff > General Chat & Help and Support

Most recent updates to ULX broke Global Ban Module

(1/1)

nick78111:
The most recent ULX updates ,about 20 minutes ago, has just broke the ULX Global Ban Module. I use this for managing my bans and I have no idea how to fix it. I am not entirely sure if I should be posting this here or on UGB's github but I figured I would inform everyone else too. https://github.com/bcool/ULX-Global-Ban

ULib v2.60d
ULX v3.70d

Game mode(s) I am having this problem on:
TTT

Lua errors shown in console, if any:
This is what I get on start up

--- Code: ---[ERROR] addons/ulx/lua/ulx/modules/sh/menus.lua:105: attempt to index local 't' (a nil value)
  1. populateMotdData - addons/ulx/lua/ulx/modules/sh/menus.lua:105
   2. fn - addons/ulx/lua/ulx/end.lua:111
    3. fn - addons/ulx/lua/ulx/end.lua:139
     4. unknown - addons/ulib/lua/ulib/shared/hook.lua:110



[ERROR] addons/ulx/lua/ulx/modules/sh/menus.lua:105: attempt to index local 't' (a nil value)
  1. populateMotdData - addons/ulx/lua/ulx/modules/sh/menus.lua:105
   2. fn - addons/ulx/lua/ulx/end.lua:111
    3. fn - addons/ulx/lua/ulx/end.lua:139
     4. unknown - addons/ulib/lua/ulib/shared/hook.lua:110

--- End code ---

It also causes this to happen:

--- Code: ---[ERROR] gamemodes/terrortown/entities/entities/ttt_map_settings.lua:27: attempt to index field 'crowbar_unlocks' (a nil value)
  1. unknown - gamemodes/terrortown/entities/entities/ttt_map_settings.lua:27



[ERROR] gamemodes/terrortown/entities/entities/ttt_map_settings.lua:27: attempt to index field 'crowbar_unlocks' (a nil value)
  1. unknown - gamemodes/terrortown/entities/entities/ttt_map_settings.lua:27

L 02/28/2016 - 07:48:35: Lua Error:
[ERROR] gamemodes/terrortown/entities/entities/ttt_map_settings.lua:20: attempt to index field 'crowbar_unlocks' (a nil value)
  1. unknown - gamemodes/terrortown/entities/entities/ttt_map_settings.lua:20



[ERROR] gamemodes/terrortown/entities/entities/ttt_map_settings.lua:20: attempt to index field 'crowbar_unlocks' (a nil value)
  1. unknown - gamemodes/terrortown/entities/entities/ttt_map_settings.lua:20

L 02/28/2016 - 07:48:35: Lua Error:
[ERROR] gamemodes/terrortown/entities/entities/ttt_map_settings.lua:24: attempt to index field 'crowbar_unlocks' (a nil value)
  1. unknown - gamemodes/terrortown/entities/entities/ttt_map_settings.lua:24



[ERROR] gamemodes/terrortown/entities/entities/ttt_map_settings.lua:24: attempt to index field 'crowbar_unlocks' (a nil value)
  1. unknown - gamemodes/terrortown/entities/entities/ttt_map_settings.lua:24

--- End code ---

and this when players join:

--- Code: ---L 02/28/2016 - 07:50:24: "Nick78111<2><STEAM_0:1:33459672><>" STEAM USERID validated
L 02/28/2016 - 07:50:27: Lua Error:
[ERROR] addons/ulx/lua/ulx/modules/sh/menus.lua:105: attempt to index local 't' (a nil value)
  1. fn - addons/ulx/lua/ulx/modules/sh/menus.lua:105
   2. Call - addons/ulib/lua/ulib/shared/hook.lua:110
    3. probe - addons/ulib/lua/ulib/server/ucl.lua:1029
     4. fn - addons/ulib/lua/ulib/server/ucl.lua:1096
      5. unknown - addons/ulib/lua/ulib/shared/hook.lua:110
       6. UniqueID - [C]:-1
        7. echoToAdmins - addons/ulx/lua/ulx/log.lua:164
         8. fn - addons/ulx/lua/ulx/log.lua:202
          9. unknown - addons/ulib/lua/ulib/shared/hook.lua:110



[ERROR] addons/ulx/lua/ulx/modules/sh/menus.lua:105: attempt to index local 't' (a nil value)
  1. fn - addons/ulx/lua/ulx/modules/sh/menus.lua:105
   2. Call - addons/ulib/lua/ulib/shared/hook.lua:110
    3. probe - addons/ulib/lua/ulib/server/ucl.lua:1029
     4. fn - addons/ulib/lua/ulib/server/ucl.lua:1096
      5. unknown - addons/ulib/lua/ulib/shared/hook.lua:110
       6. UniqueID - [C]:-1
        7. echoToAdmins - addons/ulx/lua/ulx/log.lua:164
         8. fn - addons/ulx/lua/ulx/log.lua:202
          9. unknown - addons/ulib/lua/ulib/shared/hook.lua:110

Nick78111 (STEAM_0:1:33459672, 108.216.133.67:27005) has spawned in the server.TTT initializing convar settings...
L 02/28/2016 - 07:50:27: "Nick78111<2><STEAM_0:1:33459672><>" entered the game
[Nick78111|2|STEAM_0:1:33459672] Lua Error:

[ERROR] addons/ulx/lua/ulx/modules/cl/motdmenu.lua:259: attempt to get length of a boolean value
  1. generateMotdHTML - addons/ulx/lua/ulx/modules/cl/motdmenu.lua:259
   2. fn - addons/ulx/lua/ulx/modules/cl/motdmenu.lua:36
    3. func - addons/ulib/lua/ulib/client/cl_util.lua:22
     4. unknown - lua/includes/extensions/net.lua:32


addons/ulx_globalbanmodule/lua/globalban/gb_banmanagement.lua:159: attempt to call field 'addData' (a nil value)

--- End code ---

I am sure many many other people use this to manage their bans aswell.

Megiddo:
You have some corrupt addon information. I pushed an update an hour ago that should fix your issue when trying to read corrupted data.

nick78111:
Well it didn't fix it for me apparently, I fixed up the addon information though and now it works fine. Thank you.

Megiddo:
If anyone else has this problem, use the update as mentioned. It will fix it for you. Or, you can clean the addon information if you don't want to update.

1day2die:
I know this is old af but since gBans! is broken on gmodstore i updated this one to work again

https://github.com/1day2die/ULX-Global-Ban-Fix

Navigation

[0] Message Index

Go to full version