Raised This Month: $12 Target: $400
 3% 

Combine existing plugins


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kirksite
Member
Join Date: Feb 2021
Old 09-14-2022 , 20:35   Combine existing plugins
Reply With Quote #1

There are two existing plugins that I have used and each one works but when used together, only one works.

flashed_duration_fix.sma
https://forums.alliedmods.net/showthread.php?t=302343

colored_flashbags.sma
https://forums.alliedmods.net/showth...red+flashbangs

The flash_duration will not work with the colored_flashbangs. They both are running, no errors showing with debug. Colors will work but the duration is the default. When colors is stopped, duration works.

I've posted in the duration plugin thread but the author was last active +/- 1 year ago.
kirksite is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-14-2022 , 23:30   Re: Combine existing plugins
Reply With Quote #2

Have you tried swapping the order of the plugins in plugins.ini? I think if you put the duration plugin above the color plugin, it should work.

Alternatively, you would probably need to change the return PLUGIN_HANDLED to return PLUGIN_CONTINUE.
__________________
fysiks is offline
kirksite
Member
Join Date: Feb 2021
Old 09-15-2022 , 01:48   Re: Combine existing plugins
Reply With Quote #3

thanks for your response and suggestions.

yes I did try various order positions in the plugins.ini including swapping order positions with no improvement. I will try the code edit you suggested and report back.
kirksite is offline
kirksite
Member
Join Date: Feb 2021
Old 09-15-2022 , 10:15   Re: Combine existing plugins
Reply With Quote #4

No joy, edited colored_flashbangs to return PLUGIN_HANDLED, compiled and uploaded. No change. Swapped order of plugins in pluings.ini with no change.

I can have either flash color change OR flash duration but not both.
kirksite 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 15:11.


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