Recent Posts

Pages: [1] 2 3 ... 10
1
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
2
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
3
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. :)
4
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.
5
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.
6
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 )
else
doJail( v, seconds )

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

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

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....


7
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?
8
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.
10
Off-Topic / (solved) [TTT] ULX crashes server upon slaying all
« Last post by Windwhistle on October 13, 2017, 07:19:49 AM »
Running on the latest versions of ULX and ULIB.

My server crashes upon using the !slay * command in ULX. More precisely, it crashes fairly randomly regardless if the command is used or not. I could use the command 20 times in a row and everything will be fine, but the next time I use it when the round changes in TTT everything just stops. My players will be running around playing the game normally and the server will just crash in the same way that it would when the command does it.

Odd thing about this crash is that there are no errors whatsoever, it just kicks all players from the server and the server just freezes.

This crashing is a problem because it will happen when players are on the server just playing the game. I've tried numerous things to fix it, such as getting rid of all addons besides ULX, and yet it will still crash.

I have no idea what this type of crash means, but if anyone had any kind of similar problems and could point me to somewhat of a fix I'd be very grateful.

Originally posted on Facepunch forums, but decided to come here and see if anyone here had any answers to give as I am at a loss.
Pages: [1] 2 3 ... 10