Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: lolol on August 09, 2008, 09:51:51 AM
-
Okay, here is my problem.
Everything works fine exept the fact that I can not ban anyone, and if I try to the server gets a 10 seconds total freeze, and if you open the "!bansmenu" the server crashes.
I have had the same problem mabye 6 months ago and I had to reinstall whe whole server and I am not going to do that again. :'(
With the custom groups, mods, Uteam and MOTD I can not reinstall...
Help PLEASE! ???
-
Did you do anything to your server immediately before this started? New addon?
New groups/any other modification?
The only thing I can think of quickly off the top of my head is that the file we use to store reasons, banners and temporary bans has grown corrupt.
I forget the exact location of the file, but look for it in gmod/data/ULX, something like temp_bans.txt or something like that.
Once you find it, try renaming then restarting your server.
You'll lose any temporary bans you've set, and the information of who banned who for what reason, but you'll keep your permanent bans. If renaming it doesn't work, you can rename it back after deleting the one that gets recreated.
-
Thank you, I will try this and notify you of the progress.
-
I can't find the file, and by the way, the only folder related to ULX in the Data folder is a Ulib folder with the Bans (not the Temp_bans or what ever) and the Ulx_logs folder.
-
How many bans do you have?
-
About 200 I guess :P
And I can't remove them since the ban file only shows a few bans and a few million \\\\\
So I guess I fail ;D
-
Can you show us your data/ulib/bans.txt (I think that's the name)?
-
Ok, sure...
But isn't there a limit of text for posts?
-
I can't paste D:
I will uppload the file then and post the link.
I will post the link in a few mins.
(The file is 65 Mb's)
-
(The file is 65 Mb's)
I'd say no need to post. That file is huge. file.Read which we use to read the bans wasn't meant for that large a data structure file, of any sort.
-
So what do I do then?
-
I'm not sure of the banned user limit in Source games to be honest.
I've heard of busy servers with lots of bans having people permanently banned years ago getting back in though.
This might indicate the real Source ban system 'cycles' through its cfg/banned_*.txt files once it's limit has been reached.
How big are the banned files in your /cfg folder. Those aren't custom to ULX. ULX uses those just like any normal 'ban' command from the server console. Temp bans don't get stored there, nor do reasons/who banned.
The only recommendation I could make is to start your /data/ULib temp ban file over. Rename it to something else. Restart server.
Again, you'll lose the reasons/admins who banned, and any temporary bans there, but, your ban menu will work until it grows too large again.
Megiddo, perhaps we should write in some sanity checking about Ulib's ban file size. Notify users in the readme that old bans will get overwritten once the file reaches whatever limit we can find that it can cause problems.
-
Thank you :D