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

Napalm grenade error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Diablo3
Senior Member
Join Date: Feb 2010
Old 05-29-2010 , 10:03   Napalm grenade error
Reply With Quote #1

Sometime player says that zombies not burn on grenade explode...
Now I saw this message in server console...

Code:
L 05/29/2010 - 17:57:34: [SM] Native "GetEdictClassname" reported: Invalid edict (51 - 51)
L 05/29/2010 - 17:57:34: [SM] Displaying call stack trace for plugin "zombiereloaded.smx":
L 05/29/2010 - 17:57:34: [SM]   [0]  Line 230, zr/napalm.inc::NapalmIgniteGrenade()
what about this ? Interesting thing , this not recorded to error logs file.
Diablo3 is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 05-29-2010 , 14:44   Re: Napalm grenade error
Reply With Quote #2

http://code.google.com/p/zombiereloa.../detail?id=174

Made a fix, but it's not verified or tested.
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)
rhelgeby is offline
Send a message via MSN to rhelgeby
Obibos
New Member
Join Date: May 2010
Old 05-30-2010 , 00:50   Re: Napalm grenade error
Reply With Quote #3

on my serv too
Obibos is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 05-30-2010 , 04:42   Re: Napalm grenade error
Reply With Quote #4

You'd only want to continue if those index's are valid, wouldn't you?

Code:
        // If entity is invalid, then stop.
        if(!IsValidEntity(x) || !IsValidEdict(x))
        {
            return;
        }
At the moment, it's continuing if those index's are invalid. http://helgeby.no-ip.org/zrdev/hg/hg.../zr/napalm.inc


EDIT: I don't think I've had this issue, but the above change had no ill effect as far as I can tell.

Last edited by KyleS; 05-30-2010 at 05:11.
KyleS is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 05-30-2010 , 09:10   Re: Napalm grenade error
Reply With Quote #5

If you look more closely at the file you'll see that it's inside a loop. The loop must go through all entities.
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)
rhelgeby is offline
Send a message via MSN to rhelgeby
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 05-31-2010 , 02:52   Re: Napalm grenade error
Reply With Quote #6

Quote:
Originally Posted by rhelgeby View Post
If you look more closely at the file you'll see that it's inside a loop. The loop must go through all entities.
I see, that check isn't doing anything then. o.O

Last edited by KyleS; 05-31-2010 at 02:55.
KyleS is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 05-31-2010 , 07:45   Re: Napalm grenade error
Reply With Quote #7

It have to check all entities, but skip invalid ones.
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)
rhelgeby is offline
Send a message via MSN to rhelgeby
Diablo3
Senior Member
Join Date: Feb 2010
Old 06-04-2010 , 07:10   Re: Napalm grenade error
Reply With Quote #8

rhelgeby,
are you missed include that fix to 611 patch ?
__________________
Diablo3 is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 06-04-2010 , 10:30   Re: Napalm grenade error
Reply With Quote #9

It wasn't ported to stable because the fix wasn't verified.
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)
rhelgeby is offline
Send a message via MSN to rhelgeby
Diablo3
Senior Member
Join Date: Feb 2010
Old 06-05-2010 , 17:57   Re: Napalm grenade error
Reply With Quote #10

Quote:
Originally Posted by rhelgeby View Post
It wasn't ported to stable because the fix wasn't verified.
For me it help 99,9% I can't ensure 100% , but now secondly day without that error for me, napalm working good
__________________
Diablo3 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 10:14.


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