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

Bug Report [SOLVED] "zp50_item_infection_bomb.amxx" - [ZP] Invalid Player


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
andros
Member
Join Date: Oct 2011
Location: Kusadak
Old 08-07-2013 , 06:12   [SOLVED] "zp50_item_infection_bomb.amxx" - [ZP] Invalid Player
Reply With Quote #1

Hi everyone, I use ZP 5.0.8 and I have a problem:
Code:
L 08/07/2013 - 11:52:03: Start of error session.
L 08/07/2013 - 11:52:03: Info (map "zm_fortuna") (file "addons/amxmodx/logs/error_20130807.log")
L 08/07/2013 - 11:52:03: [ZP] Invalid Player (1)
L 08/07/2013 - 11:52:03: [AMXX] Displaying debug trace (plugin "zp50_item_infection_bomb.amxx")
L 08/07/2013 - 11:52:03: [AMXX] Run time error 10: native error (native "zp_core_infect")
L 08/07/2013 - 11:52:03: [AMXX]    [0] zp50_item_infection_bomb.sma::infection_explode (line 318)
L 08/07/2013 - 11:52:03: [AMXX]    [1] zp50_item_infection_bomb.sma::fw_ThinkGrenade (line 259)
L 08/07/2013 - 11:52:03: [ZP] Invalid Player (1)
L 08/07/2013 - 11:52:03: [AMXX] Displaying debug trace (plugin "zp50_item_infection_bomb.amxx")
L 08/07/2013 - 11:52:03: [AMXX] Run time error 10: native error (native "zp_core_infect")
L 08/07/2013 - 11:52:03: [AMXX]    [0] zp50_item_infection_bomb.sma::infection_explode (line 318)
L 08/07/2013 - 11:52:03: [AMXX]    [1] zp50_item_infection_bomb.sma::fw_ThinkGrenade (line 259)
Can someone help me, please?

Last edited by MeRcyLeZZ; 06-30-2014 at 09:00. Reason: Added more information
andros is offline
Send a message via Skype™ to andros
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 08-07-2013 , 10:42   Re: plugin "zp50_item_infection_bomb.amxx"
Reply With Quote #2

Try

Spoiler
__________________
H.RED.ZONE is offline
andros
Member
Join Date: Oct 2011
Location: Kusadak
Old 08-07-2013 , 12:43   Re: plugin "zp50_item_infection_bomb.amxx"
Reply With Quote #3


So far so good, thanks a lot!
andros is offline
Send a message via Skype™ to andros
MeRcyLeZZ
Veteran Member
Join Date: Dec 2007
Old 06-30-2014 , 08:55   Re: plugin "zp50_item_infection_bomb.amxx"
Reply With Quote #4

The bug is actually in zp50_core performing unncesseray checks.

Fix here.
Attached Files
File Type: sma Get Plugin or Get Source (zp50_core.sma - 920 views - 10.6 KB)
__________________
MeRcyLeZZ is offline
plazma
Senior Member
Join Date: Oct 2013
Old 06-30-2014 , 10:04   Re: plugin "zp50_item_infection_bomb.amxx"
Reply With Quote #5

Quote:
Originally Posted by MeRcyLeZZ View Post
The bug is actually in zp50_core performing unncesseray checks.

Fix here.
Thanks and Welcome back MercylezZZ
__________________
Free Palestine ♥
plazma is offline
Catastrophe
Veteran Member
Join Date: Jul 2012
Location: somewhere between narnia
Old 06-30-2014 , 11:35   Re: plugin "zp50_item_infection_bomb.amxx"
Reply With Quote #6

Quote:
Originally Posted by MeRcyLeZZ View Post
The bug is actually in zp50_core performing unncesseray checks.

Fix here.
OMG.... am i dreaming ? Someone wake me if am...... where have you been all this time ? :O
__________________
You will find everything u need :-

Last edited by Catastrophe; 06-30-2014 at 11:35.
Catastrophe is offline
wicho
Veteran Member
Join Date: Feb 2012
Location: GuateAmala
Old 06-30-2014 , 12:39   Re: [SOLVED] "zp50_item_infection_bomb.amxx" - [ZP] Invalid Player
Reply With Quote #7

Wow MeRcyLeZZ appeared, welcome back dude...

P.S: Is possible if u can make this:

PHP Code:
/* Winner teams for zp_round_ended() */
enum
{
    
WIN_NO_ONE 0,
    
WIN_ZOMBIES,
    
WIN_HUMANS

PHP Code:
public zp_round_ended(winteam)
{
    if(
winteam == WIN_NO_ONE && zp_is_survivor_round())
    {
       
//blabla
    
}

but in 5.0 version? so the people can use this on condicional if..

i mean make a new forward something like this:

PHP Code:
zp_fw_gamemodes_end(gamemodewinteam)
{
    if(
winteam == WIN_NO_ONE && gamemode == zp_gamemodes_get_id("Survivor Mode"))
    {
       
//blabla
    
}


Last edited by wicho; 06-30-2014 at 13:48.
wicho is offline
Just4Games
Senior Member
Join Date: Jan 2013
Location: Romania
Old 06-30-2014 , 12:43   Re: plugin "zp50_item_infection_bomb.amxx"
Reply With Quote #8

Quote:
Originally Posted by Catastrophe View Post
OMG.... am i dreaming ? Someone wake me if am...... where have you been all this time ? :O
I am sure you aren't XD

Last edited by Just4Games; 06-30-2014 at 12:43.
Just4Games 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:32.


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