AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Dispenser Detonator (0.2) (https://forums.alliedmods.net/showthread.php?t=134904)

Research 01-23-2015 08:24

Re: [TF2] Dispenser Detonator (0.2)
 
Quote:

Originally Posted by MasterOfTheXP (Post 2158946)
It's because the plugin isn't checking if the entity is in fact an edict before using GetEdictClassname (an easy-to-forget problem in OnEntityDestroyed...although perhaps OnEntityDestroyed only cared about edicts at the time? Maybe?)

This should fix it.

thanks for fix but still error

Code:

L 01/23/2015 - 21:59:09: [SM] Native "GetEdictClassname" reported: Invalid edict (3 - 3)
L 01/23/2015 - 21:59:09: [SM] Displaying call stack trace for plugin "dispenser_detonator.smx":
L 01/23/2015 - 21:59:09: [SM]  [0]  Line 194, dispenser_detonator.sp::OnEntityDestroyed()
L 01/23/2015 - 22:03:47: [SM] Native "GetEdictClassname" reported: Invalid edict (5 - 5)
L 01/23/2015 - 22:03:47: [SM] Displaying call stack trace for plugin "dispenser_detonator.smx":
L 01/23/2015 - 22:03:47: [SM]  [0]  Line 194, dispenser_detonator.sp::OnEntityDestroyed()
L 01/23/2015 - 22:04:40: [SM] Native "GetEdictClassname" reported: Invalid edict (3 - 3)
L 01/23/2015 - 22:04:40: [SM] Displaying call stack trace for plugin "dispenser_detonator.smx":
L 01/23/2015 - 22:04:40: [SM]  [0]  Line 194, dispenser_detonator.sp::OnEntityDestroyed()
L 01/23/2015 - 22:05:46: [SM] Native "GetEdictClassname" reported: Invalid edict (4 - 4)
L 01/23/2015 - 22:05:46: [SM] Displaying call stack trace for plugin "dispenser_detonator.smx":
L 01/23/2015 - 22:05:46: [SM]  [0]  Line 194, dispenser_detonator.sp::OnEntityDestroyed()
L 01/23/2015 - 22:11:35: [SM] Native "GetEdictClassname" reported: Invalid edict (5 - 5)
L 01/23/2015 - 22:11:35: [SM] Displaying call stack trace for plugin "dispenser_detonator.smx":
L 01/23/2015 - 22:11:35: [SM]  [0]  Line 194, dispenser_detonator.sp::OnEntityDestroyed()
L 01/23/2015 - 22:13:52: [SM] Native "GetEdictClassname" reported: Invalid edict (4 - 4)
L 01/23/2015 - 22:13:52: [SM] Displaying call stack trace for plugin "dispenser_detonator.smx":
L 01/23/2015 - 22:13:52: [SM]  [0]  Line 194, dispenser_detonator.sp::OnEntityDestroyed()
L 01/23/2015 - 22:13:52: [SM] Native "GetEdictClassname" reported: Invalid edict (6 - 6)
L 01/23/2015 - 22:13:52: [SM] Displaying call stack trace for plugin "dispenser_detonator.smx":
L 01/23/2015 - 22:13:52: [SM]  [0]  Line 194, dispenser_detonator.sp::OnEntityDestroyed()
L 01/23/2015 - 22:13:52: [SM] Native "GetEdictClassname" reported: Invalid edict (7 - 7)
L 01/23/2015 - 22:13:52: [SM] Displaying call stack trace for plugin "dispenser_detonator.smx":
L 01/23/2015 - 22:13:52: [SM]  [0]  Line 194, dispenser_detonator.sp::OnEntityDestroyed()


ygor.almeida 01-25-2015 09:22

Re: [TF2] Dispenser Detonator (0.2)
 
Not works for me

pear 10-01-2017 07:03

Re: [TF2] Dispenser Detonator (0.2)
 
I know this post is old but this plugin has a bug where if you bind a key to "destroy 0; build 0" and spam that key while alive, it will constantly make explosions in the middle of the map that still damages players.

Teamkiller324 08-11-2020 17:55

Re: [TF2] Dispenser Detonator (0.2)
 
1 Attachment(s)
New 0.2.2 version
- updated to new syntax
- added credits to masterofthexp for his version 0.2.1 (cuz i can)


All times are GMT -4. The time now is 12:24.

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