Raised This Month: $ Target: $400
 0% 

[ANY] Trigger Multiple Commands (1.10) [16-May-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
Meierhans
New Member
Join Date: Jan 2022
Old 02-21-2022 , 08:56   Re: [ANY] Trigger Multiple Commands (1.5) [20-Apr-2021]
Reply With Quote #41

Works fine now after updating sourcemod plugins. Thanks for the help.
Meierhans is offline
ZBzibing
Senior Member
Join Date: Dec 2012
Old 05-28-2022 , 00:28   Re: [ANY] Trigger Multiple Commands (1.5) [20-Apr-2021]
Reply With Quote #42

Whether he supports starting the button on the map, I made a timer, if the player does not actively open the mechanism, then after a certain event, the button will be triggered automatically, just like the radio station of the rescue level. I use ent_fire to test. But sv_cheat must be used, if your trigger can support this, I can use a timer to call your trigger.
For example, I want to trigger: l4d_hospital02_subway
ent_fire filter_generator TestActivator

if you can call:
sm_trigger filter_generator TestActivator
__________________
Please forgive, If I'm not describing it accurately. I use google translate
Functional tests are all from L4D1, and are only keen to solve and fix various bugs of L4D1:
ZBzibing is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-28-2022 , 07:15   Re: [ANY] Trigger Multiple Commands (1.5) [20-Apr-2021]
Reply With Quote #43

You setup the trigger wrong. Use these settings:

1: In console: sm_trigger_add Ent_Fire filter_generator TestActivator
2: In menu select Fake Client Command
3: In menu select Execute as Root Admin and Remove Cheat Flags
4: In menu select Activator Only

the other settings are up to you
__________________
Silvers is offline
ZBzibing
Senior Member
Join Date: Dec 2012
Old 06-03-2022 , 10:46   Re: [ANY] Trigger Multiple Commands (1.5) [20-Apr-2021]
Reply With Quote #44

Quote:
Originally Posted by Silvers View Post
You setup the trigger wrong. Use these settings:

1: In console: sm_trigger_add Ent_Fire filter_generator TestActivator
2: In menu select Fake Client Command
3: In menu select Execute as Root Admin and Remove Cheat Flags
4: In menu select Activator Only

the other settings are up to you
Thanks, I've started using it

I have a new problem

L 06/03/2022 - 22:42:46: [SM] Exception reported: Client 5 is not connected
L 06/03/2022 - 22:42:46: [SM] Blaming: test\sm_trigger_multiple_commands.smx
L 06/03/2022 - 22:42:46: [SM] Call stack trace:
L 06/03/2022 - 22:42:46: [SM] [0] GetClientUserId
L 06/03/2022 - 22:42:46: [SM] [1] Line 2342, I:sm_trigger_multiple_commands\sm_trigger_mul tiple_commands.sp::ExecuteCommand
L 06/03/2022 - 22:42:46: [SM] [2] Line 2204, sm_trigger_multiple_commands\sm_trigger_multi ple_commands.sp::OnStartTouch
__________________
Please forgive, If I'm not describing it accurately. I use google translate
Functional tests are all from L4D1, and are only keen to solve and fix various bugs of L4D1:
ZBzibing is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-03-2022 , 12:19   Re: [ANY] Trigger Multiple Commands (1.6) [03-Jun-2022]
Reply With Quote #45

I noticed this too when I tested your trigger. I just didn't get round to uploading the fix.

Done:

Code:
1.6 (03-Jun-2022)
    - Fixed client not connected errors. Thanks to "ZBzibing" for reporting.
__________________
Silvers is offline
jjambo789
Junior Member
Join Date: Dec 2013
Old 09-02-2022 , 06:06   Re: [ANY] Trigger Multiple Commands (1.6) [03-Jun-2022]
Reply With Quote #46

Quote:
Originally Posted by Silvers View Post
I noticed this too when I tested your trigger. I just didn't get round to uploading the fix.

Done:

Code:
1.6 (03-Jun-2022)
    - Fixed client not connected errors. Thanks to "ZBzibing" for reporting.

PLUGIN_VERSION "1.6"
Sorry, My english is not good.
My server is L4D2 coop 8 players.
same error log

L 09/02/2022 - 04:16:03: [SM] Exception reported: Client 9 is not connected
L 09/02/2022 - 04:16:03: [SM] Blaming: sm_trigger_multiple_commands.smx
L 09/02/2022 - 04:16:03: [SM] Call stack trace:
L 09/02/2022 - 04:16:03: [SM] [0] IsFakeClient
L 09/02/2022 - 04:16:03: [SM] [1] Line 2345, sm_trigger_multiple_commands.sp::ExecuteComma nd
L 09/02/2022 - 04:16:03: [SM] [2] Line 2233, sm_trigger_multiple_commands.sp::OnStartTouch
L 09/02/2022 - 04:17:15: [SM] Exception reported: Client 10 is not connected
L 09/02/2022 - 04:17:15: [SM] Blaming: sm_trigger_multiple_commands.smx
L 09/02/2022 - 04:17:15: [SM] Call stack trace:
L 09/02/2022 - 04:17:15: [SM] [0] IsFakeClient
L 09/02/2022 - 04:17:15: [SM] [1] Line 2345, sm_trigger_multiple_commands.sp::ExecuteComma nd
L 09/02/2022 - 04:17:15: [SM] [2] Line 2233, sm_trigger_multiple_commands.sp::OnStartTouch

Last edited by jjambo789; 09-02-2022 at 06:07.
jjambo789 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-02-2022 , 08:26   Re: [ANY] Trigger Multiple Commands (1.7) [02-Sep-2022]
Reply With Quote #47

Code:
1.7 (02-Sep-2022)
    - Fixed client not connected errors. Thanks to "jjambo789" for reporting.
__________________
Silvers is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-01-2023 , 09:07   Re: [ANY] Trigger Multiple Commands (1.8) [01-Oct-2023]
Reply With Quote #48

Code:
1.8 (01-Oct-2023)
    - Added a new menu option which allows requiring all players to be present to activate. Requested by "replay_84".
    - Added a debug option (requires recompile) to log various data when activating a trigger to determine where it fails.
    - Changed command "sm_trigger_dupe" to allow specifying an index to duplicate that trigger.
    - Duplicated triggers now copy the size of the trigger instead of setting to the default size.
    - Now when the plugin is late loaded, triggers will detect players inside and fire after being created if the criteria was met.
    - Lots of thanks to "replay_84" for tons of testing and reporting back.
__________________
Silvers is offline
Proaxel
Member
Join Date: Oct 2014
Old 10-11-2023 , 20:06   Re: [ANY] Trigger Multiple Commands (1.8) [01-Oct-2023]
Reply With Quote #49

Fails to compile on the forum compiler.

HTML Code:
SourcePawn Compiler 1.8.0.5969
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2015 AlliedModders LLC

124552.attach(2759) : warning 203: symbol is never used: "timer"

2 Errors.
Proaxel is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-12-2023 , 01:36   Re: [ANY] Trigger Multiple Commands (1.8) [01-Oct-2023]
Reply With Quote #50

Thanks, fixed.
__________________
Silvers is offline
Reply



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 00:41.


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