men232 / ugb-module Goto Github PK
View Code? Open in Web Editor NEWULX Custom Global Ban
License: MIT License
ULX Custom Global Ban
License: MIT License
I was preparing my seccond server and when I atempted to add the server to the banlist database it didn't seem to appear while the following mysql commands are done:
http://i.imgur.com/1o6i5lk.png
Also when I went into my database to look if the server exited it returned only my DarkRP server:
http://i.imgur.com/CUZ77DF.png
Again good luck fixing.
When I added the module on the server side and started the server it gave me the following errors.
// MODULE: udb_server.lua //
[ERROR] addons/ugb/lua/ulx/modules/udb_server.lua:3: Couldn't load module library!
// MODULE: ugb_server.lua //
[ERROR] addons/ugb/lua/ulx/modules/ugb_server.lua:339: attempt to index global 'UDB' (a nil value)
// MODULE: urs_server.lua //
EDIT: I was a idiot and installed MYSQLoo wrong. My bad,
It seems that ULX Unban doesn't clear the SteamID from the database.
Related Error:
06:43:47 L 08/22/2013 - 13:43:33: rcon from "84._._.***:57375": command "ulx unban STEAM_0:1:42527623"
06:43:47
[ERROR] addons/ugb/lua/ulx/modules/ugb_server.lua:184: attempt to call field 'fileWrite' (a nil value)
1. unbanfunc - addons/ugb/lua/ulx/modules/ugb_server.lua:184
2. unban - addons/ulx/lua/ulx/xgui/server/sv_bans.lua:92
3. call - addons/ulx/lua/ulx/modules/sh/util.lua:118
4. __fn - addons/ulib/lua/ulib/shared/commands.lua:943
5. unknown - addons/ulib/lua/ulib/shared/commands.lua:1296
6. unknown - lua/includes/modules/concommand.lua:69
So after installing this i am not able to see who is in the groups i made with ulx's group tab. I also cant see who we ban in the ban tab (in game)
It appears that bans don't show on the web page.
Related errors:
Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/boxedcom/public_html/bans/tmpl/main/banlist.php on line 2
Bans and Counting
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /home/boxedcom/public_html/bans/tmpl/main/banlist.php on line 21
Banpage: http://www.boxedcommunity.com/bans
It seems that console bans (Bans done directly from rcon) do not register in the database. I got the following debug message.
09:20:41 L 08/23/2013 - 16:20:22: rcon from "84.***.***.***:53723": command "ulx banid STEAM_0:0:26562676 2d Testing"
09:20:41 [UDB Debug] SELECT * FROM u_globalbans WHERE _SteamID = "STEAM_0:0:26562676" AND _Cluster = "*"
(Console) banned steamid STEAM_0:0:26562676 for 2880 minute(s) (Testing)
uniqueid "STEAM_0:0:26562676" not found
(Note that this SteamID is my own and is seen by the server before)
The following shows up in my database.
http://i.imgur.com/dscfkye.png
Goodluck and yet one of the best plugins I used for Gmod.
Hey, i noticed that it uses server times could you possible add a way to change that?
also when i ban people times are different, i banned myself for 1min on the web page displayed 8hours but i was unbanned after 1min
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.