Author Topic: All bans have disappeared from bans tab  (Read 4380 times)

0 Members and 1 Guest are viewing this topic.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: All bans have disappeared from bans tab
« Reply #15 on: December 09, 2013, 03:41:24 PM »
I would never just ignore existing bans, they will be migrated to the new system.
Experiencing God's grace one day at a time.

Offline Storm

  • Full Member
  • ***
  • Posts: 220
  • Karma: 4
Re: All bans have disappeared from bans tab
« Reply #16 on: December 09, 2013, 07:16:06 PM »
It sounds like it would be great to switch but would I lose the bans in my banned_user.cfg or could I transfer them? Or is it just too early to tell?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: All bans have disappeared from bans tab
« Reply #17 on: December 09, 2013, 08:45:44 PM »
*sigh* No Storm.
Though it's possible I'm incorrect in saying this, I'm 99% sure I'm not.
We will never over take/stop using Source's normal ban system, which, sometimes unfortunately, is a straight text file called banned_user.cfg
The main reasons we use an additional file now, and it's the bans.txt one are;
1) "Temporary" across multi-session - Source bans don't keep "temporary bans" across server sessions. If you temporary ban someone using Source, no ULib loaded, for 5 days and your server restarts for any reason before that 5 days is up, that ban is gone. With our file, it will stay until expired.
2) Reason tracking
3) Who tracking (both name banned, and who did it)
4) Others I now forget.

If/when we start storing OUR ban information in a new format, be it SQLite or whatever, as Megiddo stated, he plans on converting whatever is in OUR bans.txt file.
The Source bans file would still be loaded as normal, and perhaps, given our industrious nature, also as an addition be stored in a separate sqlite db file.
« Last Edit: December 09, 2013, 08:47:32 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: All bans have disappeared from bans tab
« Reply #18 on: December 10, 2013, 12:52:22 AM »
The Source bans file would still be loaded as normal, and perhaps, given our industrious nature, also as an addition be stored in a separate sqlite db file.


Did not know you could create your own sv.db file, thought everyone just had to share and make a new table in the thing... Mmmmh :/
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: All bans have disappeared from bans tab
« Reply #19 on: December 10, 2013, 05:22:56 AM »
You do have to share, unfortunately... :(
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: All bans have disappeared from bans tab
« Reply #20 on: December 10, 2013, 01:28:49 PM »
Indeed Chaos.
I only meant as a back up to the original Source text file.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming