Author Topic: XGUI - Fully featured modular GUI for ULX! (Included with ULX v3.51 and SVN)  (Read 554994 times)

0 Members and 5 Guests are viewing this topic.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #270 on: June 26, 2010, 02:29:10 PM »
I still do, haven't found out what happened just yet.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #271 on: June 26, 2010, 02:43:02 PM »
OK I sent you my adverts.txt

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #272 on: June 26, 2010, 03:05:44 PM »
Hmm, turns out something funky is goin on when ULX parses the adverts.txt file. Basically, on your entry that includes your steamcommunity URL:
Code: [Select]
"Steam group located @ http://steamcommunity.com/groups/<url>" "60"--It seems to not like the forward slashes.

I'll inform Megiddo and he can probably get it fixed really soon.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #273 on: June 26, 2010, 04:15:54 PM »
ok

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #274 on: June 26, 2010, 09:44:49 PM »
We've had problems using forward slashes in adverts for a looong time and I'm not sure there was ever a good way to 'fix' it.
Gmod sees // as comments. Again, it's Garry's way of adding comments. True lua = "--"
At the time, I think string.find and other string.replace commands would actually ignore the // because the engine saw it first and thought it was a comment.
It's possible that may have changed now.
I'd have to search 2 or 3 years back, but a discussion here on the forums with someone reporting the same adverts issue ended up being 'don't use //, use "Visit site www.blah.com/pagename.blah" '

EDIT - Found this. http://forums.ulyssesmod.net/index.php/topic,1260.msg5994.html#msg5994
No evidence in that post that we tried fixing it, but I seem to remember discussing it with Megiddo in Steam IM.
Again, it's possible we could find a work around now.

« Last Edit: June 26, 2010, 09:53:05 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #275 on: June 27, 2010, 10:59:52 PM »
The "Allowed Maps" in the "Player Votemap List" doesn't save so votemap gets reset every start up and gets overwritten.

Offline maaarten

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #276 on: June 28, 2010, 06:32:55 AM »
It doesn't work on my server :(
When i start my server it says this:
Quote
addons\xgui\lua\ulx\modules\xgui_server.lua:42: attempt to call field 'replicate
dWritableCvar' (a nil value)
« Last Edit: June 28, 2010, 07:11:10 AM by maaarten »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #277 on: June 28, 2010, 07:36:13 AM »
Svn of ulib and ulx is required. You should throw the svn link of xgui up, Stickly.
Experiencing God's grace one day at a time.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #278 on: June 28, 2010, 08:16:46 AM »
@Aaron: Hmm, can't really test right now (at work), but as I recall it was working fine for me. Try moving/deleting/renaming your current votemaps.txt file and see if XGUI then saves it.

@maaarten: Like Megiddo said, make sure you're using the SVN ULib/ULX-- If you already are, then make sure you update it!  ;)
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline maaarten

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #279 on: June 29, 2010, 03:41:45 AM »
When i use the svn versions of ulib and ulx i get these errors in the server  console.
Quote
///////////////////////////////
//      Ulysses Library      //
///////////////////////////////
// Loading...                //
//  shared/defines.lua       //
//  shared/datastream.lua    //
//  shared/misc.lua          //
//  shared/util.lua          //
//  server/upgrade.lua       //
ERROR: ULib upgrade Failed: addons\ulib\lua\ulib\server\upgrade.lua:12: attempt
to index a nil value
//  shared/hook.lua          //
//  shared/table.lua         //
//  shared/player.lua        //
//  server/player.lua        //
//  shared/messages.lua      //
//  shared/commands.lua      //
//  server/concommand.lua    //
//  server/util.lua          //
//  shared/sh_ucl.lua        //
//  server/ucl.lua           //
ULIB PANIC: default groups.txt is corrupt!
Groups file was not formatted correctly. Attempting to fix and backing up origin
al
Error while reading groups file was: Bad input on line 1
Original file was backed up to ULib//groups_backup.txt
addons\ulib\lua\ulib\server\ucl.lua:19: bad argument #1 to 'pairs' (table expect
ed, got nil)
//  server/phys.lua          //
//  server/player_ext.lua    //
//  server/entity_ext.lua    //
// Load Complete!            //
///////////////////////////////
[ULIB] Loading SHARED module: ulx_init.lua
///////////////////////////////
//       ULX Admin Mod       //
///////////////////////////////
// Loading...                //
//  sh_defines.lua           //
//  lib.lua                  //
//  base.lua                 //
//  sh_base.lua              //
addons\ulib\lua\ulib\shared\commands.lua:1167: attempt to call field 'registerAc
cess' (a nil value)
//  log.lua                  //
addons\ulx\lua\ulx\base.lua:24: attempt to call field 'registerAccess' (a nil va
lue)
//  MODULE: slots.lua        //
addons\ulx\lua\ulx\base.lua:24: attempt to call field 'registerAccess' (a nil va
lue)
//  MODULE: uteam.lua        //
//  MODULE: votemap.lua      //
addons\ulx\lua\ulx\base.lua:24: attempt to call field 'registerAccess' (a nil va
lue)
//  MODULE: chat.lua         //
addons\ulib\lua\ulib\shared\commands.lua:1167: attempt to call field 'registerAc
cess' (a nil value)
//  MODULE: fun.lua          //
addons\ulib\lua\ulib\shared\commands.lua:1167: attempt to call field 'registerAc
cess' (a nil value)
//  MODULE: menus.lua        //
addons\ulib\lua\ulib\shared\commands.lua:1167: attempt to call field 'registerAc
cess' (a nil value)
//  MODULE: rcon.lua         //
addons\ulib\lua\ulib\shared\commands.lua:1167: attempt to call field 'registerAc
cess' (a nil value)
//  MODULE: teleport.lua     //
addons\ulib\lua\ulib\shared\commands.lua:1167: attempt to call field 'registerAc
cess' (a nil value)
//  MODULE: user.lua         //
addons\ulx\lua\ulx\modules\sh\user.lua:33: bad argument #1 to 'pairs' (table exp
ected, got nil)
//  MODULE: userhelp.lua     //
//  MODULE: util.lua         //
addons\ulib\lua\ulib\shared\commands.lua:1167: attempt to call field 'registerAc
cess' (a nil value)
//  MODULE: vote.lua         //
addons\ulx\lua\ulx\base.lua:24: attempt to call field 'registerAccess' (a nil va
lue)
//  end.lua                  //
// Load Complete!            //
///////////////////////////////

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #280 on: June 29, 2010, 04:52:52 AM »
Looks like your groups.txt file is corrupt... I should make it not fail so hard in that case, though. :)
Experiencing God's grace one day at a time.

Offline maaarten

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #281 on: June 29, 2010, 05:42:13 AM »
When i replace the groups.txt file with a older version it also doesn't work. I also deleted the groups.txt and let ulib make a new onem, doesn't work either.
i'm out if ideas

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #282 on: June 29, 2010, 05:47:00 AM »
When i replace the groups.txt file with a older version it also doesn't work. I also deleted the groups.txt and let ulib make a new onem, doesn't work either.
i'm out if ideas

Did you change the default groups.txt?
Experiencing God's grace one day at a time.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #283 on: June 29, 2010, 08:22:15 AM »
Also, to anyone who uses the PlayX addon, the author has just released an update that fixes an issue with XGUI (After any video started playing, clicking on the tabs would do nothing). So if you use PlayX, be sure to update!
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline maaarten

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #284 on: June 29, 2010, 08:52:37 AM »
Did you change the default groups.txt?
no, its says in the file not to edit the default groups.txt