ULX

Author Topic: Edit kick message  (Read 2982 times)

0 Members and 1 Guest are viewing this topic.

Offline Fleamonji

  • Newbie
  • *
  • Posts: 45
  • Karma: 0
Edit kick message
« 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 :(

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Edit kick message
« Reply #1 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.

"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Edit kick message
« Reply #2 on: September 30, 2010, 04:53:52 PM »
If you use gatekeeper, ULX hooks into it.
Experiencing God's grace one day at a time.

Offline Fleamonji

  • Newbie
  • *
  • Posts: 45
  • Karma: 0
Re: Edit kick message
« Reply #3 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.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Edit kick message
« Reply #4 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.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Fleamonji

  • Newbie
  • *
  • Posts: 45
  • Karma: 0
Re: Edit kick message
« Reply #5 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

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Edit kick message
« Reply #6 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.
Experiencing God's grace one day at a time.

Offline Fleamonji

  • Newbie
  • *
  • Posts: 45
  • Karma: 0
Re: Edit kick message
« Reply #7 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.