Author Topic: bans_backup.txt  (Read 1453 times)

0 Members and 1 Guest are viewing this topic.

Offline DriedSponge

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
bans_backup.txt
« on: December 09, 2018, 12:53:24 PM »
How come ulib keeps saving my bans as bans_backup.txt. I would prefer it to be just bans.txt because I'm trying to integrate it with another addon.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: bans_backup.txt
« Reply #1 on: December 09, 2018, 09:12:21 PM »
This normally occurs when the original server /ulib/bans.txt file has been corrupted in some way.
If you have another addon reading or writing to it directly, not using ULib functions, you are corrupting it.
Gmod txt files don't like two apps attempting to read or write at the same time.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming