ULX

Author Topic: Ulx broken after crash, total ulib and ulx reinstall hasn't fixed it.  (Read 3638 times)

0 Members and 1 Guest are viewing this topic.

Offline NnyAskC

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
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.
« Last Edit: April 24, 2012, 02:37:30 AM by NnyAskC »

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Ulx broken after crash, total ulib and ulx reinstall hasn't fixed it.
« Reply #1 on: April 24, 2012, 08:29:43 AM »
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?
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline NnyAskC

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: Ulx broken after crash, total ulib and ulx reinstall hasn't fixed it.
« Reply #2 on: April 24, 2012, 10:28:49 AM »
I'll send the log later, running short on time this morning but the ban file has been sent.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Ulx broken after crash, total ulib and ulx reinstall hasn't fixed it.
« Reply #3 on: April 24, 2012, 10:40:09 AM »
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
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Ulx broken after crash, total ulib and ulx reinstall hasn't fixed it.
« Reply #4 on: April 24, 2012, 02:15:51 PM »
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.

"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline NnyAskC

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: Ulx broken after crash, total ulib and ulx reinstall hasn't fixed it.
« Reply #5 on: April 24, 2012, 11:18:56 PM »
Sticky - Sent the log, the ULX bit of it anyways.  Got the following error right in the middle of it.

Code: [Select]
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.

Code: [Select]
"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.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Ulx broken after crash, total ulib and ulx reinstall hasn't fixed it.
« Reply #6 on: April 25, 2012, 09:49:31 AM »
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.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6