ULX

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

0 Members and 3 Guests are viewing this topic.

Offline Storm

  • Full Member
  • ***
  • Posts: 220
  • Karma: 4
All bans have disappeared from bans tab
« on: December 06, 2013, 09:20:47 AM »
Oddest thing. My bans have all disappeared from the bans tab on my 7 TTT servers. My bans.txt and banned_user.cfg are intact but under the bans tab there is nothing. This has not occurred on my servers running other gmod gamemodes. Just on TTT.  Have you heard of any issue with this and can you suggest something I might check to get it back? Thank you!

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 #1 on: December 06, 2013, 02:35:11 PM »
Check data/ulib/bans.txt
If the bans are still in there please tell us, and maybe we can fix this for you.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline Storm

  • Full Member
  • ***
  • Posts: 220
  • Karma: 4
Re: All bans have disappeared from bans tab
« Reply #2 on: December 06, 2013, 03:35:39 PM »
Yes bans.txt is intact.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: All bans have disappeared from bans tab
« Reply #3 on: December 06, 2013, 04:42:50 PM »
How large is your bans file?
Experiencing God's grace one day at a time.

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 #4 on: December 06, 2013, 11:08:49 PM »
How large is your bans file?

You guys should maybe consider changing users/groups/bans into mysql lite. It would be much more reliable in my opinion.
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 #5 on: December 07, 2013, 10:19:33 AM »
You guys should maybe consider changing users/groups/bans into mysql lite. It would be much more reliable in my opinion.

It's the very next thing we're going to do, actually. We just need time to do it.
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 #6 on: December 07, 2013, 12:52:08 PM »
bans.txt is 367,445

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 #7 on: December 07, 2013, 01:03:35 PM »
bans.txt is 367,445

That might be your issue. That's quite a large file, it's around 350 megabytes. Must be hundred to thousands of bans, like you must of been banning people using ulx before xgui was here..
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline Storm

  • Full Member
  • ***
  • Posts: 220
  • Karma: 4
Re: All bans have disappeared from bans tab
« Reply #8 on: December 07, 2013, 01:57:56 PM »
It is over 1600 bans. I have that many bans on each of 10 gmod servers because I ban some people across all servers. It is really a problem because at some point I am afraid something will break! Moreover, I have to enter each ban separately to each of 10 servers on HLSW. It is very time consuming. This is why I wish sourcebans would work properly on gmod.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: All bans have disappeared from bans tab
« Reply #9 on: December 08, 2013, 06:33:45 AM »
That's 358.8 KB, chaos (first number was bytes). That's large but not huge. I'm really not sure what your problem is, Storm, sorry. We will be moving the bans system over to SQL in the near future though, hopefully that will resolve your issue.
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 #10 on: December 08, 2013, 07:56:07 AM »
Thanks at least the bans are still in the banned_user.cfg and they cant get on the servers.

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 #11 on: December 08, 2013, 06:16:38 PM »
That's 358.8 KB, chaos (first number was bytes). That's large but not huge. I'm really not sure what your problem is, Storm, sorry. We will be moving the bans system over to SQL in the near future though, hopefully that will resolve your issue.

Will you guys be making some other addon that will convert the ulib bans to mysql bans, or will all bans just be reset?
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

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 #12 on: December 08, 2013, 07:24:03 PM »
Not decided yet.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Storm

  • Full Member
  • ***
  • Posts: 220
  • Karma: 4
Re: All bans have disappeared from bans tab
« Reply #13 on: December 09, 2013, 09:43:09 AM »
Reset?? You mean I may lose the bans?

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 #14 on: December 09, 2013, 10:07:33 AM »
Reset?? You mean I may lose the bans?

The current system uses file.write(or something like that) which creates a basic text file in DATA folder called bans.txt. In that file contains all the bans and stuff, though they have been discussing switching to MySQL lite so that bans can be read faster and easier by the server, which could result in fixing the issues with delay and lag.

(I wrote this one my phone, so there may be small mistakes and such.)
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.