Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: NnyAskC on April 24, 2012, 02:35:37 AM
-
There was a crash, and after it came back up ulx ban and ulx banid don't do anything and there are no in-game errors. As I said in the title, I have already done reinstalls of Ulib and ULX.
If I try banid in HLSW I can see an error.
Rcon: "ulx banid STEAM_0:1:41760197 10000 minge"
Lua Error: [addons/ulib/lua/ulib/server/player.lua:224] table index is nil
[addons/ulib/lua/ulib/server/player.lua:224] table index is nil
uniqueid "(" not found
Can't ban users with ID "("
Writing cfg/banned_user.cfg.
-
Could you post a log of the output of the server starting?
It sounds like there could be something wrong with your bans file, so additionally could you PM me your garrysmod/data/ulib/bans.txt file?
-
I'll send the log later, running short on time this morning but the ban file has been sent.
-
Hmm, I didn't see anything wrong with the banfile, other than there doesn't seem to be any extra data (time banned, which admin banned, name of person banned, etc) associated with it that ULX normally puts in. (Usually a case when bans.txt gets deleted and recreated or if you use something other than ulx to manage your bans)
For now we'll have to wait till you can post the server log before I can tell what may be happening
-
Also realize, when uninstalling and reinstalling, ULX stores data in gmod/data/ULib and gmod/data/ULX.
If all you're doing to re-install is add and remove /addons/ulib and ulx, then you aren't fully re-installing.
If your bans file isn't corrupt, one of the other data files might be.
-
Sticky - Sent the log, the ULX bit of it anyways. Got the following error right in the middle of it.
Bans file was not formatted correctly. Attempting to fix and backing up original
Error while reading bans file was: Bad input on line 926
Original file was backed up to ULib/bans_backup15.txt
Which is the only area in the bans log with actual info in it.
"STEAM_0:1:10457218"
{
"unban" 0
}
"Player [NULL]"
{
"time" 1335311079
"modified_time" 1335325857
"unban" 1335385797
"name" Player [6][ΒΌ? Dr. Skitzo/Rabid gummy be] <-----Line 926
"reason" "spam"
}
"STEAM_0:0:23751500"
{
"unban" 0
}
Jammin - Well I learned something new today. =P I'll clear that area out too and see if that helps.
-
Hmm, that is an interesting entry. "Player [NULL]" is not a valid SteamID and the name part doesn't have quotes around it. Do you happen to know how this user was banned? Was he banned using chat command or console command or XGUI? Or something else?
You hopefully should be able to fix the problem by editing your bans.txt file and removing that entry. It doesn't seem to have a proper steamID associated with it to readd the ban, but you might find some info in the backup ban files it created.