Author Topic: SVN:ULX banlist issues.  (Read 4541 times)

0 Members and 2 Guests are viewing this topic.

Offline igiz

  • Newbie
  • *
  • Posts: 30
  • Karma: -2
SVN:ULX banlist issues.
« on: March 16, 2010, 10:03:33 AM »
I am experiencing a problem on my server.Currently using ULX I am unable to unban when the player is outside the server and neither I can open the banlist.No error appears but the ban-list just wont open.Sometimes it opens but half of the bans are not there and the text at the very bottom of the list goes messed up all over the place.This has happened randomly as we kept on banning people and the list grew bigger so I am guessing maybe ulx is unable to hold such long banlists or something.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: SVN:ULX banlist issues.
« Reply #1 on: March 16, 2010, 12:42:43 PM »
What does it say when you try to unban someone?
Experiencing God's grace one day at a time.

Offline igiz

  • Newbie
  • *
  • Posts: 30
  • Karma: -2
Re: SVN:ULX banlist issues.
« Reply #2 on: April 01, 2010, 09:17:37 AM »
Sorry for the long reply,was away for few weeks.Anyway the current problem is that when you try acess ulx banlist ingame,the "loading" message comes up but then it just gets stuck there and the banlist will never appear.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: SVN:ULX banlist issues.
« Reply #3 on: April 01, 2010, 01:44:48 PM »
How large is your banlist file? Do you have many bans in banned_users.cfg?
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Solonari

  • Newbie
  • *
  • Posts: 18
  • Karma: 2
Re: SVN:ULX banlist issues.
« Reply #4 on: April 30, 2010, 11:14:07 PM »
Getting the same error.  15 people in our ban list.  There's an error seen at boot time.

ULib/server/player.lua:339: attempt to perform arithmetic on field 'unban' (a nil value)

After this, any admin who attempts to view the Unban menu gets the gray "loading" square stuck on their screen until they relogin.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: SVN:ULX banlist issues.
« Reply #5 on: April 30, 2010, 11:17:24 PM »
Solonari, can you go to your server and type "lua_run PrintTable( ULib.bans )", and copy/paste the output to me? (It might be a lot to copy/paste, especially in a console window if it's a ded server)

EDIT: Also, if you're using the SVN version of ULX/ULib, have you tried using XGUI? It not only will eventually replace the current ULX menus, but it has a pretty sweet banmenu! ;D
« Last Edit: April 30, 2010, 11:20:04 PM by Stickly Man! »
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Solonari

  • Newbie
  • *
  • Posts: 18
  • Karma: 2
Re: SVN:ULX banlist issues.
« Reply #6 on: May 01, 2010, 01:00:01 AM »
Message sent.  Much appreciated that you're looking into this.  Donated a while back, but sounds like I might be up for another round.  :-)

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: SVN:ULX banlist issues.
« Reply #7 on: May 01, 2010, 05:26:43 AM »
Solonari, can you go to your server and type "lua_run PrintTable( ULib.bans )", and copy/paste the output to me? (It might be a lot to copy/paste, especially in a console window if it's a ded server)

EDIT: Also, if you're using the SVN version of ULX/ULib, have you tried using XGUI? It not only will eventually replace the current ULX menus, but it has a pretty sweet banmenu! ;D
All you need to do is completely remove ULX and ULiB then re-install/SVN it. (Keep data files)

I had the same problem until I did this^
« Last Edit: May 01, 2010, 05:30:01 AM by Aaron113 »

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: SVN:ULX banlist issues.
« Reply #8 on: May 01, 2010, 11:38:40 AM »
Yeah, Solonari, I've gotten this issue a couple times before, but haven't been able to successfully reproduce it. I'll send the banlist to Megiddo and see what he thinks. What was the history with the ban STEAM_0:1:########? It appears twice in that table you sent me:

STEAM_0:1:########:
               unban   =       0
And then the messed up one:
???     =       STEAM_0:1:########

Did you try unbanning it recently? Or was it a temporary ban that expired? Or was it just a regular ban that got messed up?

Before you do anything else, can you also send me your cfg/banned_users.cfg file, and your data/ULib/bans.txt file?

After sending me the files, you can go ahead and try to fix the problem by removing any instance of STEAM_0:1:######## in those two files, then restart your server. You can re-ban that user if you need to.

*Self-promotional advertisement here*:
(Also, be sure to check out XGUI :P You can still view the banlist in case something like this happens)
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Solonari

  • Newbie
  • *
  • Posts: 18
  • Karma: 2
Re: SVN:ULX banlist issues.
« Reply #9 on: May 02, 2010, 08:16:49 PM »
XGUI's nice.  Mostly a view-only tool at this time?

From what I've read, the line(s) with just "{sometag} = STEAM_{whatever}" may be something where a player was banned via GM rather than the ULX system.  I could be wrong, but that's what I gathered.

Haven't tried messing with the file yet, but will let you know when I do.  So far, I'm happier leaving the bans in place, considering the number of troublemakers out there.

Thanks!

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: SVN:ULX banlist issues.
« Reply #10 on: May 02, 2010, 08:23:20 PM »
Actually, the line with {sometag} = STEAM_{whatever} is from what I can tell, completely accidental. Any bans that come from GM (or sourcebans) would have:
STEAM_{whatever}
{
unban = 0
}

It'd probably be better to note what STEAMIDs are messed up, remove them from the files, then restart your server and re-ban the id via XGUI or ulx banid. You can also use XGUI to view any "Source Bans" by clicking the Source Bans button at the bottom right corner of the bans menu (if the button is disabled, then it didn't find any)

And XGUI is, for what's finished of it, completely functional. It may show things you don't have access to (but won't let you actually use it), but.. I'm still working in it :P
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: SVN:ULX banlist issues.
« Reply #11 on: May 02, 2010, 08:45:19 PM »
( ***JamminR really wishes he had time for a road trip ... a meeting of fun minds is soon to occur when Megiddo heads home for school break )
Mmm. Cookies.
Mmm. Chinese carry out
Mmm. Fuzzy blankets on a comfy couch.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming