Author Topic: XGUI - Fully featured modular GUI for ULX! (Included with ULX v3.51 and SVN)  (Read 554958 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 #225 on: June 12, 2010, 10:04:17 AM »
I was thinking of adding a scrollbar and an option to enable/disable scrolling, and adding support for using the scrollwheel to scroll up/down, but then it would be pretty much just the same as what I had before.. Just colored and smoother. (Plus adding code to collapse those categories would actually be really difficult..) For now I'm just going to be using what I had before, I may bring it back later and work on it after XGUI is released.

Also, that entire list (in the old and in the new) of commands is automatically generated.. In my current version everything's sorted alphabetically, so the placement for everything is not really optimal, but I'll find a way to ease it a bit.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Buggzie

  • Newbie
  • *
  • Posts: 48
  • Karma: 2
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #226 on: June 13, 2010, 06:00:13 AM »
This sucks when it comes to a non-sandbox gamemode, i was using terrortown and it got stuck on the middle of my screen saying it was loading and a bunch of lua errors. I removed it since, Sorry.

Offline Frrz

  • Jr. Member
  • **
  • Posts: 65
  • Karma: 0
    • Youtube ftw
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #227 on: June 13, 2010, 06:15:49 AM »
Yeah, It sounds like it's using it's own special limits.. Not really much I can do about that :-\
But the default limits should still show up though..

*Digs through code*

Whoops, my bad-- I changed the clientside code to allow limits on sandbox-derived gamemodes, but serverside was still set on "Sandbox" gamemode only X|

Here, have a hotfix! (I'll push it with the release and stuff later)


Where do I stick the file?





Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #228 on: June 13, 2010, 12:46:19 PM »

Where do I stick the file?
I'm assuming you overwrite the Sticky-Man XGUI/lua/ulx/modules/xgui_server.lua

Offline Frrz

  • Jr. Member
  • **
  • Posts: 65
  • Karma: 0
    • Youtube ftw
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #229 on: June 14, 2010, 12:16:19 PM »
I over-wrote the file and now I get this error BTW this is locally not on my server server (as the server is switching hosts =-|)(SO Idk if the same error will come up on the server)

« Last Edit: June 14, 2010, 12:17:57 PM by Frrz »





Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #230 on: June 14, 2010, 12:20:57 PM »
clientRPC is a ULib function, which means ULib didn't load on your server correctly.
Experiencing God's grace one day at a time.

Offline Frrz

  • Jr. Member
  • **
  • Posts: 65
  • Karma: 0
    • Youtube ftw
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #231 on: June 14, 2010, 03:28:04 PM »
Actually I don't think my local Ulib/Ulx is updated XD .. oops hehe.





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 #232 on: June 18, 2010, 09:55:47 PM »
STOP. It's hammer-- I mean-- Update Time!

I've finally gotten around to working on what most people will actually use XGUI for: The players module (*might* be renamed to the commands module later, we'll see)

So what's new? (besides the bugfixes posted earlier?)
Basically, most of the module is the same, except rearranged and animated! The old players module had a flow of going from (left to right) player(s) -> command -> arguments-- However, for some commands like ulx goto and ulx psay, you can't target yourself (this includes commands where restrictions have been placed on a group/user), and some commands (ulx csay) have no player targets at all! So, I changed the flow to command -> player(s) -> arguments.

Everything here complies with restrictions, so you shouldn't be able to execute a command here that throws a ULX error.. (hopefully :P)
Other minor changes include a tidier commands grouping that's now sorted alphabetically, and can only have one category open at once, as well as minor bugfixes and interface changes.

I'm planning on adding shortcut features later (like, double clicking on a player will execute the command), but I've yet to figure out exactly how I want to do it.

Here's you a gif showing off the animations! (Ignore the UTime timer and my editing :P)


Aannd here's the changelog! Enjoy!
Code: [Select]
03/20/2010
-----------------
+Added: New players module! (See forum for details)
=Fixed: Strange bugs (mod conflict?) with Garry's DProgressBar (Thanks Colonel_Black)
=Fixed: Sandbox limits not showing up in non-sandbox but sandbox-derived gamemodes (Thanks Frrz)
-Removed: Old players module

And several minor bugfixes!
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 - Fully featured modular GUI for ULX! (WIP)
« Reply #233 on: June 18, 2010, 11:13:50 PM »
Looking good!

Idea - big challenge I bet -- your player area always seems to have a bit of room at bottom of the 2nd or 3rd 'section' depending on what command is chosen.
There a way to get a 3rd person camera view of the person selected/targeted and have it display somewhere within a 'free' area?

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

Offline RebornYew

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
  • Simple Sight.
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #234 on: June 19, 2010, 08:16:54 AM »
First off, I'd like to say that I absolutely love this plugin. It is such a big help with things. However, whenever I bring up the menu on my server, it says that it isn't installed. I know it's installed because I just put it there and I didn't accidentally delete, or some other stupid crap. Can someone help me out here?

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 #235 on: June 19, 2010, 08:57:21 AM »
Hmm, stupid question, but are you sure you have XGUI installed on the server and not just the client? (it doesn't need to be installed on the client unless you want to use it on servers that don't have it)

Next, on your client, try running the console command "_xgui getinstalled". If it says unknown command "_xgui" then see the problem above, perhaps it's not installed in the correct location?

If it does work, then there may be an issue during initialization.. Let me know how the other things go, then we'll look at that.


Quote from: JamminR
Idea - big challenge I bet -- your player area always seems to have a bit of room at bottom of the 2nd or 3rd 'section' depending on what command is chosen.
There a way to get a 3rd person camera view of the person selected/targeted and have it display somewhere within a 'free' area?

I've thought about redoing something like UccTV a couple of times now :P Integrating it with XGUI would be pretty awesome! But-- I think that's something we may save for updates after XGUI is officially released.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline RebornYew

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
  • Simple Sight.
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #236 on: June 19, 2010, 02:00:08 PM »
Well, it still doesn't work after trying everything you said.

1. I tried typing "_xgui getinstalled" into the console, but it says unknown command.

2. I downloaded XGUI again and put it into the Addons folder on the server. I opened the menu and it still came up with the message of it not being installed on the server.

3. I retried the "_xgui getinstalled" command after all of this, but it still doesn't work.

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 #237 on: June 19, 2010, 02:14:30 PM »
Is it on your dedicated or listen server?
And you did restart your server after adding it, right?

Do you use a downloadURL? If so you might have some issues with the cache not updating or something (I'm not too good at figuring out issues related to problems like this..)
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline RebornYew

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
  • Simple Sight.
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #238 on: June 19, 2010, 02:25:44 PM »
It's on a dedicated server and yes, I restarted it after adding XGUI. I'm not sure of what you mean by your third question though, can you rephrase that please?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: XGUI - Fully featured modular GUI for ULX! (WIP)
« Reply #239 on: June 19, 2010, 02:56:20 PM »
It's on a dedicated server and yes, I restarted it after adding XGUI. I'm not sure of what you mean by your third question though, can you rephrase that please?

Are you using sv_downloadurl? If so, you need to reupload the cache after changing anything dealing with lua.
Experiencing God's grace one day at a time.