Author Topic: ulx admin menu tab problem  (Read 11122 times)

0 Members and 2 Guests are viewing this topic.

Offline Metritutus

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
ulx admin menu tab problem
« on: July 13, 2008, 02:26:31 PM »
I've looked everywhere for this and have eventually decided to make a thread.

The admin tab under the ulx menu is broken.  We are using the svn version of the mod.

Nothing appears on the menu except a single unmobable slider on the top left.  The rest is blank.

What have I done wrong?  Can you help?

Offline NikolaiResokav

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
Re: ulx admin menu tab problem
« Reply #1 on: July 14, 2008, 04:48:59 PM »
I am having a similar problem with the SVN. I can click into the Admin tab, but when I try to use one of the features such as enable PvP Damage, I get this in console:


ulx/modules/cl/adminmenu.lua:46: bad argument #1 to 'SetText' (string expected, got nil)Y
Nikolai Resokav

Offline Metritutus

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: ulx admin menu tab problem
« Reply #2 on: July 16, 2008, 03:39:24 AM »
Anyone?  None of the features of the admin tab even appear.

This problem is damned annoying. :|

Offline chamon

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: ulx admin menu tab problem
« Reply #3 on: July 16, 2008, 08:59:04 AM »
I am having the exact same problem

Offline Metritutus

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: ulx admin menu tab problem
« Reply #4 on: July 27, 2008, 03:22:07 PM »
Sorry to bump, but the admin tab is broken.  It is the only tab that is broken.  Please help!

When the admin menu comes up, it gives me this in console:

vgui/dnumberwang.lua:321: attempt to perform arithmetic on field 'm_numMax' (a nil value)
vgui/dnumberwang.lua:321: attempt to perform arithmetic on field 'm_numMax' (a nil value)

When I click on the single unmovable slider, this error appears:

vgui/dnumberwang.lua:321: attempt to perform arithmetic on field 'm_numMax' (a nil value)

The screen looks like this:



Please help. :(

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: ulx admin menu tab problem
« Reply #5 on: July 27, 2008, 06:15:02 PM »
Hmm.. I haven't seen this one before. Could you give us a little more info?

Ulx Version?
Addons?
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ulx admin menu tab problem
« Reply #6 on: July 27, 2008, 06:29:49 PM »
Metritutus,
 This is caused by a conflict with an addon or gamemode you have.
I just searched ULX's folder for the text "m_numMax". As I expected, we don't use a variable named that.
I just searched the entire garrysmod folder, and I have no "dnumberwang.lua" file.
So, something you've added is causing the issue.
Search your garrysmod folder for "dnumberwang.lua" and you should then find the culprit in the name of the folder path.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline spbogie

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: 41
Re: ulx admin menu tab problem
« Reply #7 on: July 27, 2008, 07:09:17 PM »
dnumwang.lua is part of derma, which isn's extracted from the gcf.
m_numMax should be the maximum value of the "numwang", but we don't use any DNumWang in the adminmenu, so I'm not sure where the error is coming.
What else do you have installed?
I have not failed. I've just found 10,000 ways that won't work. - Thomas A. Edison
I reject your reality and substitute my own. - Adam Savage

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ulx admin menu tab problem
« Reply #8 on: July 27, 2008, 07:37:01 PM »
dnumwang.lua is part of derma, which isn's extracted from the gcf.
Ah ok. Thanks.
I didn't think to look in the gcfs. I searched code.garrysmod.com real quick, didn't find anything, found the dnumwang library at the gmod wiki, but thought a developer (other than gary) might have made a file named the same.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Metritutus

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: ulx admin menu tab problem
« Reply #9 on: July 28, 2008, 03:30:20 AM »
There is a derma folder in the addons folder on the server.

Both ulx and ulib are the svn versions.

I thought Derma was something default?

EDIT:  Renamed the damned thing and it still gives me this:

vgui/DNumberWang.lua:331: attempt to perform arithmetic on field 'm_numMax' (a nil value)
« Last Edit: July 28, 2008, 01:10:05 PM by Metritutus »

Offline spbogie

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: 41
Re: ulx admin menu tab problem
« Reply #10 on: July 28, 2008, 01:06:19 PM »
It is, and on the server it will show up in addons, but garry didn't want people changing the default files so for the client it just loads from the gcf without extracting.
I have not failed. I've just found 10,000 ways that won't work. - Thomas A. Edison
I reject your reality and substitute my own. - Adam Savage

Offline Metritutus

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: ulx admin menu tab problem
« Reply #11 on: July 28, 2008, 01:11:21 PM »
So what do I do?  I'm sorry, but my knowledge with regards to lua etc is nonexistant.  :(

Offline spbogie

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: 41
Re: ulx admin menu tab problem
« Reply #12 on: July 28, 2008, 04:10:12 PM »
What else do you have installed on both your client and the server?
I have not failed. I've just found 10,000 ways that won't work. - Thomas A. Edison
I reject your reality and substitute my own. - Adam Savage

Offline Metritutus

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: ulx admin menu tab problem
« Reply #13 on: July 29, 2008, 06:24:10 AM »
It happens to everyone, not just me.  Including a couple of my friends with clean installs.

The server had the problem with no addons.  Addons have since been installed.

This is the list of folders from the addons folder on the server:

Adv Duplicator
Anti-NoClip
assmod
catdaemon_stargate
counter-strike
day-of-defeat
default_sent_pack
derma
DoorStool
engine
explosives
gmdm_resources
hl2_ep2
keypad
Laser STOOL
ls2 rts
OL_Stacker
PHX3
portal
RD2
smartsnap
stargate
stargate_resources
tf2
ulib
ulx
WeightSTool
wire
wire model pack 1

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: ulx admin menu tab problem
« Reply #14 on: July 29, 2008, 11:55:35 AM »
Why do you have assmod when you have ulx?
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly