Author Topic: ULX v3.70 and ULib v2.60 -- Metiejo  (Read 16123 times)

0 Members and 1 Guest are viewing this topic.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
ULX v3.70 and ULib v2.60 -- Metiejo
« 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. Workshop users will automatically update to these new versions.
« Last Edit: February 15, 2016, 04:28:51 PM by Megiddo »
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX v3.70 and ULib v2.60 -- Metiejo
« Reply #1 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_)
:)
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline feldma

  • Newbie
  • *
  • Posts: 47
  • Karma: 5
  • 5696 hours in Gmod and counting!
    • Mega-Strike Network
Re: ULX v3.70 and ULib v2.60 -- Metiejo
« Reply #2 on: February 15, 2016, 07:57:51 PM »
Really :P

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

Yay!
Solving 50% of people's questions by searching it up on google.

Trying to think of a cool idea to code, so I can inspire myself to code. If you want something done, please message me!

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1269
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: ULX v3.70 and ULib v2.60 -- Metiejo
« Reply #3 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
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: ULX v3.70 and ULib v2.60 -- Metiejo
« Reply #4 on: February 18, 2016, 03:08:41 AM »
and yet, no whitelist for permissions yet :(
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: ULX v3.70 and ULib v2.60 -- Metiejo
« Reply #5 on: February 18, 2016, 03:30:59 AM »
What do you mean by that?
Experiencing God's grace one day at a time.

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: ULX v3.70 and ULib v2.60 -- Metiejo
« Reply #6 on: February 18, 2016, 09:01:45 AM »
What do you mean by that?
I think he means blacklist, ie the whole banid issue.
bw81@ulysses-forums ~ % whoami
Homepage

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: ULX v3.70 and ULib v2.60 -- Metiejo
« Reply #7 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".
Experiencing God's grace one day at a time.

Offline roastchicken

  • Respected Community Member
  • Sr. Member
  • *****
  • Posts: 476
  • Karma: 84
  • I write code
Re: ULX v3.70 and ULib v2.60 -- Metiejo
« Reply #8 on: February 18, 2016, 12:40:38 PM »
What is "the whole banid issue", if I may ask?
Give a man some code and you help him for a day; teach a man to code and you help him for a lifetime.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: ULX v3.70 and ULib v2.60 -- Metiejo
« Reply #9 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.
Experiencing God's grace one day at a time.

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: ULX v3.70 and ULib v2.60 -- Metiejo
« Reply #10 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
bw81@ulysses-forums ~ % whoami
Homepage

Offline roastchicken

  • Respected Community Member
  • Sr. Member
  • *****
  • Posts: 476
  • Karma: 84
  • I write code
Re: ULX v3.70 and ULib v2.60 -- Metiejo
« Reply #11 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?
Give a man some code and you help him for a day; teach a man to code and you help him for a lifetime.

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: ULX v3.70 and ULib v2.60 -- Metiejo
« Reply #12 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.
bw81@ulysses-forums ~ % whoami
Homepage

Offline rNd

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: ULX v3.70 and ULib v2.60 -- Metiejo
« Reply #13 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!

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: ULX v3.70 and ULib v2.60 -- Metiejo
« Reply #14 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.
bw81@ulysses-forums ~ % whoami
Homepage