Author Topic: Overly Large Users.txt File  (Read 4462 times)

0 Members and 1 Guest are viewing this topic.

Offline Samusaaron3

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
Overly Large Users.txt File
« on: February 16, 2009, 12:40:41 PM »
My users.txt file (data/ulib/users.txt) is currently 128mb in size. It has almost 5500 lines of text.

I can not open the file, and I think it is causing ulib to have problems.

What should I do?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Overly Large Users.txt File
« Reply #1 on: February 16, 2009, 12:52:28 PM »
How did you get so many users? Compress it and attach it to this thread.
Experiencing God's grace one day at a time.

Offline Samusaaron3

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
Re: Overly Large Users.txt File
« Reply #2 on: February 16, 2009, 01:27:16 PM »
How did you get so many users? Compress it and attach it to this thread.

Attach the file or copy/paste?

Edit: Wow, compressed its only 6kb.
« Last Edit: February 16, 2009, 01:29:39 PM by Samusaaron3 »

Offline spbogie

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: 41
Re: Overly Large Users.txt File
« Reply #3 on: February 16, 2009, 01:29:20 PM »
Compress the file (zip, rar, 7z, etc...) and add it as an attachment to your post.
I have not failed. I've just found 10,000 ways that won't work. - Thomas A. Edison
I reject your reality and substitute my own. - Adam Savage

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Overly Large Users.txt File
« Reply #4 on: February 16, 2009, 01:51:43 PM »
Wow... all of them appear to be unique users. Do you have an addon that's adding each user that connects to your user list?
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: Overly Large Users.txt File
« Reply #5 on: February 16, 2009, 02:37:46 PM »
After a bit more examination, his actual user file need only be 48k.
I found ~128mb of slashes \\\\\\\\\ in one of the user names added to the file.
I believe it's related to the same bug we fixed in SVN 17, bug 208 regarding bans.

Samusaaron3, This is a known issue for our release ULX 3.31 version for banning people with slashes in the name. Though we'd not seen this reported for any other instance, the same would hold true for adding users with slashes in the name. We've fixed this in SVN code, and hope to have a real release soon.

I've attached the 'fixed' users.txt file for you.
You may still find a few quirks, as I notice a few myself, but hopefully none as bad as you had.
In the future, until we make a new release, be careful of adding people with slashes in the name through console. Adding through manual txt file edit should still work.

Or, feel free to help us test SVN.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Samusaaron3

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
Re: Overly Large Users.txt File
« Reply #6 on: February 16, 2009, 03:59:28 PM »
I've loaded the file you uploaded, and everything seems to be better.

I am currently using APromotion, which automatically adds people to the users.txt file.

I think I will get the latest version of ulx from the svn.

Thanks!

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Overly Large Users.txt File
« Reply #7 on: February 16, 2009, 04:15:00 PM »
You actually want the svn version of ulib to fix the issue. :)
Experiencing God's grace one day at a time.

Offline Samusaaron3

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
Re: Overly Large Users.txt File
« Reply #8 on: February 16, 2009, 05:16:01 PM »
I did both. Oddly enough, I now cant join the server (or any server for that matter.)

Its not only me; a couple friends all now have the same problem (flashes the white loading screen for about 1/30th of a second.)

Its.....odd.

Edit: Ok, I updated the source dedicated server files, and now people can join again. The problem is that people are not being correctly assigned to groups anymore (no one can use the !motd command, which should be available to everyone)

Any ideas?
« Last Edit: February 16, 2009, 05:24:21 PM by Samusaaron3 »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Overly Large Users.txt File
« Reply #9 on: February 16, 2009, 08:59:49 PM »
New Steam update breaks anything relying on SteamID.
I love good plans.
http://www.facepunch.com/showthread.php?t=695027

I've not been able to find actual Valve news stating they changed anything, but the news is abuzz on several Gmod forums I visit.

Seems Valve has pulled what I like to call a 'Garry'.
"Oh, this change won't bother anyone!"
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Samusaaron3

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
Re: Overly Large Users.txt File
« Reply #10 on: February 17, 2009, 06:15:55 PM »
The fix worked. Only thing was that I had to rename a bunch of files/folders.

May I suggest using http://file-folder-ren.sourceforge.net/ for mass renaming.

Thanks for the help.