Author Topic: !menu error  (Read 15340 times)

0 Members and 3 Guests are viewing this topic.

Offline Stephen304

  • Jr. Member
  • **
  • Posts: 68
  • Karma: 0
!menu error
« on: July 17, 2009, 03:59:14 PM »
Sometimes when my server runs for long periods of time or just randomly lately, i can open the !menu and go to the admin menu but then 2 errors pop up:

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

and when i try to change global godmode or any other button variables this pops up:

Code: [Select]
ulx/modules/cl/adminmenu.lua:48: bad argument #1 to 'SetText' (string expected, got nil)
Any ideas? Thoughts? Feelings?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: !menu error
« Reply #1 on: July 17, 2009, 07:18:49 PM »
We've seen this a few times; rarely. We've not been able to reproduce it though.
I suspect conflicting mod.. but can't say with certainty thats the cause.
What other mods/addons are you running?
 Easiest way to get that for us is, from your server, run a ulx debuginfo and attach your file to your next post.
(Attach file is under "additional options" link at lower left of your reply box)

Also, I have to ask, are you running the absolute latest release (or SVN) version downloaded from our sites here; Not anything downloaded from any other site (garrysmod.org, etc)?
I'm starting to find more and more that some are reporting errors we fixed in recent versions because they didn't update the server, just downloaded it to thier local install directory.

Use Assmod?
http://forums.ulyssesmod.net/index.php/topic,3668.0.html

Reported, but no details to help us.
http://forums.ulyssesmod.net/index.php/topic,3462.0.html


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

Offline Stephen304

  • Jr. Member
  • **
  • Posts: 68
  • Karma: 0
Re: !menu error
« Reply #2 on: July 17, 2009, 08:24:40 PM »
Here it is:

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: !menu error
« Reply #3 on: July 17, 2009, 08:53:08 PM »
I really don't know what the issue is.
I've reviewed the code. Don't see any blatant "fix this" issues; syntax or otherwise.
You have many 'older' mods...pre 2008. Garry's made many lua changes any of which might be (or not) affecting the derma controls of ULX and other mods.

I'm not saying this isn't a ULX issue. I just personally have no reason to think it is. It only seems to affect a few people that we have a difficult time figuring out why.

If you'd kindly try to watch when it happens, if after certain addon tools or features were used, etc, this would help us if you find a pattern. I know you say "randomly", and it truly may be, but any pattern recognition what so ever may help.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Stephen304

  • Jr. Member
  • **
  • Posts: 68
  • Karma: 0
Re: !menu error
« Reply #4 on: July 18, 2009, 01:48:19 PM »
Well after running the server for a while the error came up again and it seems impossible to figure out what is causing it. It seems to be a server wide error, ie just rejoining or restarting gmod/the computer wont fix it, only restarting the server fixes it.

We should start a thread specifically for discussing this error where all the people with this error can list their addons and we can hopefully find a common addon.

Most people on my server are really immature so the most used addon i think would be the hoverboards 2.0. I got the one from garrysmod.org that is official and has the fp link in it. Thats my best guess. Either that or some of the small stools like weight, no collide world, parenting, lasers, etc. All my big addons are svn. I get svn whenever possible. Theres ulx svn?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: !menu error
« Reply #5 on: July 18, 2009, 08:58:07 PM »
Of course. See the SVN stuff portion of our forum.
Many of the releases from the Releases section of the forum are SVN also (if not only SVN)

As for a main tracking thread, I'll keep an eye out and move any other new threads to this one.
Looking at our code, I  suspect a script turning a convar into a nul or string instead of a number.
Not guaranteeing it's not ULX, but as it's happening randomly/long term for you... I'm betting it's not.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Stephen304

  • Jr. Member
  • **
  • Posts: 68
  • Karma: 0
Re: !menu error
« Reply #6 on: July 19, 2009, 09:57:41 AM »
how do i change the motd without breaking the svn? My svn gives a red exclamation mark when i change it.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: !menu error
« Reply #7 on: July 19, 2009, 10:00:07 AM »
That doesn't mean it's broken. Just ignore it.
Experiencing God's grace one day at a time.

Offline Stephen304

  • Jr. Member
  • **
  • Posts: 68
  • Karma: 0
Re: !menu error
« Reply #8 on: July 22, 2009, 06:28:51 AM »
uhg, problem sucks. Still havent found any correlation to any addons.
« Last Edit: July 22, 2009, 06:33:36 AM by Stephen304 »

Offline King John

  • Newbie
  • *
  • Posts: 11
  • Karma: -1
!Adminmenu Error
« Reply #9 on: August 01, 2009, 12:07:04 AM »
Hello,

I have just put the ULX admin addon on my Dedicated server, and, when i get the admin menu up, I get the following:

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:15: bad argument #1 to 'SetText' (string expected, got nil)
And when I click one of the buttons on the left, it gives me this:
ulx/modules/cl/adminmenu.lua:48: bad argument #1 to 'SetText' (string expected, got nil)

You're probably thinking "Well gosh John, why didn't you search?" Well, in answer to your common question, I most certainly did! It led me to another person, who had the same problem that was unresolved. I thought it was a good idea to compare addons with other people that have had the same problem as i, so we can track an addon that may be conflicting with ULX. If you would like a list of my addons, feel free to ask.

Thanks for the great (And hopefully useful) admin tool,

King John.

Offline bennie900

  • Jr. Member
  • **
  • Posts: 75
  • Karma: 5
Re: !Adminmenu Error
« Reply #10 on: August 01, 2009, 03:22:26 AM »
I get that on my server as well, no one is sure of what is causing this, all I can say is restart the server and it will work (until it brakes again that is).

http://forums.ulyssesmod.net/index.php/topic,4125.0.html - That is when i reported it, probably the same post you seen.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: !menu error
« Reply #11 on: August 01, 2009, 09:04:43 AM »
John, Bennie, Please attach your debuginfo.txt files here like Stephen did in http://forums.ulyssesmod.net/index.php/topic,4107.msg15196.html#msg15196

Compare addons. See what is common among the addons sections.
Thanks.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline bennie900

  • Jr. Member
  • **
  • Posts: 75
  • Karma: 5
Re: !menu error
« Reply #12 on: August 01, 2009, 11:15:08 AM »
Addons:

Code: [Select]
Active addons on this server:
Adv Duplicator           by TAD2020, version 1.85 (June 28th 2009)
AutoPromote              by HOLOGRAPHICpizza, version 1 (1/14/09)
Buoyancy Tool            by RabidToaster, version 1.1 (4th May 2008)
catdeamon_stargate       by Catdaemon, version  ()
clientwebradio           by Mike C. (Foda), version 2.5 ()
Conna's Tools Pack       by Conna, version 1.3999 ((null))
counter-strike           by Valve, version 1 (5th August 2006)
day-of-defeat            by Valve, version 1 (22nd August 2006)
default_sent_pack        by TEAM GARRY, version 1 (3rd December 2006)
derma                    by , version 0.1 (17th July 2007)
DoorSTool                by High6, version v1.6b (December 19th 2006)
Fin2                     by Q42 + Tad2020, version 1.2999 (lol)
GMDM_resources           by Garry Newman, version 1 (21th August, 2007)
hl2_ep2                  by Valve, version 1 (29th October 2007)
keypad                   by Robbis_1 (aka Killer HAHA), version 1.3999 (25th February 2008)
mrpresident              by Mr. President [Help: ^>:B!G-A:<^], version 1 (On Going...)
Nametags                 by Kiporshnikov, version 1.2999 (25th May 2008)
no_collide_multi         by Narkaleptic, version 1.1 (December 19th 2006)
phx3                     by PhoeniX-Storms, 1/4 Life, hunter, joebloom, scragnog, x-quake, Xeon133, Squad, PelPix, version SVN (20th May 2008)
portal                   by Valve, version 1 (29th October 2007)
simplepropprotection     by Spacetech, version SVN ()
Smart_Constraint         by Spacetech, version 1.2.2 ()
spacebuild2_modelpack    by PJB, Cheesman55, Firgof Umbra, Squad08, Omni, SnakeSVx, votekick, syflo, paradukes, fishface, version 1.5b (16th October 2007)
Stacker STool            by -, version 2.2 (19th January 2007)
stargate                 by aVoN, version 1.8999 (12th February, 2008)
stargate_gdo             by Steven Fackler, version 1.2999 (10/25/2007)
stargate_replicator      by JDM12989, version 26 (November 6th 2008)
stargate_resources       by aVoN, version 1 (12th February, 2008)
sui_scoreboard_modified_v2 by Suicidal.Banana/BMCha/tascrafts, version ? ()
tf2                      by Valve, version 1 (29th October 2007)
ulib                     by Team Ulysses, version 2.3099 (00/00/00)
ulx                      by Team Ulysses, version 3.41 (00/00/00)
Unbreakable              by Chaussetteā„¢, version 1.1 (28th January 2007)
UnoLimited               by Team Ulysses modified Garry's code, version 1.1 (02/10/2009)
uppl                     by Megiddo (Team Ulysses), version 1 (06/02/07)
URestrict                by Team Ulysses, version 1.1 (3:48 PM 9/29/2008)
UTime                    by Megiddo (Team Ulysses), version 1.2999 (05/16/08)
warn2                    by MrPresident, version 2.0 Rewrite (4.2.08)
WeightSTool              by Spoco, version 1.21 ((null))
wire                     by Wire Team, version 0.9.6 (whenever)
wire model pack 1        by Team Wire, version 0.3 (25st March 2007)
wire_extras              by Anticept and respective developers, version SVN (3rd June 2008)
zeno_clash               by ACE Team, version 1 (May 8th 2009)

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: !menu error
« Reply #13 on: August 01, 2009, 01:04:20 PM »
From the comparison; the following are shared between bennie and Stephen.
Code: [Select]
Adv Duplicator           by TAD2020, version 1.85 (June 28th 2009)
default_sent_pack        by TEAM GARRY, version 1 (3rd December 2006)
derma                    by , version 0.1 (17th July 2007)
phx3                     by PhoeniX-Storms, 1/4 Life, hunter, joebloom, scragnog, x-quake, Xeon133, Squad, PelPix, version SVN (20th May 2008)
simplepropprotection     by Spacetech, version SVN ()
ulib                     by Team Ulysses, version 2.3099 (00/00/00)
ulx                      by Team Ulysses, version 3.41 (00/00/00)
Unbreakable              by Chaussetteā„¢, version 1.1 (28th January 2007)
wire                     by Wire Team, version 0.9.6 (whenever)
wire model pack 1        by Team Wire, version 0.3 (25st March 2007)
wire_extras              by Anticept and respective developers, version SVN (3rd June 2008)
zeno_clash               by ACE Team, version 1 (May 8th 2009)

NOTE: I found some differences in addon names. For instance, in stephen's listing, "Simple Prop Protection" instead of listed as above. Phx3 instead of phx3. wiremod extras instead of wire_extras. The versions according to the debug output are however listed as the same.
I know what most of them are, but, what is xeno_clash?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline [WCA]AIDS

  • Jr. Member
  • **
  • Posts: 58
  • Karma: 7
    • PlanetWCA Forums
Re: !menu error
« Reply #14 on: August 01, 2009, 01:46:29 PM »
I know what most of them are, but, what is xeno_clash?

I think it is referring to Zeno Clash
http://store.steampowered.com/app/22200/

For the release Garry added ZC models to gmod, much in the same way he did for TF2/Portal/CSS/DoDS

Quote
The Zeno Clash Model Pack for Garry's Mod
The pack includes 70 models with the characters and creatures to be used with the popular Source engine mod Garry's Mod. "This is a great addition to the existing library of assets and we really hope the fans will enjoy the content and start developing their own Zeno Clash inspired videos, screens or machinima." says Andres Bordeu from ACE Team. Zeno Clash owners can download the free DLC from the Tools tab in their Steam client.
« Last Edit: August 01, 2009, 01:50:55 PM by [WCA]AIDS »