Ulysses Stuff > Releases

Sourcebans & ULX/ULib

<< < (11/30) > >>

ZephyrWarrior:

--- Code: ---09:50:39 Lua Error: [ERROR] addons/ulx/lua/includes/modules/sourcebans.lua:24: Couldn't load module library! 1. require - [C]:-1 2. unknown - addons/ulx/lua/includes/modules/sourcebans.lua:24 3. require - [C]:-1 4. unknown -
addons/ulx/lua/ulx/modules/sourcebans_init.lua:5 5. include - [C]:-1 6. unknown -
addons/ulx/lua/ulx/init.lua:28 7. include - [C]:-1 8. unknown -
addons/ulx/lua/ulib/modules/ulx_init.lua:2 9. include - [C]:-1 10. unknown -
addons/ulib/lua/ulib/init.lua:75 11. include - [C]:-1 12. unknown -
addons/ulib/lua/autorun/ulib_init.lua:3

09:50:40 Lua Error: [ERROR] addons/ulx/lua/ulx/modules/sourcebans_init.lua:5: Module not found! 1. require - [C]:-1 2. unknown -
addons/ulx/lua/ulx/modules/sourcebans_init.lua:5 3. include - [C]:-1 4. unknown -
addons/ulx/lua/ulx/init.lua:28 5. include - [C]:-1 6. unknown -
addons/ulx/lua/ulib/modules/ulx_init.lua:2 7. include - [C]:-1 8. unknown -
addons/ulib/lua/ulib/init.lua:75 9. include - [C]:-1 10. unknown -
addons/ulib/lua/autorun/ulib_init.lua:3
--- End code ---

That's the one from console on map change.

I followed the first post exactly (I'm fairly sure).

centran:

--- Code: ---09:50:39 Lua Error: [ERROR] addons/ulx/lua/includes/modules/sourcebans.lua:24: Couldn't load module library! 1. require - [C]:-1 2. unknown - addons/ulx/lua/includes/modules/sourcebans.lua:24 3. require - [C]:-1 4. unknown
--- End code ---

OK, so there error is on line 24 of the sourcebans module. And it is complaining it can't load something... lets look at line 24

--- Code: ---require("mysqloo");
--- End code ---

There is your answer. You did not install mysqloo properly.
Need to read this facepunch forum topic and follow the instructions in it..,. http://www.facepunch.com/showthread.php?t=1220537
Very bottom of the first page are two files you need to download and place in the correct directories. I believe you will need a server restart to get them working.

ZephyrWarrior:
I downloaded this

http://puu.sh/1fhWu

as it said to here

http://www.facepunch.com/showthread.php?t=1220537


--- Quote ---For convenience here is mine for Windows 7
--- End quote ---

Where do I put it, /garrysmod/lua/bin did not work.

centran:

--- Quote from: ZephyrWarrior on January 17, 2013, 10:22:05 AM ---I downloaded this

http://puu.sh/1fhWu

as it said to here

http://www.facepunch.com/showthread.php?t=1220537

Where do I put it, /garrysmod/lua/bin did not work.

--- End quote ---

That file goes in same folder as your srcds_run program which is the orangebox folder... so one dir below garrysmod.
You also need this file http://drakehawke-gmod.googlecode.com/svn/trunk/AndyVincentGMod/RELEASE/gmsv_mysqloo_linux.dll
and that file goes in the garrysmod/lua/bin folder

ZephyrWarrior:
Ok, it now syncs bans. Thank you. Only a couple other issues, I don't know whether they are intentional/avoidable.

1) When someone is banned, it doesn't actually print the website that's in the config. It prints this:


--- Code: ---Disconnect:  You are BANNED! Please check http:.
--- End code ---

2) When people connect after they have been banned, it doesn't print the site then either.


--- Code: ---You have been banned from this server.
--- End code ---

3) When a banned person connects and they are blocked, it doesn't sync that to SourceBans.



Any help would be awesome.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version