• Print

Author Topic: SOLUTION: Kick ban problems!  (Read 10 times)

0 Members and 1 Guest are viewing this topic.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
SOLUTION: Kick ban problems!
« on: October 31, 2006, 07:25:09 am »
I finally figured out why people complain ulx kickban doesn't ban people. (I don't know why I never looked into it before..)

It turns out that the banned_user.cfg isn't executed automatically, so every time you ban a new person, it doesn't know about the older people banned and just removes them.

Excuse me while I go bang my head against the wall...

This problem has been fixed in revision 133, by loading banned users on startup (ULX forces it), and in ULib by loading the file before writing id's.
Experiencing God's grace one day at a time.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: SOLUTION: Kick ban problems!
« Reply #1 on: October 31, 2006, 12:27:39 pm »
Oh, what do you know... the command "removeid" won't remove a user from the banned_user.cfg even after a writeid. Apparently the best solution is to modify the config and restart the server when you want to unban people.
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: SOLUTION: Kick ban problems!
« Reply #2 on: October 31, 2006, 04:37:26 pm »
Megiddo,
 I've never expected ULX to load the ban list.
This is just something that admins should know, or learn.
So, now that the admins who know better have "exec banned_user.cfg" in thier server.cfg file (like I do), and ULX(or ULib) loads it too... will it have duplicate ban entries? Or is Steam/Valve smart enough not to have duplicate entries?
If it has duplicate entries, and someone writes code to remove just one, not realizing duplicate entries exist, well, the code they wrote would be broken.


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

  • Print