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

[BUG] Multi Forward


  
 
 
Thread Tools Display Modes
Author Message
teame06
i have a hat
Join Date: Feb 2005
Location: Hat City
Old 07-12-2006 , 21:59   [BUG] Multi Forward
#1

What happens with this bug is that one plugin is Executing the Multiforward sending is_kz_map to the other plugins. Instead of all of the function recieving all the same argument "is_kz_map". One or more plugins will recieve targetname. This happens when find_entity_for_removal(); is called. If you remove it all the function then it will work propertly.

Also if you replace find_entity_for_removal(); with set_cvar_num("asdf", 1); you will see asdf where targetname is currently.
Quote:
L 07/12/2006 - 18:58:52: [kz_plugin.amxx] is_kz_map
L 07/12/2006 - 18:58:52: [kz_plugin.amxx] Event what called with (is_kz_map) num = 1 (should be 5)
L 07/12/2006 - 18:58:52: [test.amxx] is_kz_map
L 07/12/2006 - 18:58:52: [test.amxx] Event what called with (is_kz_map) num = 1 (should be 5)
L 07/12/2006 - 18:58:52: [test1.amxx] targetname
You can use the server command fwd_test to execute the forward again.

Quote:
Originally Posted by The plugin order in plugins.ini must go like
kz_plugin.amxx
test.amxx
test1.amxx
I have attached a test plugins.
Attached Files
File Type: zip test.zip (8.4 KB, 134 views)
__________________
No private support via Instant Message
GunGame:SM Released
teame06 is offline
Send a message via AIM to teame06
BAILOPAN
Join Date: Jan 2004
Old 07-18-2006 , 00:37   Re: [BUG] Multi Forward
#2

I have committed a fix for this as revision 2874. Thanks for the splendid test setup. I can no longer reproduce the erroneous output:
Code:
L 07/18/2006 - 00:40:14: [kz_plugin.amxx] is_kz_map L 07/18/2006 - 00:40:14: [kz_plugin.amxx] Event what called with (is_kz_map) num = 1 (should be 5) L 07/18/2006 - 00:40:14: [test.amxx] is_kz_map L 07/18/2006 - 00:40:14: [test.amxx] Event what called with (is_kz_map) num = 1 (should be 5) L 07/18/2006 - 00:40:14: [test1.amxx] is_kz_map L 07/18/2006 - 00:40:14: [test1.amxx] Event what called with (is_kz_map) num = 1 (should be 5)

Thanks to faluco for the corruption analysis.
__________________
egg

Last edited by BAILOPAN; 07-18-2006 at 00:40.
BAILOPAN is offline
 



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 02:22.


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