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

[TF2] Dispenser Detonator (0.2)


Post New Thread Reply   
 
Thread Tools Display Modes
Research
SourceMod Donor
Join Date: Nov 2011
Old 01-23-2015 , 08:24   Re: [TF2] Dispenser Detonator (0.2)
Reply With Quote #11

Quote:
Originally Posted by MasterOfTheXP View Post
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()
Research is offline
ygor.almeida
Member
Join Date: Jul 2010
Old 01-25-2015 , 09:22   Re: [TF2] Dispenser Detonator (0.2)
Reply With Quote #12

Not works for me
ygor.almeida is offline
pear
Member
Join Date: May 2017
Location: sea
Old 10-01-2017 , 07:03   Re: [TF2] Dispenser Detonator (0.2)
Reply With Quote #13

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.
pear is offline
Teamkiller324
Senior Member
Join Date: Feb 2014
Location: Earth
Old 08-11-2020 , 17:55   Re: [TF2] Dispenser Detonator (0.2)
Reply With Quote #14

New 0.2.2 version
- updated to new syntax
- added credits to masterofthexp for his version 0.2.1 (cuz i can)
Attached Files
File Type: sp Get Plugin or Get Source (dispenser_detonator.sp - 126 views - 13.2 KB)
__________________

Last edited by Teamkiller324; 08-11-2020 at 17:55.
Teamkiller324 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 08:27.


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