Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: SK83RJOSH on July 07, 2010, 06:22:48 AM

Title: ULX/ULIB Problem
Post by: SK83RJOSH 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
Title: Re: ULX/ULIB Problem
Post by: Megiddo 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.
Title: Re: ULX/ULIB Problem
Post by: SK83RJOSH on July 07, 2010, 07:11:21 AM
SVN version.
So should I download XGUI an see if that solves the issue?
Title: Re: ULX/ULIB Problem
Post by: SK83RJOSH 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
Title: Re: ULX/ULIB Problem
Post by: Megiddo on July 07, 2010, 09:24:05 AM
Are you positive that you're using the very latest SVN versions of ULX and ULib?
Title: Re: ULX/ULIB Problem
Post by: SK83RJOSH 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 :-/
Title: Re: ULX/ULIB Problem
Post by: Megiddo 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?
Title: Re: ULX/ULIB Problem
Post by: Stickly Man! 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?
Title: Re: ULX/ULIB Problem
Post by: SK83RJOSH 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.
Title: Re: ULX/ULIB Problem
Post by: SK83RJOSH 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
Title: Re: ULX/ULIB Problem
Post by: Megiddo 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?
Title: Re: ULX/ULIB Problem
Post by: SK83RJOSH 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
Title: Re: ULX/ULIB Problem
Post by: Stickly Man! 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.
Title: Re: ULX/ULIB Problem
Post by: SK83RJOSH 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-
Title: Re: ULX/ULIB Problem
Post by: Stickly Man! 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
Title: Re: ULX/ULIB Problem
Post by: SK83RJOSH on July 07, 2010, 11:07:59 AM
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
Now this is getting unorganized XD
Im kinda double posting but ill just remove the other post.

Okay that fixed the bans Problem But I get one other error frequently 


Player [1][SK83RJOSH™]   authed
autorun\cl_utime.lua:152: attempt to perform arithmetic on field 'TargetSize' (a nil value)
autorun\cl_utime.lua:152: attempt to perform arithmetic on field 'TargetSize' (a nil value)
autorun\cl_utime.lua:152: attempt to perform arithmetic on field 'TargetSize' (a nil value)
autorun\cl_utime.lua:152: attempt to perform arithmetic on field 'TargetSize' (a nil value)
autorun\cl_utime.lua:152: attempt to perform arithmetic on field 'TargetSize' (a nil value)
autorun\cl_utime.lua:152: attempt to perform arithmetic on field 'TargetSize' (a nil value)

Weird enough same Kind of error as the rest.
Other than those 4 errors my server has no problems.
Oh an thanks Im happy the Ulysses community is so great :D
Title: Re: ULX/ULIB Problem
Post by: Megiddo on July 07, 2010, 11:15:54 AM
Out of curiosity, try replacing your old cl_utime.lua with the one attached to this post and tell us if you still get errors.

Edit: Removed attachment, in latest UTime release.
Title: Re: ULX/ULIB Problem
Post by: SK83RJOSH on July 07, 2010, 12:20:10 PM
Out of curiosity, try replacing your old cl_utime.lua with the one attached to this post and tell us if you still get errors.

Errors are gone :D
Title: Re: ULX/ULIB Problem
Post by: MrPresident on July 08, 2010, 11:48:43 AM
That's the magic cl_utime lua file that Megiddo like's to keep in his pants for the rare occasion that someone has an issue with it. Works every time...


..


Except for that one time.. whatever happened to that guy anyways?
Title: Re: ULX/ULIB Problem
Post by: Megiddo on July 08, 2010, 11:53:22 AM
That's the magic cl_utime lua file that Megiddo like's to keep in his pants for the rare occasion that someone has an issue with it. Works every time...


..


Except for that one time.. whatever happened to that guy anyways?

That guy's the reason why I try to keep it out of my pants now...
Title: Re: ULX/ULIB Problem
Post by: JamminR on July 08, 2010, 03:19:41 PM
Re: Pants -
I'm reminded of waffles. MMMmm. Waffles.

Re: Signature
SK83RJOSH, would you consider using a different signature? Perhaps an image that stretches horizontally rather than vertically?
Thanks!

/me makes note to set a signature image height limit on another SMF board he's building, if he decides to allow signature images at all.
Title: Re: ULX/ULIB Problem
Post by: SK83RJOSH on July 10, 2010, 08:51:30 PM

Re: Signature
SK83RJOSH, would you consider using a different signature? Perhaps an image that stretches horizontally rather than vertically?
Thanks!

/me makes note to set a signature image height limit on another SMF board he's building, if he decides to allow signature images at all.


Oh im sorry I did't see how tall it was till I checked it today an it was gone
Ill go change the server thing it to horizontally.
As for the picture ill try my best to make it thumb nail While still making it visible. :-/
Title: Re: ULX/ULIB Problem
Post by: JamminR on July 11, 2010, 10:03:34 AM
Don't go overboard trying to make it small. Just easier to keep a tidy easy to read forum when a signature doesn't take up more than what someone might post. :)
Personally, I prefer text only, but that's just me.
Title: Re: ULX/ULIB Problem
Post by: SK83RJOSH on July 11, 2010, 11:09:23 AM
Don't go overboard trying to make it small. Just easier to keep a tidy easy to read forum when a signature doesn't take up more than what someone might post. :)
Personally, I prefer text only, but that's just me.
I may just do text Since I cant really have the server + the picture in one line .
Im sorry for not seeing your post I'm new to the forums.
Ah perfect My new Signatures better Visible But not to much.