Raised This Month: $32 Target: $400
 8% 

[Any] Dynamic Targeting


Post New Thread Reply   
 
Thread Tools Display Modes
lugui
Senior Member
Join Date: Feb 2016
Location: GetClientAbsOrigin();
Old 07-05-2016 , 16:27   Re: [Any] Dynamic Targeting
Reply With Quote #11

Quote:
Originally Posted by ddhoward View Post
You could just be using "@pyros" rather than "@all & @pyros
I know. This was just a test, anyway, /slay @!prd1 should slay everybody - pyros
__________________
Add me for commissions!
Steam: [U:1:88621772]
Discord: lugui#0889
My Plugins
lugui is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 07-05-2016 , 16:33   Re: [Any] Dynamic Targeting
Reply With Quote #12

Yeah, I think I fixed that bug a while ago, but I didn't finish the update before getting distracted by other things. Testing out a new version now.
__________________
ddhoward is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 07-07-2016 , 03:49   Re: [Any] Dynamic Targeting
Reply With Quote #13

New version 16.0707 has been pushed to the download server. The first post will be updated shortly with new plugin documentation. Changes include:
  • Added "permanent" dynamic filters which are configured through a config file.

  • Added ! and ~ support to be used outside parenthesis. For example: sm_dtarget @prd1 @me + !(@blue + @scouts)

  • Added "synonyms" to some existing operators.

  • Fixed bug regarding reverse filters, mentioned a couple posts earlier.

  • Fixed a bug regarding nested parentheses

  • Fixed a major server-crashing exploit regarding dynamic filters referencing each other in an infinite loop.

  • Fixed bug where last filters might not function correctly

  • Added the command sm_testfilter, which simply replies to the command with a list of anyone who would be affected by the filter, assuming that the command you intend to use the filter with ignores immunity, alive/dead status, bot/human status, or fully-in-game status. For example:
    Code:
    ] sm_testfilter @me
    Client 4, UID 56, Derek
    ] 
    ] sm_testfilter #56
    Client 4, UID 56, Derek
    ] 
    ] sm_dtarget @prd1 @me + myFriend
    ] sm_testfilter @prd1
    Client 4, UID 56, Derek
    Client 7, UID 63, myFriend

Please let me know if you run into any issues. Please also consider installing Updater if you haven't already!


If you like what you see here, please consider donating~
__________________

Last edited by ddhoward; 07-20-2016 at 04:43.
ddhoward is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 07-23-2016 , 03:28   Re: [Any] Dynamic Targeting (v. 16.0723)
Reply With Quote #14

New version 16.0723 has been pushed to the download server. The first post has been updated with the new plugin documentation. Changes include:
  • Added inline filtering, which allows use of a dynamic targeting string without needing to use sm_dtarget first. This feature is configurable with the cvar sm_dynamictargeting_listen; more documentation can be found at the first post.

  • Moved all filter types to dynamic arrays.

  • Added a MaxClients > 32 security check.

  • Added proper ranges to all cvars.

  • Minor memory optimizations.

Please let me know if you run into any issues. Please also consider installing Updater if you haven't already!


If you like what you see here, please consider donating~
__________________

Last edited by ddhoward; 07-23-2016 at 03:57.
ddhoward is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 08-04-2016 , 21:43   Re: [Any] Dynamic Targeting (v. 16.0723)
Reply With Quote #15

New version 16.0804 has been pushed to the download server. The first post has been updated with the new plugin documentation. Changes include:
  • Simplified code behind inline targeting.

  • Various performance optimizations.

  • Enabled ability to reverse type identifiers in configurable filters. The pr/pb and s/d are now swappable. (EXAMPLE: @prd1 is also usable as @dpr1)

  • Fixed an issue where cookies were apparently not saving correctly due to a really long cookie name.

  • sm_dtarget will now inform you of the contents of a configurable filter, if you don't put ANYTHING after the filter name (not even a space).

  • Permanent filters now support custom descriptions. This breaks the functionality of any previously made config file. Please see the first post for more details.

  • Quotation marks around an inline targeting filter are no longer necessary with some commands.

Please let me know if you run into any issues. Please also consider installing Updater if you haven't already!


If you like what you see here, please consider donating~
__________________

Last edited by ddhoward; 08-26-2016 at 05:16.
ddhoward is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 11-13-2017 , 21:46   Re: [Any] Dynamic Targeting (v. 16.0804)
Reply With Quote #16

Can someone provide a current download link for this plugin?
PC Gamer is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 01-26-2018 , 18:03   Re: [Any] Dynamic Targeting (v. 16.0804)
Reply With Quote #17

Updated to 18.0126.0. This version fixes the download link, adds a native, and makes various internal improvements, optimizations, and bugfixes.
__________________
ddhoward is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 08-08-2018 , 01:26   Re: [Any] Dynamic Targeting
Reply With Quote #18

Updated to 18.0807.0. This version hopefully removed the 32-slot limitation, as well as fixed a simple bug with mismatched forwards. Further, this version fixes nested parenthesis, which were apparently broken this whole time.

I'd appreciate feedback if there's any oddness on 33+ slot servers.
__________________

Last edited by ddhoward; 08-08-2018 at 01:29.
ddhoward is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 09-13-2018 , 02:44   Re: [Any] Dynamic Targeting
Reply With Quote #19

Updated to version 18.0912.0. This version fixes a bug with static filters that was introduced with the removal of the 32 player limit. This version also removes some debug messages that were printing to the server console, as well as an update to the latest version of my ddhoward_updater include.
__________________
ddhoward is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 09-24-2018 , 01:09   Re: [Any] Dynamic Targeting
Reply With Quote #20

Updated to version 18.0923. This version adds menu support for static filters. Specify a static filter as the sole argument of sm_dtarget (ensuring that no whitespace remains after the end of the filter name) and you'll be presented with a menu that you can select players from.

The next update will feature the core functionality of targeting string evaluation split off into its own plugin, with more emphasis on the native.
__________________

Last edited by ddhoward; 09-26-2018 at 19:10.
ddhoward is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:20.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode