Ulysses Stuff > Releases
Sourcebans & ULX/ULib
lithium720:
Every time I ban someone with ulx ban this prints to the server console & the server crashes:
--- Code: ---[ERROR] addons/ulib/lua/ulib/server/player.lua:209: attempt to index field 'bans' (a nil value)
1. banfunc - addons/ulib/lua/ulib/server/player.lua:209
2. addBan - addons/ulx/lua/ulx/xgui/server/sv_bans.lua:81
3. kickban - addons/ulib/lua/ulib/server/player.lua:154
4. call - addons/ulx/lua/ulx/modules/sh/util.lua:59
5. __fn - addons/ulib/lua/ulib/shared/commands.lua:943
6. unknown - addons/ulib/lua/ulib/shared/commands.lua:1296
7. Run - lua/includes/modules/concommand.lua:69
8. unknown - addons/ulib/lua/ulib/shared/commands.lua:1310
9. unknown - lua/includes/modules/concommand.lua:69
Lua Error: [ERROR] Invalid object2! (not userdata)
--- End code ---
and on mapchange the server crashes and prints this to console:
--- Code: --- 1. format - [C]:-1
2. unknown - addons/ulib/lua/ulib/server/player.lua:234
3. include - [C]:-1
4. unknown - addons/ulib/lua/ulib/init.lua:34
5. include - [C]:-1
6. unknown - addons/ulib/lua/autorun/ulib_init.lua:3
--- End code ---
Any Ideas?
centran:
I would try re-installing ulx and make sure banning is working without this modification.
From the error it appears that the bans table never gets initialized. Nothing with adding sourcebans intergration should have messed with ulx enough to mess that up. It sounds like there is a problem with your ulx/ulib install.
lithium720:
^^ You were correct. Reinstalled & it works smoothly now. Thanks!
aaronhatton:
This is a weird one, i get this error:
--- Code: ---L 05/26/2013 - 10:40:28: Banid: "<><STEAM_0:1:54374354><>" was banned "permanently" by "Console"
L 05/26/2013 - 10:40:39: Lua Error: [05/26/13 10:40:39][SourceBans.lua] Player [GV] AaronHatton joined, but SourceBans.lua is not active!
[05/26/13 10:40:39][SourceBans.lua] Player [GV] AaronHatton joined, but SourceBans.lua is not active!L 05/26/2013 - 10:40:39: Lua Error:
--- End code ---
The bans done add to the database either... Any ideas?
May i point out that there is no errors what so ever apart from this...
Deathtitan77:
Is it weird that it gives me Error connecting to server but still lists my ban on the sourcebans website?
It also keeps me banned even if my time has expired until I delete the ban completely from sourcebans.
I am also using the sban command.
Here is also an error, I get from the server console: addons/ulx/lua/includes/modules/sourcebans.lua:248: attempt to index field 'Select Admin Groups' (a nil value)
It also lists me as console on the sourcebans website, when I have a sourcebans account with my correct steamid.
Any help would be great.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version