Author Topic: Most recent updates to ULX broke Global Ban Module  (Read 5665 times)

0 Members and 2 Guests are viewing this topic.

Offline nick78111

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Most recent updates to ULX broke Global Ban Module
« on: February 28, 2016, 05:54:33 AM »
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: [Select]
[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

It also causes this to happen:
Code: [Select]
[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

and this when players join:
Code: [Select]
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)

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

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Most recent updates to ULX broke Global Ban Module
« Reply #1 on: February 28, 2016, 06:30:20 AM »
You have some corrupt addon information. I pushed an update an hour ago that should fix your issue when trying to read corrupted data.
Experiencing God's grace one day at a time.

Offline nick78111

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Most recent updates to ULX broke Global Ban Module
« Reply #2 on: February 28, 2016, 06:49:29 AM »
Well it didn't fix it for me apparently, I fixed up the addon information though and now it works fine. Thank you.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Most recent updates to ULX broke Global Ban Module
« Reply #3 on: February 28, 2016, 07:13:44 AM »
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.
Experiencing God's grace one day at a time.

Offline 1day2die

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: Most recent updates to ULX broke Global Ban Module
« Reply #4 on: July 25, 2022, 07:13:05 AM »
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