Ulysses Stuff > Releases
Sourcebans & ULX/ULib
centran:
--- Quote from: Deathtitan77 on June 01, 2013, 07:55:15 AM ---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.
--- End quote ---
Did you made the modification to line 137 of the sourcebans module? It sounds like you aren't loading the admins and making that modification will load all admins in sourcebans.
rainbow Dash:
This was nice, until this...
Heres a little copypasta from my console.
--- Code: ---You banned Yourself permanently (Because i can)
Rainbow Dash!: !ban rain 0 Because i can
Rainbow Dash!: uhm
Rainbow Dash!: why am i still here?
Type /buymicrowave to buy a Microwave Oven that spawns food.
Type /buymicrowave to buy a Microwave Oven that spawns food.
--- End code ---
now for a Screenie of my sourcebans
http://puu.sh/3hAna.png (note that player banned is not me)
Console.log:
--- Code: ---Rainbow Dash! banned Themself permanently (Because i can)
ServerLog: [ULX] Rainbow Dash! banned Themself permanently (Because i can)
ServerLog: "Rainbow Dash!<7><STEAM_0:1:16716622><Citizen>" say "!ban rain 0 Because i can"
ServerLog: "Rainbow Dash!<7><STEAM_0:1:16716622><Citizen>" say "uhm"
ServerLog: "Rainbow Dash!<7><STEAM_0:1:16716622><Citizen>" say "why am i still here?"
--- End code ---
No errors, but no bans either? I tried kicking myself, but i can come straight back.
Dazzuh:
I can't seem to get Gmod to connect to mysql whatsoever, the mysql, webserver and gameserver are all running on the same machine, I've tried using localhost, 127.0.0.1, the IP, double checked the mysql info, made multiple databases and users yet each time I join game and use sm_ban name length reason it'll say it can't connect to the database.
When I start the server I get this;
--- Code: ---[Tue Jun 18 23:51:27 2013][SourceBans.lua] Failed to connect to the database: Can't connect to MySQL server on '62.113.213.36' (111). Retrying in 60 seconds.[Tue Jun 18 23:51:27 2013][SourceBans.lua] Failed to connect to the database: Can't connect to MySQL server on '62.113.213.36' (111). Retrying in 60 seconds.
--- End code ---
--- Code: ---sm_ban dazzuh 1 testing
The database is not active at the moment. Your command could not be completed.
--- End code ---
rainbow Dash:
Was about to start bitching how after a complete wipe and retry, that nothing was working, but as i was about to paste my database config i noticed my password was wrong cause i held shift too long.
EDIT:
--- Code: ---[ERROR] Invalid object2! (not userdata)
Type was: 0
1. unknown - [C]:-1
Timer Failed! [Simple][@addons/ulx/lua/includes/modules/sourcebans.lua (line 446)]
--- End code ---
EDIT: Been a while, but now im getting no issues other than the issue of cross server databases and persistent conenctions
cineruss:
I get these errors all the time I start.
--- Code: ---
Couldn't include file 'includes/modules/mysqloo.lua' (File not found) (@addons/ulx/lua/ulx/modules/sourcebans.lua (line 24))
Couldn't include file 'includes/modules/mysqloo.lua' (File not found) (@addons/ulx/lua/ulx/modules/sourcebans.lua (line 24))
[ERROR] addons/ulx/lua/ulx/modules/sourcebans.lua:24: Module not found!
1. require - [C]:-1
2. unknown - addons/ulx/lua/ulx/modules/sourcebans.lua:24
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
[ERROR] addons/ulx/lua/ulx/modules/sourcebans.lua:24: Module not found!
1. require - [C]:-1
2. unknown - addons/ulx/lua/ulx/modules/sourcebans.lua:24
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
// MODULE: sourcebans_init.lua//
Couldn't include file 'includes/modules/mysqloo.lua' (File not found) (@lua/includes/modules/sourcebans.lua (line 24))
Couldn't include file 'includes/modules/mysqloo.lua' (File not found) (@lua/includes/modules/sourcebans.lua (line 24))
[ERROR] lua/includes/modules/sourcebans.lua:24: Module not found!
1. require - [C]:-1
2. unknown - 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
[ERROR] lua/includes/modules/sourcebans.lua:24: Module not found!
1. require - [C]:-1
2. unknown - 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
[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
[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 ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version