Ulysses Stuff > Releases

Sourcebans & ULX/ULib

<< < (10/30) > >>

Milk_:
Yep I did modify the line, and also just tried what you pasted me and get exactly the same thing.

ZephyrWarrior:
Upon trying to ban someone with ulx sban, I receive these errors:


--- Code: ---L 01/15/2013 - 18:15:51: Lua Error:
[ERROR] addons/ulx/lua/ulx/modules/sh/sban.lua:12: attempt to index global 'sourcebans' (a nil value)
1. call - addons/ulx/lua/ulx/modules/sh/sban.lua:12
2. __fn - addons/ulib/lua/ulib/shared/commands.lua:943
3. unknown - addons/ulib/lua/ulib/shared/commands.lua:1296
4. unknown - lua/includes/modules/concommand.lua:69



[ERROR] addons/ulx/lua/ulx/modules/sh/sban.lua:12: attempt to index global 'sourcebans' (a nil value)
1. call - addons/ulx/lua/ulx/modules/sh/sban.lua:12
2. __fn - addons/ulib/lua/ulib/shared/commands.lua:943
3. unknown - addons/ulib/lua/ulib/shared/commands.lua:1296
4. unknown - lua/includes/modules/concommand.lua:69
--- End code ---

Any ideas as to what could be wrong?

Megiddo:
You need the source bans module linked in the first post.

ZephyrWarrior:

--- Quote ---For the safe option you will want to place the following code in addons/ulx/lua/ulx/modules/sh/ and name it sban.lua
--- End quote ---

If you mean that one, I have it.


--- Quote ---As a base you will want to install the sourceban module found here http://lexi.org.uk/modules/sourcebans.lua
Create the following directory and place the file in there. addons/ulx/lua/includes/modules/
--- End quote ---


--- Quote ---Next you need to edit and place the config file located here http://lexi.org.uk/modules/sourcebans_example.lua
I renamed the file sourcebans_init.lua and placed it in addons/ulx/lua/ulx/modules/
--- End quote ---

Same with those two.

centran:
It seems the sourceban module wasn't loaded. Are you sure you put the files in the right place? Is the configuration file configured correctly?

Look for errors when the server first starts up or on map change. That will give a better clue on why sourcebans isn't loading.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version