Raised This Month: $ Target: $400
 0% 

[L4D & L4D2] Tank's Burning Rock


Post New Thread Reply   
 
Thread Tools Display Modes
ur5efj
Member
Join Date: Jan 2006
Old 08-27-2011 , 17:34   Re: [L4D & L4D2] Tank's Burning Rock
Reply With Quote #41

new errors with old version plugins

L 08/27/2011 - 21:22: 35: [SM] Native "GetEdictClassname" reported: Invalid edict (3928 - -2144190632)
L 08/27/2011 - 21:22: 35: [SM] Displaying call stack trace for plugin "l4d_tankrock.smx":
L 08/27/2011 - 21:22: 35: [SM] [0] Line 116, l4d_tankrock.sp::OnEntityDestroyed()
L 08/27/2011 - 21:22: 35: [SM] Native "GetEdictClassname" reported: Invalid edict (3927 - -2106847401)
L 08/27/2011 - 21:22: 35: [SM] Displaying call stack trace for plugin "l4d_tankrock.smx":
L 08/27/2011 - 21:22: 35: [SM] [0] Line 116, l4d_tankrock.sp::OnEntityDestroyed()
L 08/27/2011 - 21:22: 35: [SM] Native "GetEdictClassname" reported: Invalid edict (3930 - -2081415334)
L 08/27/2011 - 21:22: 35: [SM] Displaying call stack trace for plugin "l4d_tankrock.smx":
L 08/27/2011 - 21:22: 35: [SM] [0] Line 116, l4d_tankrock.sp::OnEntityDestroyed()
ur5efj is offline
Chronic1
SourceMod Donor
Join Date: Jun 2011
Old 10-02-2011 , 20:26   Re: [L4D & L4D2] Tank's Burning Rock
Reply With Quote #42

Is there any way to lower the tank rock damage? I have explosive damage set to 0 but the exploding rock still does around 45 damage when its a direct hit. I want to lower it down to around 25 if possible.
__________________
Chronic1 is offline
ceivar
New Member
Join Date: Dec 2011
Old 12-13-2011 , 02:20   Re: [L4D & L4D2] Tank's Burning Rock
Reply With Quote #43

panxiaohai, could you upload the .sp file for this latest version please? great plugin btw, i love it~
ceivar is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 12-14-2011 , 17:50   Re: [L4D & L4D2] Tank's Burning Rock
Reply With Quote #44

panxiaohai:
Please do not post a .smx attachment without also including the source code.
I have deleted the attachment until this is fixed.
__________________

Last edited by DarthNinja; 12-14-2011 at 17:51.
DarthNinja is offline
januto
Member
Join Date: Mar 2011
Old 12-22-2011 , 08:23   Re: [L4D & L4D2] Tank's Burning Rock
Reply With Quote #45

ERRORS in the log:
Attached Files
File Type: log errors_20111220.log (31.0 KB, 180 views)
__________________
You are welcome!

januto is offline
disawar1
AlliedModders Donor
Join Date: Aug 2011
Location: Russian
Old 12-26-2011 , 13:58   Re: [L4D & L4D2] Tank's Burning Rock
Reply With Quote #46

Quote:
Originally Posted by januto View Post
ERRORS in the log:
Open source and

Change Line 118
PHP Code:
public OnEntityDestroyed(entity)
{
    if(!
rockimpact)return; 
To
PHP Code:
public OnEntityDestroyed(entity)
{
    if(!
rockimpact || !IsValidEntity(entity))return; 
__________________
disawar1 is offline
The 5th Survivor
Senior Member
Join Date: Mar 2012
Old 03-16-2012 , 15:12   Re: [L4D & L4D2] Tank's Burning Rock
Reply With Quote #47

This plugin is pretty cool. And it makes sense that the rock would explode considering the Tanks throws it with a lot of force. This combined with some of the other Tank plugins you made is great.

Thanks panxiaohai
The 5th Survivor is offline
Chronic1
SourceMod Donor
Join Date: Jun 2011
Old 05-07-2012 , 18:49   Re: [L4D & L4D2] Tank's Burning Rock
Reply With Quote #48

I'm trying to figure out how to lower the damage the exploding rock does with a direct hit (does about 45dmg)
I tried setting the damage cvar to 0 and 1 but it still does 45 damage.
__________________
Chronic1 is offline
Chronic1
SourceMod Donor
Join Date: Jun 2011
Old 05-30-2012 , 16:53   Re: [L4D & L4D2] Tank's Burning Rock
Reply With Quote #49

Quote:
Originally Posted by disawar1 View Post
Open source and

Change Line 118
PHP Code:
public OnEntityDestroyed(entity)
{
    if(!
rockimpact)return; 
To
PHP Code:
public OnEntityDestroyed(entity)
{
    if(!
rockimpact || !IsValidEntity(entity))return; 

The source already says "if(!rockimpact || !IsValidEntity(entity))return"

But I still get get a spam of those errors in the log.
__________________

Last edited by Chronic1; 05-30-2012 at 17:02.
Chronic1 is offline
exstream
Member
Join Date: Feb 2013
Old 07-29-2013 , 23:52   Re: [L4D & L4D2] Tank's Burning Rock
Reply With Quote #50

try this I changed the code to
if(!rockimpact || !IsValidEdict(entity))return;

I don't have any errors now
Attached Files
File Type: smx l4d_tankrock.smx (8.9 KB, 180 views)
exstream 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 09:58.


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