Ulysses

Ulysses Stuff => Releases => Ulysses Release Archives => Topic started by: JamminR on February 07, 2010, 09:20:20 PM

Title: [SVN ULib/ULX Only] - Old School Immunity + bonus bounce back
Post by: JamminR on February 07, 2010, 09:20:20 PM
Description:
Miss the "old skewl" "single player is immune from all commands" simplicity of ULX prior to SVN?
Love how you can control every command's immunity access in SVN, but find it just too time consuming to modify every command?
Ever wanted automatic revenge for fellow players who have access to ULX commands that perform them on you?
Old School Immunity is for you! It has bully protection too! (Old School Playground protection?!"

Features:

Known issues

Usage - console only

Installation:
Unzip into your <drive><steampath><username><garrysmod>/addons/ or gmod server/addons/ folder.

ChangeLog:
First release to Ulysses forums - v1
2/14/2010 - Corrected commented note to myself that wasn't properly commented (THANKS KENNY!)

Notes:
Yes, I know there is very little chance of rubberization being a real word. Vulcanization is actually the process of making rubber.
Still... I liked it for this release. :)
This uses ULib's new hooks ULibPlayerTarget (http://ulyssesmod.net/docs/files/lua/ULib/shared/defines-lua.html#ULibPlayerTarget) and ULibPlayerTargets (http://ulyssesmod.net/docs/files/lua/ULib/shared/defines-lua.html#ULibPlayerTarget). Which is why I won't be making a version for older releases.

Do NOT upload this to any other download site. Though you may share it, please link to this individual release post.
When SVN of ULib and ULX have gone release, I may update/add a non registration required link.
Megiddo still has plans of immunity within ULX, and this may become null and void.

Download:
Title: Re: [SVN ULib/ULX Only] - Old School Immunity + bonus bounce back
Post by: Megiddo on February 07, 2010, 09:24:29 PM
Awesome work JamminR! :D
Title: Re: [SVN ULib/ULX Only] - Old School Immunity + bonus bounce back
Post by: Ploo on February 08, 2010, 05:53:19 AM
Looks good.

Ahh, looking forward to the complete SVN release.

EDIT: Any ETA on it?
Title: Re: [SVN ULib/ULX Only] - Old School Immunity + bonus bounce back
Post by: JamminR on February 08, 2010, 03:03:03 PM
All, I forgot to mention;
This addon only affects / blocks commands with "ulx " as part of the command.
It won't affect other modules/scripts if they use ULib's commands yet don't have "ulx <command>" structure.

Also, there is an exception list for all commands, and one for rubber commands towards the top of the file.
Please let me know if you find any ULX commands that just don't work well with either immunity or rubber on a player.
For instance, spectate is in the rubber list... spectating oneself is pointless... you're officially already spectating yourself when you spawn into the server. :)
Title: Re: [SVN ULib/ULX Only] - Old School Immunity + bonus bounce back
Post by: halkion on February 14, 2010, 01:04:28 PM
Erm, i can't seem to get mine to work. :S  I use the latest svn version of ulx and ulib. But when I run "ulx help" in the console of my server i see nothing about osi. I have no idea what is wrong and i also don't see any commands for osi in the server. Please help meh :<
Title: Re: [SVN ULib/ULX Only] - Old School Immunity + bonus bounce back
Post by: Kenny_ on February 14, 2010, 01:48:37 PM
There's a space between the dashes on line 95, which prevents it from working.
Title: Re: [SVN ULib/ULX Only] - Old School Immunity + bonus bounce back
Post by: JamminR on February 14, 2010, 02:33:07 PM
Oops.
Thanks Kenny.
Corrected and re-uploaded. (I've not tested since re-uploading though)
Title: Re: [SVN ULib/ULX Only] - Old School Immunity + bonus bounce back
Post by: RynO-SauruS on February 19, 2010, 02:21:31 PM
Looks like this would be really nice for people who miss the old system! Nice work! I personally like the new command system..
But, 'ulx physgunplayer' still isn't updated to it yet. Can this addon be used to keep admins from being able to pickup superadmins in the SVN?
Title: Re: [SVN ULib/ULX Only] - Old School Immunity + bonus bounce back
Post by: JamminR on February 19, 2010, 03:19:41 PM
keep admins from being able to pickup superadmins in the SVN?
No. This uses two hooks which ULib calls when players are targeted using console/say command entry.
ULX's current physgun pickup doesn't ever call the ULib functions that call the hooks.
Title: Re: [SVN ULib/ULX Only] - Old School Immunity + bonus bounce back
Post by: RynO-SauruS on February 19, 2010, 07:43:26 PM
Ok, thanks.
Title: Re: [SVN ULib/ULX Only] - Old School Immunity + bonus bounce back
Post by: JamminR on February 19, 2010, 10:09:54 PM
While playing on a dedicated server running ULib svn rev 105 and ULX svn rev 85, I found that after using ulx osi_rubberize on myself, a fellow admin, without overcome power, could still affect me without commands bouncing back to him.
(Whip, to be specific)
Immunize on me worked... he couldn't affect me.
I found no errors in my game or server console, but was distracted and may have missed them.
Can anyone else test and let me know?
Thanks.