ULX

Author Topic: ULX breaking menus?  (Read 2315 times)

0 Members and 1 Guest are viewing this topic.

Offline lsutigers527

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
ULX breaking menus?
« on: March 30, 2014, 01:39:18 PM »
Firstly I want to apologize if I put this in the wrong section.

Hi all, when I installed ulx on my darkrp server everything worked great, but after a day whenever a user connected this error was given in console and no menus could be opened.

[ERROR] addons/ulx/lua/ulx/modules/cl/xlib.lua:148: attempt to index local 'pnl' (a nil value)
  1. makepropertysheet - addons/ulx/lua/ulx/modules/cl/xlib.lua:148
   2. makeXGUIbase - addons/ulx/lua/ulx/modules/cl/xgui_helpers.lua:34
    3. fn - addons/ulx/lua/ulx/modules/cl/xgui_client.lua:82
     4. Call - addons/ulib/lua/ulib/shared/hook.lua:183
      5. fn - addons/ulib/lua/ulib/cl_init.lua:54
       6. func - addons/ulib/lua/ulib/client/cl_util.lua:22
        7. unknown - lua/includes/modules/net.lua:31

Warning: vgui.Create failed to create the VGUI component (DPanel)
Tried to create panel with invalid base 'DPanel'

[ERROR] lua/includes/extensions/client/panel/scriptedpanels.lua:147: attempt to index local 'panel' (a nil value)
  1. Create - lua/includes/extensions/client/panel/scriptedpanels.lua:147
   2. AddLegacy - lua/includes/modules/notification.lua:61
    3. AddNotify - gamemodes/sandbox/gamemode/cl_notice.lua:4
     4. ThrowHint - gamemodes/sandbox/gamemode/cl_hints.lua:18
      5. unknown - gamemodes/sandbox/gamemode/cl_hints.lua:32

Timer Failed! [HintSystem_OpeningMenu][@gamemodes/sandbox/gamemode/cl_hints.lua (line 32)]
Attempting to create unknown particle system 'water_faucet'

The top half seems to point to a problem calling the pnl function within xlib.lua but the file seems fine when I look at the specified area. The bottom half seem to be from garrysmod its self but I do not know if this part is caused directly form the top half. So basically my question is, is there a way to fix this easily or is there a major lua problem? Thanks for any help.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: ULX breaking menus?
« Reply #1 on: March 31, 2014, 10:48:31 AM »
Code: [Select]
Warning: vgui.Create failed to create the VGUI component (DPanel)
Tried to create panel with invalid base 'DPanel'

This is your problem right here- It appears that XGUI attempted to create a DPropertySheet (which is a child of DPanel), and it failed. Since we don't modify the derma/VGUI creation code past that point, I can only say that a different addon or gamemode is causing this problem.  Does it only occur when certain players join? Try seeing if it works on sandbox, or remove addons until it starts working, then let us know what you found.
« Last Edit: March 31, 2014, 10:52:02 AM by Stickly Man! »
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6