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

0 Members and 6 Guests are viewing this topic.

Offline gte6495

  • Newbie
  • *
  • Posts: 9
  • Karma: 1
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #345 on: August 24, 2010, 01:54:46 PM »
Hey guys, I just installed XGUI yesterday, and it worked fine all day,
but now I am getting a lua error when I try to click on the "Add" button of a group.

Code: [Select]
ulx\xgui\groups.lua:96: attempt to concatenate field 'group' (a nil value)
in this picture, when I click the "Add" button, the usual menu that appears where my mouse is/on the button is appearing in the upper-left hand corner, and I receive a LUA error.




I have the SVN of ULX and ULib, and I also tried reinstalling XGUI once, to no avail.

The only things I have really changed (besides removing UTeam, tweaking the motd, etc) are converting the UTeam teams into ULib groups-style teams, and adding sbox_limits to the .cfg

I had to add them to the .cfg, because when I changed them through XGUI, it wouldnt save over server restarts.

Please Help

-EDIT-
I forgot to say:
It still works, but the error and the misplaced menu is annoying me very much >.>
« Last Edit: August 24, 2010, 02:04:18 PM by gte6495 »

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 #346 on: August 24, 2010, 02:20:29 PM »
Hmm, could be a bit of code I overlooked on the latest push, I'll take a look at it in about ~30 mins when I get back home!
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline gte6495

  • Newbie
  • *
  • Posts: 9
  • Karma: 1
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #347 on: August 24, 2010, 02:22:11 PM »
Great :)
I'll try making TCAdmin SVN everything once again, also

Offline CRussian

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #348 on: August 24, 2010, 04:27:39 PM »
Stickly i got to admit XGUI rocks
i just cant wait to be able to edit the groups permissions and such :D

EDIT: I just installed XGUI on my server the SVNversion. and i re downloaded and put SVN onto ULX and ULIB. Well i got into my server and it says XGUI is not installed on the server and it will run in offline mode. I put the XGUI in the addons of the server. Maybe and most likely i did something wrong?
« Last Edit: August 24, 2010, 04:45:41 PM by CRussian »
- CRussian

Offline gte6495

  • Newbie
  • *
  • Posts: 9
  • Karma: 1
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #349 on: August 24, 2010, 04:51:22 PM »
EDIT: I just installed XGUI on my server the SVNversion. and i re downloaded and put SVN onto ULX and ULIB. Well i got into my server and it says XGUI is not installed on the server and it will run in offline mode. I put the XGUI in the addons of the server. Maybe and most likely i did something wrong?

Most likely you won't be helped unless you provide screens/a specific error message, than saying "tharez an eror i did sumthin rong"

I'm in no way an expert here, but just by reading a few of the posts, I got the overall feel of it, you should too.

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 #350 on: August 24, 2010, 04:59:45 PM »
Nah, I can work without screenshots :P

CRussian, try doing a "lua_run PrintTable( xgui )" in your console, and if possible, copy the entire output (if any) and paste it here. And you're sure you didn't get any errors in your server console?
« Last Edit: August 24, 2010, 05:04:04 PM by Stickly Man! »
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

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 #351 on: August 24, 2010, 05:08:16 PM »
@gte6495:

Just a hunch, but I think it looks like your groups.txt has an invalid entry.. or something. In your server console, run: "lua_run PrintTable( ULib.ucl.users )", and look for a STEAMID that doesn't have a "group = <blah>" value. You should either remove this entry or readd the entry so that it shows up properly.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline CRussian

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #352 on: August 24, 2010, 05:15:45 PM »
Hey, Sorry about the no picture ill try it upload it now.  And im not to sure ill copy and paste all that is in console from when i joined till now and show you what i got. I think there was an unknown command found at the end of the list and also no module found in the the box when loading the game mode modules.



Welcome to -Brigada- [Serious Roleplay] [Weekly Updates][24/7][ToolGun][WireMod]! We're playing rpw_downtown_v3.
AdvDupeShared: Server Compression: false
[DrpInv] Welcome back -Brigada- CRussian! Your inventory has been loaded.
ULX version <SVN> unknown revision loaded.
================================
===  Wire revision: 0     ===
=== Local Wire revision:0 ===
================================
Physgun build mode is available on this server
RunConsoleCommand blocked - sent before player spawned (ZLib_Installed)
Player [1][-Brigada- CRussian]   authed

///////////////////////////////////////
//  ULX GUI -- Made by Stickly Man!  //
///////////////////////////////////////
// Loading GUI Modules...            //
//   bans.lua                        //
//   commands.lua                    //
//   groups.lua                      //
//   maps.lua                        //
//   settings.lua                    //
// Loading Setting Modules...        //
//   server.lua                      //
//   sv_ulx.lua                      //
//   xgui.lua                        //
// Loading Gamemode Module(s)...     //
//   sandbox.lua                     //
//   No module found!                //
// Modules Loaded!                   //
///////////////////////////////////////

Unknown command: _xgui
Unknown command: SetSCarPlayerWepKey
] lua_run Printtable
] lua_run PrintTable
Unknown command: SetSCarPlayerWepKey
Unknown command: SetSCarPlayerWepKey
] lua_run PrintTable( xgui )
] "lua_run PrintTable( xgui )"
« Last Edit: August 24, 2010, 05:17:47 PM by CRussian »
- CRussian

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 #353 on: August 24, 2010, 05:21:35 PM »
Picture wasn't really necessary, but thanks anyways :P. In your console, try running the command "ulx luarun =xgui" and tell me what it outputs?
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline gte6495

  • Newbie
  • *
  • Posts: 9
  • Karma: 1
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #354 on: August 24, 2010, 05:31:31 PM »
I do see some entries that don't belong to groups :3

I'll try an edit and see if that fixes it, thank you!

Offline CRussian

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #355 on: August 24, 2010, 05:34:16 PM »
Sorry i thought it would help :P
Anyways it said i ran it and it showed it in green and purple like if you were to add someone to admin or something.


] ulx luarun =xgui
You ran lua: =xgui
Unknown command: SetSCarPlayerWepKey
] You ran lua: =xgui
Unknown command: You
Unknown command: SetSCarPlayerWepKey
] You ran lua: =xgui
Unknown command: You

And after words nothing happened.
Do you have any VOIP program that you use?
so that we can talk faster?
- CRussian

Offline gte6495

  • Newbie
  • *
  • Posts: 9
  • Karma: 1
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #356 on: August 24, 2010, 05:38:46 PM »
I don't mean to re-post, but I felt it necessary in order to have this one seen :3

Removing all the broken entries fixed the bug :D, thank you!

But, while I have you here,
If I create groups in ulx, then assign teams to them through XGUI, will it save that to the server's disk?

I would be really disappointed if I take the time to do it all through XGUI and then have it fail, and requiring me to type all the entries into the ULib groups.txt

EDIT: I'm only asking because XGUI has issues with saving sbox spawn limits to the server, and it doesn't save over restarts...

Offline CRussian

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #357 on: August 24, 2010, 05:40:11 PM »
I don't mean to re-post, but I felt it necessary in order to have this one seen :3

Removing all the broken entries fixed the bug :D, thank you!

But, while I have you here,
If I create groups in ulx, then assign teams to them through XGUI, will it save that to the server's disk?

I would be really disappointed if I take the time to do it all through XGUI and then have it fail, and requiring me to type all the entries into the ULib groups.txt

EDIT: I'm only asking because XGUI has issues with saving sbox spawn limits to the server, and it doesn't save over restarts...


I thought you could make your own groups and such in XGUI?
- CRussian

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #358 on: August 24, 2010, 05:41:45 PM »
EDIT: I'm only asking because XGUI has issues with saving sbox spawn limits to the server, and it doesn't save over restarts...


SEE!!  I'm not the only one with that problem.

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 #359 on: August 24, 2010, 05:55:59 PM »
Wooahhkay everyone, calm down :P

@gte6495: I'm glad that fixed your problem! I put a tiny check in the code that will prevent that error from happening, and show the users' group as <none> instead.
XGUI DOES handle the saving of any ULib/ULX related stuff, so any update to XGUI via gimps, votemaps, adverts, groups, users, etc., even XGUI's clientside stuff will be saved to the server. (Erm, clientside stuff will be saved on client though).

@Aaron113, gte6495: Didn't know you were talking about sandbox settings, Aaron :P. Yeah, XGUI does not do any saving of sandbox-based settings because.. I thought garrysmod would automatically save limit settings through server restarts and whatnot. I'll look into the specifics, and, if needed, will add a method for XGUI to save the sandbox settings.

@CRussian: Yeah, it looks like your XGUI isn't installed in the right location on the server, are you sure the path matches /garrysmod/addons/xgui/lua/ulx/..etc, and that the file garrysmod/addons/xgui/info.txt exists?
If you need to, you can chat with me via steam:
http://steamcommunity.com/id/Stickly_Man/

Join our Team Ulysses community discord! https://discord.gg/gR4Uye6