Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: koaandl on April 22, 2011, 11:57:00 AM

Title: XGUI not communicating with server?
Post by: koaandl on April 22, 2011, 11:57:00 AM
I recently installed ULX SVN to my dedicated server (last night, latest revision of SVN ULX/ULIB), as the server is hosted elsewhere, i downloaded the files to my PC via svn, then transferred them to the server's add-ons folder immediately using filezilla.

I was browsing through plugins to install, and saw XGUI, and thought i wanted to install it, checked the post, it said it was already in the SVN version, so i started my game up and it was.

Thing is, when i tried to open my menu (via the chat command !menu or XGUI in the console) at first, it says something along the lines of communicating with server, and then it comes up with a box saying there may have been a fatal error or XGUI may not be installed correctly, and then opens in offline mode.

I googled the issue (using the search term "_xgui is not a valid command ulx" [got from the message "Unknown command: _xgui" upon logging into the server] and got a page within the actual XGUI thread which suggested i try the command "ulx luarun = xgui", i tried that and several variations thereof such as "ulx luarun xgui", "ulx luarun =xgui", "ulx luarun _xgui". none of these produced any result at all, absolutely nothing happened.

I am set as superadmin on my server so i don't think it's a permissions issue, and as far as an installation problem (as was suggested by the error notice or the suggestion in the thread), the updated install guide for XGUI, points to the svn install link for ulx which is basically "make folder in add-ons, checkout".

I have tried deleting/redownloading both ULIB and ULX and this did not seem to fix the problem.

Not sure what I've done wrong here, and any help would be appreciated :s.
Title: Re: XGUI not communicating with server?
Post by: Stickly Man! on April 22, 2011, 12:38:08 PM
Sounds to me like it could be one of two problems:

1) XGUI didn't load on the server at all
2) There was an error when XGUI started

Is there a way you can post the startup or changelevel output of your server console here?
Title: Re: XGUI not communicating with server?
Post by: koaandl on April 22, 2011, 06:43:46 PM
Unfortunately there is no way i can do that as the access i have is via a web cPanel and not a remote desktop, unless there is a way to log the server log to a file with a command in the config i'm not sure of..
Title: Re: XGUI not communicating with server?
Post by: Aaron113 on April 22, 2011, 09:00:08 PM
Add -condebug (I think) to your server's Command Line Manager (or something in that area).  The server's log will be logged into a file in the gmod folder.  serverlog.txt I believe will be the file name.
Title: Re: XGUI not communicating with server?
Post by: koaandl on April 22, 2011, 10:25:43 PM
Thanks, i'll add that to the startup commands
Title: Re: XGUI not communicating with server?
Post by: koaandl on April 22, 2011, 10:42:37 PM
i couldn't add that ( my host doesn't allow custom commands added to the startup, so i added logging to the config, grumble grumble), and here is what came from the console's log:
Code: [Select]
L 04/24/2011 - 15:30:29: Log file started (file "logs\L0424001.log") (game "c:\userfiles\sawukoa\gameservers\tc76868652277737407230274\orangebox\garrysmod") (version "4539")
L 04/24/2011 - 15:30:29: Loading map "gm_wireconstruct_rc"
L 04/24/2011 - 15:30:29: server cvars start
L 04/24/2011 - 15:30:29: "ai_disabled" = "0"
L 04/24/2011 - 15:30:29: "ai_ignoreplayers" = "0"
L 04/24/2011 - 15:30:29: "ai_keepragdolls" = "0"
L 04/24/2011 - 15:30:29: "mp_teamplay" = "0"
L 04/24/2011 - 15:30:29: "mp_falldamage" = "0"
L 04/24/2011 - 15:30:29: "mp_weaponstay" = "0"
L 04/24/2011 - 15:30:29: "mp_forcerespawn" = "1"
L 04/24/2011 - 15:30:29: "mp_footsteps" = "1"
L 04/24/2011 - 15:30:29: "mp_flashlight" = "1"
L 04/24/2011 - 15:30:29: "mp_autocrosshair" = "1"
L 04/24/2011 - 15:30:29: "decalfrequency" = "10"
L 04/24/2011 - 15:30:29: "mp_teamlist" = "hgrunt;scientist"
L 04/24/2011 - 15:30:29: "mp_allowNPCs" = "1"
L 04/24/2011 - 15:30:29: "mp_friendlyfire" = "0"
L 04/24/2011 - 15:30:29: "mp_fadetoblack" = "0"
L 04/24/2011 - 15:30:29: "sv_gravity" = "600"
L 04/24/2011 - 15:30:29: "sv_stopspeed" = "50"
L 04/24/2011 - 15:30:29: "sv_noclipaccelerate" = "5"
L 04/24/2011 - 15:30:29: "sv_noclipspeed" = "5"
L 04/24/2011 - 15:30:29: "sv_specaccelerate" = "5"
L 04/24/2011 - 15:30:29: "sv_specspeed" = "3"
L 04/24/2011 - 15:30:29: "sv_specnoclip" = "1"
L 04/24/2011 - 15:30:29: "sv_maxspeed" = "1000"
L 04/24/2011 - 15:30:29: "sv_accelerate" = "10"
L 04/24/2011 - 15:30:29: "sv_airaccelerate" = "10"
L 04/24/2011 - 15:30:29: "sv_wateraccelerate" = "10"
L 04/24/2011 - 15:30:29: "sv_waterfriction" = "1"
L 04/24/2011 - 15:30:29: "sv_footsteps" = "1"
L 04/24/2011 - 15:30:29: "sv_rollspeed" = "200"
L 04/24/2011 - 15:30:29: "sv_rollangle" = "0"
L 04/24/2011 - 15:30:29: "sv_friction" = "8"
L 04/24/2011 - 15:30:29: "sv_bounce" = "0"
L 04/24/2011 - 15:30:29: "sv_stepsize" = "18"
L 04/24/2011 - 15:30:29: "r_VehicleViewDampen" = "0"
L 04/24/2011 - 15:30:29: "r_JeepViewDampenFreq" = "7.0"
L 04/24/2011 - 15:30:29: "r_JeepViewDampenDamp" = "1.0"
L 04/24/2011 - 15:30:29: "r_JeepViewZHeight" = "10.0"
L 04/24/2011 - 15:30:29: "r_AirboatViewDampenFreq" = "7.0"
L 04/24/2011 - 15:30:29: "r_AirboatViewDampenDamp" = "1.0"
L 04/24/2011 - 15:30:29: "r_AirboatViewZHeight" = "0.0"
L 04/24/2011 - 15:30:29: "mp_timelimit" = "0"
L 04/24/2011 - 15:30:29: "mp_fraglimit" = "0"
L 04/24/2011 - 15:30:29: "nextlevel" = ""
L 04/24/2011 - 15:30:29: "mp_respawnwavetime" = "10.0"
L 04/24/2011 - 15:30:29: "mp_tournament" = "0"
L 04/24/2011 - 15:30:29: "tf_arena_preround_time" = "10"
L 04/24/2011 - 15:30:29: "tf_arena_round_time" = "0"
L 04/24/2011 - 15:30:29: "tf_arena_max_streak" = "3"
L 04/24/2011 - 15:30:29: "tf_arena_use_queue" = "1"
L 04/24/2011 - 15:30:29: "mp_teams_unbalance_limit" = "1"
L 04/24/2011 - 15:30:29: "mp_maxrounds" = "0"
L 04/24/2011 - 15:30:29: "mp_winlimit" = "0"
L 04/24/2011 - 15:30:29: "mp_disable_respawn_times" = "0"
L 04/24/2011 - 15:30:29: "mp_stalemate_meleeonly" = "0"
L 04/24/2011 - 15:30:29: "mp_forceautoteam" = "0"
L 04/24/2011 - 15:30:29: "mp_autoteambalance" = "1"
L 04/24/2011 - 15:30:29: "mp_stalemate_enable" = "0"
L 04/24/2011 - 15:30:29: "mp_match_end_at_timelimit" = "0"
L 04/24/2011 - 15:30:29: "mp_scrambleteams_auto" = "1"
L 04/24/2011 - 15:30:29: "mp_scrambleteams_auto_windifference" = "2"
L 04/24/2011 - 15:30:29: "sv_alltalk" = "0"
L 04/24/2011 - 15:30:29: "sv_hl2mp_weapon_respawn_time" = "20"
L 04/24/2011 - 15:30:29: "sv_hl2mp_item_respawn_time" = "30"
L 04/24/2011 - 15:30:29: "sv_report_client_settings" = "0"
L 04/24/2011 - 15:30:29: "physgun_limited" = "0"
L 04/24/2011 - 15:30:29: "sbox_noclip" = "1"
L 04/24/2011 - 15:30:29: "sbox_godmode" = "0"
L 04/24/2011 - 15:30:29: "sbox_plpldamage" = "1"
L 04/24/2011 - 15:30:29: "sbox_maxprops" = "100"
L 04/24/2011 - 15:30:29: "sbox_maxragdolls" = "2"
L 04/24/2011 - 15:30:29: "sbox_maxvehicles" = "3"
L 04/24/2011 - 15:30:29: "sbox_maxeffects" = "50"
L 04/24/2011 - 15:30:29: "sbox_maxballoons" = "10"
L 04/24/2011 - 15:30:29: "sbox_maxnpcs" = "0"
L 04/24/2011 - 15:30:29: "sbox_maxdynamite" = "5"
L 04/24/2011 - 15:30:29: "sbox_maxlamps" = "5"
L 04/24/2011 - 15:30:29: "sbox_maxlights" = "5"
L 04/24/2011 - 15:30:29: "sbox_maxwheels" = "20"
L 04/24/2011 - 15:30:29: "sbox_maxthrusters" = "20"
L 04/24/2011 - 15:30:29: "sbox_maxhoverballs" = "20"
L 04/24/2011 - 15:30:29: "sbox_maxbuttons" = "20"
L 04/24/2011 - 15:30:29: "sbox_maxemitters" = "5"
L 04/24/2011 - 15:30:29: "sbox_maxspawners" = "3"
L 04/24/2011 - 15:30:29: "sbox_maxturrets" = "2"
L 04/24/2011 - 15:30:29: "sbox_weapons" = "1"
L 04/24/2011 - 15:30:29: "sv_password" = ""
L 04/24/2011 - 15:30:29: "sv_tags" = ""
L 04/24/2011 - 15:30:29: "tv_relaypassword" = ""
L 04/24/2011 - 15:30:29: "tv_password" = ""
L 04/24/2011 - 15:30:29: "deathmatch" = "1"
L 04/24/2011 - 15:30:29: "coop" = "0"
L 04/24/2011 - 15:30:29: "sv_cheats" = "0"
L 04/24/2011 - 15:30:29: "sv_pausable" = "0"
L 04/24/2011 - 15:30:29: "sv_contact" = ""
L 04/24/2011 - 15:30:29: "sv_voiceenable" = "1"
L 04/24/2011 - 15:30:29: "tv_enable" = "0"
L 04/24/2011 - 15:30:29: server cvars end
L 04/24/2011 - 15:30:33: Started map "gm_wireconstruct_rc" (CRC "-1582619227")
L 04/24/2011 - 15:30:34: Lua Error: [addons\ulx\lua\ulx\modules\chat.lua:2] attempt to call field 'setCategory' (a nil value)
L 04/24/2011 - 15:30:34: Lua Error: [addons\ulx\lua\ulx\modules\fun.lua:6] attempt to call field 'setCategory' (a nil value)
L 04/24/2011 - 15:30:34: Lua Error: [addons\ulx\lua\ulx\modules\menus.lua:1] attempt to call field 'setCategory' (a nil value)
L 04/24/2011 - 15:30:34: Lua Error: [addons\ulx\lua\ulx\modules\rcon.lua:2] attempt to call field 'setCategory' (a nil value)
L 04/24/2011 - 15:30:34: Lua Error: [addons\ulx\lua\ulx\modules\teleport.lua:1] attempt to call field 'setCategory' (a nil value)
L 04/24/2011 - 15:30:35: Lua Error: [addons\ulx\lua\ulx\modules\toolmode.lua:1] attempt to call field 'setCategory' (a nil value)
L 04/24/2011 - 15:30:35: Lua Error: [addons\ulx\lua\ulx\modules\user.lua:1] attempt to call field 'setCategory' (a nil value)
L 04/24/2011 - 15:30:35: Lua Error: [addons\ulx\lua\ulx\modules\util.lua:1] attempt to call field 'setCategory' (a nil value)
L 04/24/2011 - 15:30:35: Lua Error: [addons\ulx\lua\ulx\modules\vote.lua:1] attempt to call field 'setCategory' (a nil value)
L 04/24/2011 - 15:30:35: Lua Error: [addons\ulib\lua\ulib\shared\hook.lua:83] table index is nil
L 04/24/2011 - 15:30:38: Load Gamemode: 'sandbox'
L 04/24/2011 - 15:30:46: server_cvar: "sv_tags" "phxsvn"
L 04/24/2011 - 15:30:46: server_cvar: "sv_tags" "phxsvn"
L 04/24/2011 - 15:30:48: server_cvar: "sv_tags" "gm:sandbox,phxsvn"
L 04/24/2011 - 15:30:48: server_cvar: "sv_tags" "garrysmod120,gm:sandbox,phxsvn"
L 04/24/2011 - 15:30:48: Log file closed

Not sure if that's anything right, sorry >.<, i'm trying to contact their support to see if i can get condebug into my console parameters..

Edit: Edit to the edit. Looks like the config command to log only goes so far as logging up to the end of setup and then stopping..
Title: Re: XGUI not communicating with server?
Post by: Megiddo on April 22, 2011, 10:53:06 PM
It appears you're using the release version of ULX. In an earlier post you mentioned that you want to use the latest SVN version, so I'd recommend deleting the ULX folder from your server and reinstalling/re-uploading it.
Title: Re: XGUI not communicating with server?
Post by: koaandl on April 22, 2011, 11:20:27 PM
thing is, i'm not, AFAIK, i'm using the SVN version of ulx/ulib on both the server and my client (from which i copied), maybe on the off chance the host might have accidentally recopied it over (i originally installed it using there auto installer before deleting then replacing with svn).. i'll try replacing and see what happens.

also, i said i did install it by svn, not just mentioned i wanted to :P

I recently installed ULX SVN to my dedicated server (last night, latest revision of SVN ULX/ULIB), as the server is hosted elsewhere, i downloaded the files to my PC via svn, then transferred them to the server's add-ons folder immediately using filezilla.
Title: Re: XGUI not communicating with server?
Post by: koaandl on April 22, 2011, 11:38:35 PM
Nope, same problem occured, with a completely new downloaded copy of the ulx/ulib svn :s

EDIT: Just for reference, the addons the server is using are ULX + ULIB SVN, SPP, Wire SVN, Wire Facers, Smart Snap, PHX Tools, PHX2, SmartWeld, BouyancyTool, DoorSTool, EasyPrecision, Fin2 and UTime

EDIT EDIT: The panel the company (Primary Target) uses as webadmin is TCAdmin, is anyone familiar with how to get condebug on that? Apparently from what i've read from googling all i have to do is go into the command line changer and add it in, but there is no option to..
Title: Re: XGUI not communicating with server?
Post by: koaandl on April 23, 2011, 12:35:40 AM
Oookay... heres the thing, when i run ULX in single player, it returns the correct SVN version and xgui works perfectly (exact same copy server is using as well as client), but when i connect to the server, it returns an unknown version (still SVN though) and the xgui major error i reported before...

When i host a listen server on my own computer, works fine and same as single player, another player connects, i give them superadmin, menu comes up fine, works fine, revision reports fine etc etc, it just seems that after the transfer it breaks..

What can i do to prevent this?

Edit, it's only XGUI that was playing up on the dedicated server (or i didn't notice any other regular ULX modules, though i haven't had much time to test them, play up).
Title: Re: XGUI not communicating with server?
Post by: koaandl on April 23, 2011, 08:43:00 AM
I got the condebug (they added it in for me) sticking it on pastebin now.

Edit: http://pastebin.com/wnZQnex5

I cut up to the part where ULX started reporting stuff,

i am still getting the _xgui doesn't exist error, when i try to use the xgui menu absolutely nothing appears on the log/console, and rconning xgui into the server does nothing at all.
Title: Re: XGUI not communicating with server?
Post by: Stickly Man! on April 23, 2011, 08:52:20 AM
I'm free at the moment, what is your servers ip? I'd like to take a look at a few things
Title: Re: XGUI not communicating with server?
Post by: koaandl on April 23, 2011, 08:54:28 AM
180.92.199.206:27015
Title: Re: XGUI not communicating with server?
Post by: koaandl on April 23, 2011, 10:13:59 AM
Problem solved, thanks so much to megiddo and Stickly for coming to my server personally to resolve the issue! you guys are legends!
Title: Re: XGUI not communicating with server?
Post by: Stickly Man! on April 23, 2011, 10:20:31 AM
No problem  ;)

Just so everyone else knows, the problem was being caused by an older version of ULX being installed in a different location on the server (in his case, directly inside the garrysmod folder)
Title: Re: XGUI not communicating with server?
Post by: ForceGhost on December 04, 2011, 02:09:37 AM
IVe got the exact same problem and am missing a couple of tabs in my XGUI, How did you guys resolve it?
Title: Re: XGUI not communicating with server?
Post by: JamminR on December 04, 2011, 11:19:50 AM
IVe got the exact same problem and am missing a couple of tabs in my XGUI, How did you guys resolve it?

Just so everyone else knows, the problem was being caused by an older version of ULX being installed in a different location on the server (in his case, directly inside the garrysmod folder)

Basically, make sure you have latest SVN version, installed properly on the server, of both ULX and ULib.
Make sure you don't have old copies installed elsewhere on your server.
Make sure your server is sending files to the client.
Make sure your client is downloading, and running the proper files.
Title: Re: XGUI not communicating with server?
Post by: ForceGhost on December 05, 2011, 01:05:07 AM
All of those are fine as far as i can see, Any chance you could help me on steam?
Title: Re: XGUI not communicating with server?
Post by: Stickly Man! on December 06, 2011, 09:25:05 AM
Post your server console log when you start a map, there are probably some errors during startup causing this.