ULX

Author Topic: XGUI Not working?  (Read 6655 times)

0 Members and 1 Guest are viewing this topic.

Offline MattDaPcWiz

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
XGUI Not working?
« on: August 12, 2011, 11:34:28 PM »
Okay, so I am having the exact same problem as someone else in this forum, but his thread has been closed,

Basically, completely out of the blue XGUI has stopped working, I haven't changed anything, just started the server and bang.

"ulx menu" is now returning invalid command

and if I try saying "!menu" then I just get:

Code: [Select]
[@ulib\client\cl_util.lua:9] Received bad RPC, invalid function (xgui.toggle)!
He mentions some update posted by Stickly Man, but that guy posts so often I cannot find it anywhere... help?

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: XGUI Not working?
« Reply #1 on: August 13, 2011, 09:09:50 AM »
It sounds like your client's xgui isn't getting initialized properly. Can you post a startup log from your client console and see if there are any errors?
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline MattDaPcWiz

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: XGUI Not working?
« Reply #2 on: August 13, 2011, 07:19:46 PM »
Code: [Select]
Connected to 192.168.0.15:27015

Sandbox
Map: freespace06_v2-1
Players: 1 / 8
Build: 4651
Server Number: 1

ConVarRef ulx_chattime doesn't point to an existing ConVar
SetConVar: No such cvar ( ulx_chattime set to 0), skipping
ConVarRef ulx_welcomemessage doesn't point to an existing ConVar
SetConVar: No such cvar ( ulx_welcomemessage set to Welcome to %host%! We're playing %curmap%.), skipping
ConVarRef ulx_logecho doesn't point to an existing ConVar
SetConVar: No such cvar ( ulx_logecho set to 1), skipping
ConVarRef ulx_votemapsuccessratio doesn't point to an existing ConVar
SetConVar: No such cvar ( ulx_votemapsuccessratio set to 0.4), skipping
Browser Message: Uncaught ReferenceError: DownloadingFile is not defined - :0Browser Message: Uncaught ReferenceError: SetFilesNeeded is not defined - :0Browser Message: Uncaught ReferenceError: SetFilesTotal is not defined - :0***need to set $abovewater for material maps/freespace06_v2-1/dev/dev_water2_cheap_7336_-8224_-4423
***need to set $abovewater for material maps/freespace06_v2-1/dev/dev_water2_cheap_7336_-8224_-4423
No pure server whitelist. sv_pure = 0
Warning: using WorldTwoTextureBlend on a non-displacement surface.
Support for this will go away soon.
   - Material       : nature/blendgrassgravel001a
   - Surface center : 512 9312 -4382
Warning: WorldTwoTextureBlend found on a non-displacement surface (material: nature/blendgrassgravel001a). This wastes perf for no benefit.
Warning: using WorldTwoTextureBlend on a non-displacement surface.
Support for this will go away soon.
   - Material       : dev/dev_blendmeasure
   - Surface center : 2317 -199 -3728
Decompressing data pack into virtual file system..
Data pack loaded: 1407 files. (1.924s)
Lua initialized (Lua 5.1)
Not on server
You are running ULib version 2.41.
[ULIB] Loading SHARED module: ulx_init.lua
[ULX] Loading CLIENT module: motdmenu.lua
[ULX] Loading CLIENT module: uteam.lua
[ULX] Loading CLIENT module: xgui_helpers.lua
[ULX] Loading CLIENT module: xlib.lua
[ULX] Loading SHARED module: chat.lua
[ULX] Loading SHARED module: fun.lua
[ULX] Loading SHARED module: menus.lua
[ULX] Loading SHARED module: rcon.lua
[ULX] Loading SHARED module: teleport.lua
[ULX] Loading SHARED module: user.lua
[ULX] Loading SHARED module: userhelp.lua
[ULX] Loading SHARED module: util.lua
[ULX] Loading SHARED module: vote.lua
[ULIB] Loading SHARED module: unolimited.lua
[ULIB]*** UnoLimited v2.1 Ready! *******
[ULIB] Loading SHARED module: ups_init.lua
WireMod Installed. Version: 2474

ERROR! Module 'zlib_b64' not found!
-english-
In Base Class Constructor: base2
In Base1 Class Constructor: base2
Arg1: 1
Arg2: 2
Arg3: 3
Arg4: 4
Class(base2)
test Class(base2)Loading: cl_tab.lua...Loaded: Successfully
Loading: module_loader.lua...Loaded: Successfully
Loading: defaults.lua...Sent: Successfully
Loading: blackholecache.lua...Loaded: Successfully
Loading: gassystems.lua...Loaded: Successfully
Loading: lifesupport.lua...Loaded: Successfully
Loading: lifesupport1.lua...Loaded: Successfully
Loading: lifesupport2.lua...Loaded: Successfully
Loading: lsents.lua...Loaded: Successfully
Loading: resdistrib1.lua...Loaded: Successfully
Loading: resdistrib2.lua...Loaded: Successfully
Loading: resourcedistribution.lua...Loaded: Successfully
Loading: resourcetransit.lua...[CAF\Addons\client\resourcetransit.lua:13] attempt to index global 'RD' (a nil value)
Loaded: Successfully
Loading: spacebuild.lua...Loaded: Successfully
Registering gamemode 'sandbox' derived from 'base'
sbox_maxgas_generator -> 24
sbox_maxgas_storage -> 24
Loading CAF Tools
loading stool: blackhole_cache_spawner.lua
sbox_maxblackholecaches -> 30
CAF Tool: Loading device defs
loading stool: ls3_energysystems.lua
sbox_maxls3_energysystems -> 30
CAF Tool: Loading device defs
Loading dev type: extra_co2_gens
Loading dev type: extra_fusion_gens
Loading dev type: extra_h_gens
Loading dev type: extra_ln_gens
Loading dev type: extra_n_gens
Loading dev type: extra_o2_gens
Loading dev type: extra_solar_panels
Loading dev type: extra_water_air_extractors
Loading dev type: extra_water_heaters
Loading dev type: extra_water_pumps
loading stool: ls3_environmental_control.lua
sbox_maxls3_environmental_control -> 30
CAF Tool: Loading device defs
loading stool: ls3_other.lua
sbox_maxls3_other -> 30
CAF Tool: Loading device defs
Loading dev type: extra_ls_screens
loading stool: ls3_other_lights.lua
sbox_maxls3_other_lights -> 10
CAF Tool: Loading device defs
loading stool: ls3_receptacles.lua
sbox_maxls3_receptacles -> 20
CAF Tool: Loading device defs
Loading dev type: extra_co2_storage
Loading dev type: extra_energy_storage
Loading dev type: extra_heavy_water_storage
Loading dev type: extra_h_storage
Loading dev type: extra_ln_storage
Loading dev type: extra_n_storage
Loading dev type: extra_o2_storage
Loading dev type: extra_steam_storage
Loading dev type: extra_water_storage
loading stool: pumps.lua
sbox_maxpumps -> 10
CAF Tool: Loading device defs
loading stool: resourcenodes.lua
sbox_maxresourcenodes -> 30
CAF Tool: Loading device defs
loading stool: sb_dev_plants.lua
sbox_maxsb_dev_plants -> 30
CAF Tool: Loading device defs
loading stool: sb_terraformer.lua
sbox_maxsb_teraformers -> 30
CAF Tool: Loading device defs
loading stool: valves.lua
sbox_maxvalves -> 10
CAF Tool: Loading device defs
--- Missing Vgui material texturemissing
ERROR: Trying to derive entity oiltank from non existant entity base_rd_entity!
ERROR: Trying to derive entity crudetank from non existant entity base_rd_entity!
ERROR: Trying to derive entity oildistil from non existant entity base_rd_entity!
ERROR: Trying to derive entity bigairgen from non existant entity base_rd_entity!
ERROR: Trying to derive entity batteryinverter from non existant entity base_rd_entity!
ERROR: Trying to derive entity batterycharger from non existant entity base_rd_entity!
ERROR: Trying to derive entity bigcoolantgen from non existant entity base_rd_entity!
ERROR: Trying to derive entity crackingtower from non existant entity base_rd_entity!
ERROR: Trying to derive entity bighydrogen from non existant entity base_rd_entity!
ERROR: Trying to derive entity oildrill from non existant entity base_rd_entity!
ERROR: Trying to derive entity petroltank from non existant entity base_rd_entity!
ERROR: Trying to derive entity thecache from non existant entity base_rd_entity!
ERROR: Trying to derive entity bigenergygen from non existant entity base_rd_entity!
ERROR: Trying to derive entity battery from non existant entity base_rd_entity!
Sending 1360 'User Info' ConVars to server (cl_spewuserinfoconvars to see)
Scanning for downloaded fonts..
Reloading Particles..
unrecognized conditional test GPU<2?$STARTFADESIZE in particle/vistasmokev1_min_depth_nearcull
unrecognized conditional test GPU<2?$ENDFADESIZE in particle/vistasmokev1_min_depth_nearcull
unrecognized conditional test GPU<2?$BLENDFRAMES in particle/vistasmokev1_min_depth_nearcull
unrecognized conditional test GPU<2?$DEPTHBLEND in particle/vistasmokev1_min_depth_nearcull
Hey 'mrmatt' - You're in the 'superadmin' group on this server.
Client "Mr.Matt" spawned in server (192.168.0.11:27005)<STEAM_0:1:10994133>.
This server is using the Custom Addon Framework
Report any bugs during the beta on http://www.snakesvx.net
If you have any suggestions for future versions of CAF, SB, LS, RD, ... please report them on http://www.snakesvx.net

Welcome to Mr.Matt's Gmod Server - UP2DATE: SpaceBuild & Wire w/Extras! We're playing freespace06_v2-1.
Addon: Gas Systems 2 got enabled
ULX version 3.51 loaded.
RunConsoleCommand blocked - sent before player spawned (ZLib_Installed)
ERROR: Hook 'InitXguiHelpers' Failed: [ulx\modules\cl\xgui_helpers.lua:306] attempt to index global 'xgui' (a nil value)
Removing Hook 'InitXguiHelpers'
Redownloading all lightmaps
Addon: Life Support Entities got enabled
CAF: Client has Internet. Enabled Online-Help
RunConsoleCommand blocked - sent before player spawned (ZLib_Installed)
Addon: Resource Distribution got enabled
Addon: Life Support got enabled

My guess is this is the problem?
Code: [Select]
ERROR: Hook 'InitXguiHelpers' Failed: [ulx\modules\cl\xgui_helpers.lua:306] attempt to index global 'xgui' (a nil value)
Removing Hook 'InitXguiHelpers'
Any ideas?
« Last Edit: August 13, 2011, 07:45:26 PM by MattDaPcWiz »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: XGUI Not working?
« Reply #3 on: August 13, 2011, 11:10:01 PM »
You have too many errors.
 Another mod is conflicting or the errors are breaking other mods including ULX/xgui
Looks like adv dupe breaks too in some way (Zlib is a advanced duplicator part)

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

Offline MattDaPcWiz

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: XGUI Not working?
« Reply #4 on: August 14, 2011, 06:50:12 PM »
Okay, I have removed a tonne of mods, and a few things started working again (such as PewPew) that were broken.

But the basic summary of it, was since I had everything working I had installed SpaceBuild 3 and ALL required, recommended, and optional mods to go with it.  Decided to take all of them off (like 1gb of mods) and be done with it. (I didn't use it that much anyway)

Now, the problem we are concerned with still remains, I noticed some things in the server console when starting the server.  Such as:

Code: [Select]
ERROR! Module 'zlib_b64' not found!
But I think the main reason for concern, and perhaps the cause of this problem?

Code: [Select]
[addons\ulx\lua\ulx\modules\cl\xgui_client.lua:88] unexpected symbol near '<<' xgui_client.lua'
[addons\ulx\lua\ulx\init.lua:46] ERROR PARSIN CLIENTSIDE FILE: 'ulx\modules\cl\xgui_client.lua'

Code: [Select]
[addons\ulx\lua\ulx\xgui\groups.lua:164] unexpected symbol near '<<'
[addons\ulx\lua\ulx\modules\xgui_server.lua:14] ERROR PARSIN CLIENTSIDE FILE: 'ulx\xgui\groups.lua'

Code: [Select]
[addons\ulx\lua\ulx\xgui\server\sv_groups.lua:33] unexpected symbol near '<<'
There are no other errors in the servers console other then those since I cleaned everything up.

So how would I go about fixing these? I'm running the latest SVN...
ANY help appreciated.
« Last Edit: August 14, 2011, 07:04:44 PM by MattDaPcWiz »

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: XGUI Not working?
« Reply #5 on: August 14, 2011, 10:35:34 PM »
Yeah.. I really have no idea where you're getting those errors. Are you running the latest release or SVN version of ULX downloaded from this site (ulyssesmod.net) rather than from somewhere like garrysmod.org?
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline MattDaPcWiz

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: XGUI Not working?
« Reply #6 on: August 14, 2011, 11:08:15 PM »
Yes I am running the latest SVN from your (this) site.

Any other ideas/suggestions?
« Last Edit: August 15, 2011, 09:06:39 AM by MattDaPcWiz »

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: XGUI Not working?
« Reply #7 on: August 15, 2011, 09:16:30 AM »
Perhaps you could try temporarily starting with a vanilla sandbox server, install ulx/ulib (and any other ulx-related addons), copy your data/ulx and data/ulib folders, then see if it works. If it does, start with adding your gamemode, then keep testing as you continuously add addons till it breaks (or.. doesn't?)

Your problem sounds like it's being caused by some third party mod, since the errors you're getting with XGUI aren't really possible looking at my code. (One line it says has an error is just an "end")
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: XGUI Not working?
« Reply #8 on: August 15, 2011, 02:57:04 PM »
Possible he's got a corrupted groups.txt file? groups.lua reads from the groups.txt file, right?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline MattDaPcWiz

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: XGUI Not working?
« Reply #9 on: August 15, 2011, 10:37:55 PM »
Okay, I just deleted the whole SVN folder and started from scratch and it worked.

Hope that helps anyone else running into this issue.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: XGUI Not working?
« Reply #10 on: August 16, 2011, 02:22:39 PM »
Odd. Glad you found it.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming