Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: MathieuG89 on April 04, 2008, 11:14:53 AM

Title: ULX Svn keeps corrupting!
Post by: MathieuG89 on April 04, 2008, 11:14:53 AM
I don't know why but my menu keeps getting corrupted after a while, changing level seems to fix that problem but it is still annoying. When I press "x" wich is binded to "!menu" and go to the admin tab I receive 2 errors ( something to do with a nil value ) and the right options can't be accessed and also returns errors. Now I noticed it spreaded to PropBlock another addon I was using. Is there something wrong with the ULX svn?
Title: Re: ULX Svn keeps corrupting!
Post by: JamminR on April 04, 2008, 03:39:33 PM
I've not seen anyone else report this, but, the new Gmod update(s) are bringing out issues in all kinds of places regarding lua.
However, since another mod is affected, I'd say it's nothing to do directly with ULX, svn or otherwise.

Also, try binding your key to "ulx menu" instead of "say !menu"
Less notice/bother to other players in chat that way.
Title: Re: ULX Svn keeps corrupting!
Post by: MathieuG89 on April 04, 2008, 07:00:11 PM
I did, my ulx menu is binded to the "x" key so whenever I press "x" the ulx menu opens but I get "Can't find nil values" after a while and the ulx menu stops working.
Title: Re: ULX Svn keeps corrupting!
Post by: MrPresident on April 04, 2008, 07:38:09 PM
Did you update your server files after the update? And if you are using a fast DL server, you still need to rebuild your dua cache.
Title: Re: ULX Svn keeps corrupting!
Post by: MathieuG89 on April 04, 2008, 09:03:38 PM
I did a complete reinstallation of the server after the Garry's mod update, I then proceeded to update to the latest version of Garry's mod available and uploaded the addons. Here is a list of addons my server uses.

PropBlock Version 1.0
Simple Prop Protection Version 1.3.5
Sui Scoreboard Version 2.0
ULX Version 3.30 SVN (Rev 158)
ULib Version 2.20 SVN (Rev 158)
UTeam Version 1.1

Report Module Version 1.3
Warning Module Version 1.0

Adv Duplicator Version 1.836 SVN (Rev 616)
Anti-NoClip Version 2.0
Easy Precision Version 0.9a
Measuring Stick Version 1.1
NoCollide Multi Version 1.1
NoCollide World Version 1.0
Keypad Version 1.3
PHX2 Version 2.0
Smart Snap Version 1.0.0
Smart Welder Version 2.1
Smart Freezer Version 1.0
Stacker Stool Version 2.3
Unbreakable Version 1.1
Weight Stool Version 1.5
Vehicle Control Version 3.0.2
Wire Version 0.9.6 SVN (Rev 616)

edit:
(http://img530.imageshack.us/img530/8016/ulxerrorsya9.th.png) (http://img530.imageshack.us/my.php?image=ulxerrorsya9.png)

I get the two firsts errors when I click on the "Admin" tab of the ULX menu and the third one whenever I click on an option afterward.
Title: Re: ULX Svn keeps corrupting!
Post by: MrPresident on April 04, 2008, 10:45:40 PM
I too get those SetText errors, but they don't seem to really hurt anything. Maybe it's because Garry removed the MaxSents. The menu cant return the value to set the slider/number too?
Title: Re: ULX Svn keeps corrupting!
Post by: MathieuG89 on April 04, 2008, 11:34:31 PM
As far as I know it disable the left tab options "Disable PvP Damage, Enable Global Godmode etc..." and it gets fixed when changing maps or restarting the server.
Title: Re: ULX Svn keeps corrupting!
Post by: JamminR on April 04, 2008, 11:35:40 PM
Yes, Garry removed sbox_maxsents
We keep hoping he'll add it back... quickly

It's odd how Garry's changelog says 'wasn't used' but so many people use it.
*grumble grumble*

Title: Re: ULX Svn keeps corrupting!
Post by: MrPresident on April 04, 2008, 11:36:33 PM
mathieus, are you sure you are at the latest SVN? because I havn't gotten the button mess-ups since I updated. (I did before though)
Title: Re: ULX Svn keeps corrupting!
Post by: MathieuG89 on April 04, 2008, 11:37:45 PM
I'm on revision 158, I didn't look if there was a newest yet.
Title: Re: ULX Svn keeps corrupting!
Post by: JamminR on April 04, 2008, 11:40:46 PM
We're at 159 of this post, but nothing has been changed regarding the menu
Title: Re: ULX Svn keeps corrupting!
Post by: MrPresident on April 04, 2008, 11:41:56 PM
Ya, 158 is what i have too (havnt had a chance to update yet). I honestly don't get the errors to the extreme that you do, but I'll keep my eyes open.
Title: Re: ULX Svn keeps corrupting!
Post by: JamminR on April 04, 2008, 11:47:10 PM
I'm having trouble reading those errors from the screenshot. Please post them here from your game console.
Title: Re: ULX Svn keeps corrupting!
Post by: MathieuG89 on April 05, 2008, 04:54:22 PM
ULX version 3.31 (BETA) SVN revision 158 loaded.
ulx/modules/cl/adminmenu.lua:15: bad argument #1 to 'SetText' (string expected, got nil)
ulx/modules/cl/adminmenu.lua:15: bad argument #1 to 'SetText' (string expected, got nil)
ulx/modules/cl/adminmenu.lua:46: bad argument #1 to 'SetText' (string expected, got nil)
ulx/modules/cl/adminmenu.lua:46: bad argument #1 to 'SetText' (string expected, got nil)
ulx/modules/cl/adminmenu.lua:46: bad argument #1 to 'SetText' (string expected, got nil)
ulx/modules/cl/adminmenu.lua:46: bad argument #1 to 'SetText' (string expected, got nil)
Title: Re: ULX Svn keeps corrupting!
Post by: JamminR on April 05, 2008, 06:46:06 PM
Posted to our bug tracker.
http://www.ulyssesmod.net/bugs/view.php?id=185
Title: Re: ULX Svn keeps corrupting!
Post by: JamminR on April 05, 2008, 06:55:29 PM
Corrected in SVN rev 160.
This was due to a change made by Garry beyond our control.
Title: Re: ULX Svn keeps corrupting!
Post by: MathieuG89 on April 05, 2008, 09:07:47 PM
Wow that was fast! Thank you very much for fixing this issue so quickly!
Title: Re: ULX Svn keeps corrupting!
Post by: MathieuG89 on April 06, 2008, 09:32:52 PM
I don't want to be a jackass but it seems the last SVN update hasn't fixed the problem after all, I am still getting the same error  ???
Title: Re: ULX Svn keeps corrupting!
Post by: MrPresident on April 06, 2008, 11:39:36 PM
Can you post the errors again? Maybe you are getting different lines.

The errors you get contain lua lines that help them find the error.
Title: Re: ULX Svn keeps corrupting!
Post by: MathieuG89 on April 07, 2008, 07:53:37 AM
ULX version 3.31 (BETA) SVN revision 160 loaded.
ulx/modules/cl/adminmenu.lua:15: bad argument #1 to 'SetText' (string expected, got nil)
ulx/modules/cl/adminmenu.lua:15: bad argument #1 to 'SetText' (string expected, got nil)
ulx/modules/cl/adminmenu.lua:46: bad argument #1 to 'SetText' (string expected, got nil)
ulx/modules/cl/adminmenu.lua:46: bad argument #1 to 'SetText' (string expected, got nil)
ulx/modules/cl/adminmenu.lua:46: bad argument #1 to 'SetText' (string expected, got nil)
ulx/modules/cl/adminmenu.lua:46: bad argument #1 to 'SetText' (string expected, got nil)

Looks like they're the same errors I was getting before and they act the exact same way. That is really strange, am I the only one getting this?
Title: Re: ULX Svn keeps corrupting!
Post by: JamminR on April 07, 2008, 06:09:39 PM
That is really strange, am I the only one getting this?

Yes? :D

When you look at your admin menu, do you still have a Max Sents slider?
In the problem I corrected, I commented out the Max Sents menu option, as it isn't in Garry's mod anymore.

I had some PC problems and am currently in a Safe Mode full antivirus scan; I'll check this again over the next few hours(perhaps a day, I'm 3 hours and 80% into an already 350k and counting file scan)
Title: Re: ULX Svn keeps corrupting!
Post by: MathieuG89 on April 07, 2008, 06:44:06 PM
This is what the menu looks like right now:
(http://img353.imageshack.us/img353/3817/ulxmenusg1.th.png) (http://img353.imageshack.us/my.php?image=ulxmenusg1.png)

It works great until it gets corrupted after a while for unknown reasons.