Author Topic: ULiB freezing help  (Read 2604 times)

0 Members and 1 Guest are viewing this topic.

Offline Mr. Sid

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: ULiB freezing help
« Reply #30 on: August 20, 2017, 12:20:37 PM »
I realize this is an old thread, but we have an identical problem. It's definitely the users.txt and bans.txt files. They need to be written more efficiently rather than an entire re-write. I'm a new Developer for one of top ten TTT servers on Gmod.

Please realize this is a problem and help the growing number of users with it.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2564
  • Karma: 393
    • View Profile
    • |G4P| Gman4President
Re: ULiB freezing help
« Reply #31 on: August 20, 2017, 12:23:30 PM »
This is a limitation of the gmod file writing system.

We are aware of the issue and are working on a more efficient system in ULX4.

Until then, either use one of the many ULib MySQL implementations out there, or don't assign user groups to every single person joining your server.

Offline Mr. Sid

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: ULiB freezing help
« Reply #32 on: August 20, 2017, 12:49:10 PM »
Thanks for the response, MrPresident. (And sorry for raising the dead!)

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2564
  • Karma: 393
    • View Profile
    • |G4P| Gman4President
Re: ULiB freezing help
« Reply #33 on: August 20, 2017, 01:02:44 PM »
No worries, this issue has been haunting us for a while.

ULib was never intended to be used the way server owners use it, which is why we figured that a flat text file would work fine. If you only use ULX to store admins/moderators and some special groups it works great!

Server owners these days use auto promotion mods to assign groups to literally everyone that joins. Or gamemods like RP do that too. This will add up.

The new ULX4 will utilize SQLite I believe which will be a much more efficient way to store and retrieve player info for way more players.