Recent Posts

Pages: [1] 2 3 ... 10
General Chat & Help and Support / Re: Can't use admin only weapons
« Last post by JamminR on Today at 01:56:15 PM »
Do NOT erase the questions our forum asks you when posting here.

Do you have ULib installed? If yes, what version?
Do you have ULX installed? If yes, what version?
What gamemode are you using?

When trying to use this "golden shield", are there any lua errors in game OR server console?

Does ULX see you as a admin or superadmin?
(Check this using "ulx who" in your server console while you are playing on your server.

Is the golden shield an addon?
Have you tried other admin commands?
General Chat & Help and Support / Can't use admin only weapons
« Last post by Happypug on Today at 03:28:22 AM »
Whenever i try to spawn weapons with the golden shield nothing happens please help
Releases / Re: Sourcebans & ULX/ULib
« Last post by Sparrow on Today at 01:19:41 AM »
Everything works fine for me, except when I ban someone on the server and then try to unban them from the website it doesn't work. It says on the website that they were unbanned, but the user is still banned. They're still on the ban list. Any help would be super appreciated! :D
Off-Topic / Re: [TTT] ULX crashes server upon slaying all
« Last post by Windwhistle on October 13, 2017, 11:37:28 PM »
Further testing made me realize that the CPU usage spikes up to 100% randomly, that's good.

I believe it's been solved. :)
Off-Topic / Re: [TTT] ULX crashes server upon slaying all
« Last post by Windwhistle on October 13, 2017, 08:39:26 PM »
What addons are on your server? Did you make (or edit) any of them yourself?

I removed all addons from my server, including ULX, and put in my own command for killing all the players and it doesn't crash anymore. ???

I do usually have my own addons in there, but they're been triple checked for anything wrong with them. No errors spew in the console, the server just freezes up.
Developers Corner / Re: ULX jail
« Last post by iViscosity on October 13, 2017, 04:22:03 PM »
You don't have a StringArg set. Without the Parameter, you're trying to use a nil value. If you check your server's console when you use the command you'd see that.
Developers Corner / ULX jail
« Last post by XeanWolf20 on October 13, 2017, 03:30:12 PM »
Hey so i have a server and i had it where you could add reasons to jail, now i can't.

I would like it to look like:

You jailed Yourself for 1 second (You are stupid)

ban looks like:

You banned Yourself permanently (reason)

I want my jail like that but not with ban in?

Code: [Select]
local doJail
local jailableArea
function ulx.jail( calling_ply, target_plys, seconds, should_unjail, reason )
local affected_plys = {}
for i=1, #target_plys do
local v = target_plys[ i ]

if not should_unjail then
if ulx.getExclusive( v, calling_ply ) then
ULib.tsayError( calling_ply, ulx.getExclusive( v, calling_ply ), true )
elseif not jailableArea( v:GetPos() ) then
ULib.tsayError( calling_ply, v:Nick() .. " is not in an area where a jail can be placed!", true )
doJail( v, seconds )

table.insert( affected_plys, v )
elseif v.jail then
v.jail = nil
table.insert( affected_plys, v )

if not should_unjail then
local str = "#A jailed #T"
if seconds > 0 then
str = str .. " for #i seconds for"  .. reason
if reason and reason ~= "" then str = str .. " (#s)" end
ulx.fancyLogAdmin( calling_ply, str, affected_plys, seconds, reason )
ulx.fancyLogAdmin( calling_ply, "#A unjailed #T", affected_plys, reason )

local jail = ulx.command( CATEGORY_NAME, "ulx jail", ulx.jail, "!jail" )
jail:addParam{ type=ULib.cmds.PlayersArg }
jail:addParam{ type=ULib.cmds.NumArg, min=0, default=0, hint="seconds, 0 is forever", ULib.cmds.round, ULib.cmds.optional }
jail:addParam{ type=ULib.cmds.BoolArg, invisible=true }
jail:defaultAccess( ULib.ACCESS_ADMIN )
jail:help( "Jails target(s)." )
jail:setOpposite( "ulx unjail", {_, _, _, true}, "!unjail" )

This is what I have ATM, I added reason in the main function and to the fancyadmin thing, and now it doesn't say a thing in chat when O jail myself....

Off-Topic / Re: [TTT] ULX crashes server upon slaying all
« Last post by monkeymacman on October 13, 2017, 11:01:51 AM »
What addons are on your server? Did you make (or edit) any of them yourself?
Off-Topic / Re: [TTT] ULX crashes server upon slaying all
« Last post by JamminR on October 13, 2017, 08:02:54 AM »
More precisely, it crashes fairly randomly regardless if the command is used or not

Moved your post to Off-Topic - your entire post describes what seems to be a non-ULX issue.
Perhaps someone else has time/tips to assist, but I'm betting server would crash randomly if you removed ULX too.
My Gmod server used to crash randomly years ago. I guess for some that still happens now.
There's often an amount of time, or action, or event that can lead to a game crash.
Unfortunately, it's been so long since I've run a Gmod server that I don't know what tools are available to help determine.
Pages: [1] 2 3 ... 10