Author Topic: ULX/ULIB Problem  (Read 9024 times)

0 Members and 1 Guest are viewing this topic.

Offline SK83RJOSH

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
  • Im not A fanboy Im an Artist
ULX/ULIB Problem
« on: July 07, 2010, 06:22:48 AM »
Whenever I try to access my server bans menu through !menu.

A box saying Loading... comes up an this error: addons\ulib\lua\ulib\server\player.lua:343: attempt to perform arithmetic on field 'unban' (a nil value) occurs
I recently added
uppl
sui_scorboard
Uteam
Also I added bots to test out some ULX stuff if anyone can help or give me a fix please do so :D
Im Not A
*  Fanboy
Im An
*  Artist.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ULX/ULIB Problem
« Reply #1 on: July 07, 2010, 07:03:31 AM »
Are you using SVN or release version of ULX? Either way, the current menus are being phased out in favor of XGUI.
Experiencing God's grace one day at a time.

Offline SK83RJOSH

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
  • Im not A fanboy Im an Artist
Re: ULX/ULIB Problem
« Reply #2 on: July 07, 2010, 07:11:21 AM »
SVN version.
So should I download XGUI an see if that solves the issue?
Im Not A
*  Fanboy
Im An
*  Artist.

Offline SK83RJOSH

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
  • Im not A fanboy Im an Artist
Re: ULX/ULIB Problem
« Reply #3 on: July 07, 2010, 09:03:36 AM »
Are you using SVN or release version of ULX? Either way, the current menus are being phased out in favor of XGUI.
Okay I tried XGUI I love it but my admins are getting that error an the loading box NEVER goes away.
Im getting it still too.
Ive restarted my server 3 times still no success.

I dont think sui_scoreboards doing it.

UUPL worked fine before....

Only thing that could cause it an I HIGHLY doubt it is it
UTeam.

Also I messed around with the bans list earlier could that cause it?
Hope Im not coming off abit too strong.  :o
Im Not A
*  Fanboy
Im An
*  Artist.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ULX/ULIB Problem
« Reply #4 on: July 07, 2010, 09:24:05 AM »
Are you positive that you're using the very latest SVN versions of ULX and ULib?
Experiencing God's grace one day at a time.

Offline SK83RJOSH

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
  • Im not A fanboy Im an Artist
Re: ULX/ULIB Problem
« Reply #5 on: July 07, 2010, 09:32:14 AM »
Are you positive that you're using the very latest SVN versions of ULX and ULib?
Of course I updated it twice or thrice to try to solve the problem.
Guess theres no way to help me :-/
« Last Edit: July 07, 2010, 10:06:06 AM by SK83RJOSH »
Im Not A
*  Fanboy
Im An
*  Artist.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ULX/ULIB Problem
« Reply #6 on: July 07, 2010, 10:32:32 AM »
This is something I'll bring before the author of XGUI. No other errors either in client or server console than the loading box never goes away? Are you experiencing issues any other mods? Does ULX autocomplete from a client console work? This problem occurs on every single client, without exception?
Experiencing God's grace one day at a time.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: ULX/ULIB Problem
« Reply #7 on: July 07, 2010, 10:34:29 AM »
It sounds like you have a corrupt entry in your bans.txt file-- Could you PM your bans file to me so I can take a look?
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline SK83RJOSH

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
  • Im not A fanboy Im an Artist
Re: ULX/ULIB Problem
« Reply #8 on: July 07, 2010, 10:38:32 AM »
This is something I'll bring before the author of XGUI. No other errors either in client or server console than the loading box never goes away? Are you experiencing issues any other mods? Does ULX autocomplete from a client console work? This problem occurs on every single client, without exception?

I have also got this error

addons\ulx\lua\ulx\modules\sh\menus.lua:229: attempt to call field 'refreshBans' (a nil value)

Its happened on mine an two of my admins menu.

If I do ulx adduser NAMEHERE admin
it gives me an error aswell
Unless it that players first connect.
I found a work around for that add " " around the name.

Also this happens only with the Default !menu not his GUI but sometimes his GUI wont load a few bans. I have to manually RE-add them.
Im Not A
*  Fanboy
Im An
*  Artist.

Offline SK83RJOSH

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
  • Im not A fanboy Im an Artist
Re: ULX/ULIB Problem
« Reply #9 on: July 07, 2010, 10:43:48 AM »
It sounds like you have a corrupt entry in your bans.txt file-- Could you PM your bans file to me so I can take a look?
-snip-

Didnt read your post the whole way XD
Im Not A
*  Fanboy
Im An
*  Artist.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ULX/ULIB Problem
« Reply #10 on: July 07, 2010, 10:45:05 AM »
If I do ulx adduser NAMEHERE admin
it gives me an error aswell
Unless it that players first connect.
I found a work around for that add " " around the name.

Please give us the error.

And you definitely have a corrupt bans file. Did you try to modify it by hand?
Experiencing God's grace one day at a time.

Offline SK83RJOSH

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
  • Im not A fanboy Im an Artist
Re: ULX/ULIB Problem
« Reply #11 on: July 07, 2010, 10:47:22 AM »
Please give us the error.

And you definitely have a corrupt bans file. Did you try to modify it by hand?

At one point I did to change the name of a player an Ill get the error for you.
Im sure itll help with something :D
Ill add it to this post when I get it. \/



] ulx adduser SK83RJOSH™ operator
Command "ulx adduser", argument #2: invalid group "" specified
] ulx adduser "SK83RJOSH™"  operator
repopulating clients
Player [1][SK83RJOSH™]   authed   operator
You added yourself to group operator
Reprocessing XGUI modules- Player's permissions changed
Player [1][SK83RJOSH™]   authed
« Last Edit: July 07, 2010, 10:53:02 AM by SK83RJOSH »
Im Not A
*  Fanboy
Im An
*  Artist.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: ULX/ULIB Problem
« Reply #12 on: July 07, 2010, 10:54:49 AM »
SK83RJOSH, perhaps the best way to fix this problem is to copy the STEAMIDs, reasons, and names of your existing bans, then delete your bans.txt and your garrysmod/cfg/banned_users.cfg files, then use XGUI bans tab to readd the bans. (You can re-add the names and the reasons when you ban them by steamID)

My major goal with XGUI is to prevent needing to manually edit text files, because any minor typo or error can cause a lot of random errors.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline SK83RJOSH

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
  • Im not A fanboy Im an Artist
Re: ULX/ULIB Problem
« Reply #13 on: July 07, 2010, 10:56:33 AM »
SK83RJOSH, perhaps the best way to fix this problem is to copy the STEAMIDs, reasons, and names of your existing bans, then delete your bans.txt and your garrysmod/cfg/banned_users.cfg files, then use XGUI bans tab to readd the bans. (You can re-add the names and the reasons when you ban them by steamID)

My major goal with XGUI is to prevent needing to manually edit text files, because any minor typo or error can cause a lot of random errors.

I tried that once but It didnt work but ill try again :D

An XGUI is great it really helped me with the adverts an such.

-snip-
-snip-
« Last Edit: July 07, 2010, 11:08:58 AM by SK83RJOSH »
Im Not A
*  Fanboy
Im An
*  Artist.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: ULX/ULIB Problem
« Reply #14 on: July 07, 2010, 11:05:53 AM »
I tried that once but It didnt work but ill try again :D

Be sure you delete BOTH the bans.txt and the banned_users.cfg files and do a changelevel or server restart before re-adding the bans :P
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6