Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: Fleamonji on September 30, 2010, 04:24:58 PM

Title: Edit kick message
Post by: Fleamonji on September 30, 2010, 04:24:58 PM
I'd like to get rid of the annoying "Disconnect:  Kicked and banned." and use Gatekeeper.  Same for when a banned user connects.

Where might I find this in ULX?  I can't really find anything in any of the files :(
Title: Re: Edit kick message
Post by: JamminR on September 30, 2010, 04:34:40 PM
That actual message is controlled by the Source server engine, not ULX.
If it doesn't appear in Gatekeeper, it's because Gatekeeper hooks in before the engine messages.

Title: Re: Edit kick message
Post by: Megiddo on September 30, 2010, 04:53:52 PM
If you use gatekeeper, ULX hooks into it.
Title: Re: Edit kick message
Post by: Fleamonji on October 02, 2010, 11:36:03 AM
I'd still like to get rid of "Kicked and Banned" as the reason, and display the legit reason.  They won't know why they got kicked/banned otherwise.
Title: Re: Edit kick message
Post by: JamminR on October 02, 2010, 04:47:14 PM
Sorry we can't help you. Ask Valve to modify the Source engine to show reasons beyond that.
Title: Re: Edit kick message
Post by: Fleamonji on October 02, 2010, 04:53:01 PM
Sorry we can't help you. Ask Valve to modify the Source engine to show reasons beyond that.

I don't understand though, I could just make a script...

Code: [Select]
require("gatekeeper")

function KickHim(ply, cmd, args)
if ply:IsAdmin() then
gatekeeper.Drop(cmd:UserID(), args)
end
end
concommand.Add("kick_player", KickHim)

just a simple example, but somewhere ULX is kicking the person, and there has got to be a way to change the function/method.

when you ban someone with assmod it doesnt say "kicked and banned", if u see what im getting at
Title: Re: Edit kick message
Post by: Megiddo on October 02, 2010, 05:42:27 PM
Again, the only way to do this is with gatekeeper, which ULX supports. If you want this, your only choice is to install gatekeeper.
Title: Re: Edit kick message
Post by: Fleamonji on October 02, 2010, 06:10:27 PM
Again, the only way to do this is with gatekeeper, which ULX supports. If you want this, your only choice is to install gatekeeper.

Wait, I'm dumb, I fixed this.  Sorry.