Ulysses

General => News => Topic started by: Megiddo on February 15, 2016, 04:23:10 PM

Title: ULX v3.70 and ULib v2.60 -- Metiejo
Post by: Megiddo on February 15, 2016, 04:23:10 PM
We at Team Ulysses are excited to announce the latest releases of ULX and ULib. We are proud to have served the Garry's Mod community for the past eleven years with our scripts. Today's release has been codenamed "Metiejo".

We have a few things we want to highlight in these changes. First, we have created a MOTD generator for server owners. This means the average user no longer has to fumble around with HTML to get the information they need to their players. This generator populates some of your server information automatically for extra convenience. Second, ULX and ULib have gained automatic update checking. If you are using the release versions of ULX/ULib, you will get a notification if there is a newer release available. Finally, ULib allows you to show custom ban messages now -- this can be configured from XGUI.

Please note that if you are using a local MOTD file, the cvar to set the file location has changed from "motdfile" to "ulx motdfile".

Check out the full changelog below:

Quote from: ULib changelog
* [ADD] ULib.ucl.getUserInfoFromID for getting user info from an ID.
* [ADD] CAMI support.
* [ADD] "noMount" parameter to file-related APIs.
* [ADD] ULibGetUser(s)CustomKeyword hooks (Thanks, LuaTenshi).
* [ADD] Dynamic and consistent versioning for ULib plugins with automatic update checking.
* [ADD] ULib.setVar, a compliment to ULib.findVar.
* [FIX] The usual random slew of Garry-breakages (Thanks, Fuzzik).
* [FIX] An assumption regarding player authentication that led to a player's group being reset to user sometimes.
* [FIX] Garry API change for ULib.findinDir (Thanks, ascentechit).
* [FIX] Workaround for Garry's odd handling of bot UIDs (Thanks, BurgerLUA).
* [FIX] Improved how well ULib files handle being autorefreshed.
* [FIX] Exploitable console command could potentially cause errors and/or crashes.
* [FIX] Exploit involving file system mounting.
* [FIX] Minor exploit that redirects unspecified playerArgs to a player with a specific name instead of the calling player. (Thanks Repe!)
* [CHANGE] Hook system. It's much faster (CPU-wise) and a little easier to use now (Many thanks for input from darkjacky and Divran).
* [CHANGE] ULib.getUser(s) do not proceed if passed an empty string (Thanks, timmyws).
* [CHANGE] Renamed function from "stringTimeToSeconds" to "stringTimeToMinutes", because I am dumb. An alias function will be available for a short time.
* [CHANGE] Massively improved the utility of ULib.findVar and restructured the return values.

Quote from: ULX changelog
* [ADD] XGUI: Ability to set the 'nextlevel' cvar from the maps tab, if you have access to "ulx map".
* [ADD] Reason to votekick log (Thanks, CSchulz).
* [ADD] Steam ID parameter to "ulx who" to lookup users by Steam ID.
* [ADD] Cvar "ulx meChatEnabled" added to enable or disable the /me chat feature, or set it to Sandbox only.
* [ADD] "ulx version" command for easily checking the version being run.
* [ADD] New dynamic MOTD generator.
* [ADD] Ban Message customization with XGUI editor
* [ADD] XGUI: Added methods for developers to be able to open a specific client or server setting module.
* [FIX] The usual random slew of Garry-breakages (Thanks, Fuzzik).
* [FIX] Changing weapons while cloaked would keep them hidden when uncloaked. (Thanks, TheRealAyCe).
* [FIX] XGUI: Error if the default settings/users.txt file was missing.
* [FIX] Gamemode list includes workshop addons now (Thanks, jason2010).
* [FIX] "ulx ent" parameter parsing (Thanks, Zombine).
* [FIX] "ulx voteban" can now ban the user even if they disconnect after the vote starts.
* [FIX] Vote commands now work properly from server console.
* [FIX] XGUI: Numerous issues with selecting a custom Derma/GWEN skin.
* [FIX] XGUI: Clientside settings would not save if the client's data/ulx folder did not exist.
* [FIX] Improved how well ULX/XGUI files and XGUI clientside/serverside modules handle being autorefreshed.
* [FIX] ulx.addToHelpManually now checks for and removes and previously added manual help entries with the same command name.
* [FIX] XGUI: Bug where ulx_showMotd cvar would not be updated properly when changed by someone else.
* [FIX] XGUI: Minor performance exploit involving serverside ban sorting. (Thanks, TomatoCo).
* [FIX] Exploit involving gmod filesystem mounting. (Thanks, Willox).
* [FIX] Minor issue where opposite commands might not be run due to case sensitivity.
* [FIX] Duplicate help entries due to autorefresh and overriding commands. (Thanks iSnipeu).
* [FIX] Ragdolled players were getting removed on map cleanup.
* [FIX] XGUI: Server error in some cases when sorting bans by Unban Date after a new ban has been added.
* [FIX] XGUI: Right-clicking an advert group and renaming it was broken.
* [CHANGE] MOTD now uses DHTML (Awesomium framework).
* [CHANGE] MOTD configuration changes and new "ulx_motdurl" CVAR.
* [CHANGE] Data files are now injected from a Lua script rather than included directly, in order to be Workshop-friendly.
* [CHANGE] Hook calls to match ULib's new format.
* [CHANGE] ULX convar updates will now append an entry to data/config.txt if it is not defined in the file. Previously, these changes would not be saved.
* [CHANGE] You can now spectate another player while spectating someone else.
* [CHANGE] XGUI: Moved MOTD settings to their own section, updated to accomodate latest MOTD changes.
* [CHANGE] XGUI: No longer autoexecutes skins to ensure they have been installed.
* [CHANGE] XGUI: Added "name" parameter to xgui.hookEvent to prevent event duplication. (Aids with autorefresh, is backwards compatible with old XGUI modules)
* [CHANGE] XGUI: Modules that no longer exist will be removed from the customizable sort order.
* [CHANGE] XGUI: Sliders for arguments on the Cmds tab with a small min/max delta (e.g. from 0 to 1) will now allow up to 2 decimal places, if the arg does not have cmds.round flag.
* [CHANGE] XLIB: Added ZPos support for most controls, ability to set font for buttons, ability to set multiline for textboxes, and added "DefaultLarge" font for more accurate ban message preview.

You can find these releases at our homepage (http://ulyssesmod.net). Workshop users will automatically update to these new versions.
Title: Re: ULX v3.70 and ULib v2.60 -- Metiejo
Post by: JamminR on February 15, 2016, 07:06:28 PM
I'm stoked about all our recent activity! Yay.

Didn't we change the convar for ULX motd to "ulx_motdfile"?  (Our post has ulx motdfile, no underscore_)
:)
Title: Re: ULX v3.70 and ULib v2.60 -- Metiejo
Post by: feldma on February 15, 2016, 07:57:51 PM
Really :P

Now I'll need to redo all my sourcebans integration..

Yay!
Title: Re: ULX v3.70 and ULib v2.60 -- Metiejo
Post by: Stickly Man! on February 16, 2016, 07:35:33 AM
JamminR: Either way is fine. :) It's registered as a ULX cvar, so it can really be set either way.
Code: [Select]
] ulx motdfile
"ulx motdfile" = "ulx_motd.txt"
MOTD filepath from gmod root to use if ulx showMotd is 1.
  CVAR generated by ULX
Title: Re: ULX v3.70 and ULib v2.60 -- Metiejo
Post by: Bite That Apple on February 18, 2016, 03:08:41 AM
and yet, no whitelist for permissions yet :(
Title: Re: ULX v3.70 and ULib v2.60 -- Metiejo
Post by: Megiddo on February 18, 2016, 03:30:59 AM
What do you mean by that?
Title: Re: ULX v3.70 and ULib v2.60 -- Metiejo
Post by: Bytewave on February 18, 2016, 09:01:45 AM
What do you mean by that?
I think he means blacklist, ie the whole banid issue.
Title: Re: ULX v3.70 and ULib v2.60 -- Metiejo
Post by: Megiddo on February 18, 2016, 09:16:31 AM
A whitelist is very different from a blacklist, and whitelisting is already supported on commands.

I suppose supporting a blacklist would be fairly simple, though not the best solution for "banid".
Title: Re: ULX v3.70 and ULib v2.60 -- Metiejo
Post by: roastchicken on February 18, 2016, 12:40:38 PM
What is "the whole banid issue", if I may ask?
Title: Re: ULX v3.70 and ULib v2.60 -- Metiejo
Post by: Megiddo on February 18, 2016, 12:50:08 PM
I believe people are annoyed that if you grant "ulx banid" to an admin, they can then ban superadmins, even though this is not allowed via "ulx ban". This was an intentional gap originally, since we supported adding users by several different methods (not just steamids), so there was no simple way to know if the targeted steamid was a superadmin or not.

Today, it is possible to know if they are a higher-level admin, but the gap remains. Traditionally we've recommended people not give "ulx banid" to people they think might abuse it, but annoyance continues to abound; we are sympathetic. I know exactly how this could be supported in the current ULX, but the risk/reward is low enough that we are punting until ULX4.
Title: Re: ULX v3.70 and ULib v2.60 -- Metiejo
Post by: Bytewave on February 18, 2016, 04:47:51 PM
I believe people are annoyed that if you grant "ulx banid" to an admin, they can then ban superadmins, even though this is not allowed via "ulx ban". This was an intentional gap originally, since we supported adding users by several different methods (not just steamids), so there was no simple way to know if the targeted steamid was a superadmin or not.

Today, it is possible to know if they are a higher-level admin, but the gap remains. Traditionally we've recommended people not give "ulx banid" to people they think might abuse it, but annoyance continues to abound; we are sympathetic. I know exactly how this could be supported in the current ULX, but the risk/reward is low enough that we are punting until ULX4.
You shouldn't have to support bad practice. :p
Title: Re: ULX v3.70 and ULib v2.60 -- Metiejo
Post by: roastchicken on February 19, 2016, 07:58:46 AM
Honestly people complaining "help please fix this intentional feature because my awful admins are ab00sing it1!!!" is scary. Does nobody understand how to select trustworthy staff?
Title: Re: ULX v3.70 and ULib v2.60 -- Metiejo
Post by: Bytewave on February 20, 2016, 01:53:09 PM
Honestly people complaining "help please fix this intentional feature because my awful admins are ab00sing it1!!!" is scary. Does nobody understand how to select trustworthy staff?
Pay-per-admin. I guarantee it.
Title: Re: ULX v3.70 and ULib v2.60 -- Metiejo
Post by: rNd on February 20, 2016, 04:02:22 PM
Pardon my ignorance as I was not the guy who originally setup ULX on my server but are there any specific instructions for updating ULX? Such as a settings file or something along those lines that needs to be maintained or can ulx/ulib just be deleted and the new folders tossed in?

Thank you guys so much for keeping up the support with ULX and Ulib for so many years!
Title: Re: ULX v3.70 and ULib v2.60 -- Metiejo
Post by: Bytewave on February 20, 2016, 04:48:13 PM
Pardon my ignorance as I was not the guy who originally setup ULX on my server but are there any specific instructions for updating ULX? Such as a settings file or something along those lines that needs to be maintained or can ulx/ulib just be deleted and the new folders tossed in?

Thank you guys so much for keeping up the support with ULX and Ulib for so many years!
ULX and ULib are drop & go. Just shut down your server, clone the latest build from Github, and replace your current builds of both.
All data files should be backwards-compatible and converted if need be.
Title: Re: ULX v3.70 and ULib v2.60 -- Metiejo
Post by: Megiddo on February 20, 2016, 05:53:53 PM

ULX and ULib are drop & go. Just shut down your server, clone the latest build from Github, and replace your current builds of both.
All data files should be backwards-compatible and converted if need be.

Bytewave is correct
Title: Re: ULX v3.70 and ULib v2.60 -- Metiejo
Post by: LuaTenshi on March 04, 2016, 12:38:59 AM
Really :P

Now I'll need to redo all my sourcebans integration..

Yay!

Feels like there should be some sort of global module thing for this kinda like CPPI. Just to make it easy to manage and update.