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

cvar zr_respawn_team_zombie_world not work


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hplexusph
Junior Member
Join Date: May 2013
Old 07-13-2013 , 23:23   cvar zr_respawn_team_zombie_world not work
Reply With Quote #1

today i found that human fall down to death not becoming zomb on respawn.
and forward
PHP Code:
Action:ZR_OnClientRespawn(&client, &ZR_RespawnCondition:condition
never pass condition ZR_Respawn_Zombie, but always ZR_Respawn_ZombieIfSuicide when respawn to zombie.

and in latest r741 zr's respawn.inc
PHP Code:
    //new bool:zombieIfSuicide = GetConVarBool(g_hCvarsList[CVAR_RESPAWN_TEAM_ZOMBIE_WORLD]); 
was commented.
and
PHP Code:
RespawnSpawnClient(clientrespawn_zombietrue
direct pass a "true" on third arg "bool:zombieIfSuicide".

Is that "zr_respawn_team_zombie_world" still a incomplete feature ?
wish it could be completed in further for this really old cvar.
hplexusph is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 07-13-2013 , 23:28   Re: cvar zr_respawn_team_zombie_world not work
Reply With Quote #2

A temporary work around until this is corrected (if it needs to be, not familiar with the mod these days), is to use ZeeSuicide. A feature of it is to turn any human that dies (other than to a zombie) into a zombie.
__________________
thetwistedpanda is offline
hplexusph
Junior Member
Join Date: May 2013
Old 07-14-2013 , 00:28   Re: cvar zr_respawn_team_zombie_world not work
Reply With Quote #3

Quote:
Originally Posted by thetwistedpanda View Post
A temporary work around until this is corrected (if it needs to be, not familiar with the mod these days), is to use ZeeSuicide. A feature of it is to turn any human that dies (other than to a zombie) into a zombie.
Thanks replaying.
still hoping someone sometimes could fix this cvar for this High-Traffic plugin.
hplexusph is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 07-14-2013 , 06:40   Re: cvar zr_respawn_team_zombie_world not work
Reply With Quote #4

Nice catch!

That bug is from late 2010. I'm surprised no one have mentioned it before. Hopefully it should work now. I haven't tested this patch myself, just compiled it.

http://code.google.com/p/zombiereloa...c3&repo=zr-3-1

http://www.helgeby.net/zrdev/release...-r731-r742.zip
__________________
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
hplexusph
Junior Member
Join Date: May 2013
Old 07-14-2013 , 09:59   Re: cvar zr_respawn_team_zombie_world not work
Reply With Quote #5

Quote:
Originally Posted by rhelgeby View Post
Nice catch!

That bug is from late 2010. I'm surprised no one have mentioned it before. Hopefully it should work now. I haven't tested this patch myself, just compiled it.

http://code.google.com/p/zombiereloa...c3&repo=zr-3-1

http://www.helgeby.net/zrdev/release...-r731-r742.zip
Thank you for quick fix.
but it still buggy.
PHP Code:
// Respawn player as a zombie if player was killed by the world. [Override: zr_respawn_team_zombie]
// Default: "1"
zr_respawn_team_zombie_world "1" 
imo that means both human and zombie killed by world should respawn as zombie.
but
PHP Code:
RespawnOnClientDeath(clientattacker, const String:weapon[])
{
    
// If client is a zombie, check if they were killed by world.
    
if (InfectIsClientInfected(client))
    {
        
// Set bKilledByWorld to true if attacker is not a valid client.
        
bKilledByWorld[client] = !ZRIsClientValid(attacker);
    } 
means only zombie killed by world could be respawn as zombie.

sorry bother you again and can you fix one more time, thanks !!

Last edited by hplexusph; 07-14-2013 at 10:08. Reason: misspell
hplexusph is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 07-14-2013 , 16:16   Re: cvar zr_respawn_team_zombie_world not work
Reply With Quote #6

That's intended, the description was updated to match the code better (copy it from the default config in the patch). This is a special case to prevent zombies abusing suicide to become humans again. Humans who suicide will respawn as humans because they were never infected.

Instead you can enable zr_respawn_team_zombie and all players will always respawn on the zombie team (after mother zombie infection).
__________________
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
Jargon
SourceMod Donor
Join Date: Jun 2012
Location: Sydney, Australia
Old 07-14-2013 , 17:10   Re: cvar zr_respawn_team_zombie_world not work
Reply With Quote #7

Quote:
Originally Posted by rhelgeby View Post
Nice catch!

That bug is from late 2010. I'm surprised no one have mentioned it before.
Quote:
Originally Posted by rhelgeby View Post
That's intended, the description was updated to match the code better (copy it from the default config in the patch). This is a special case to prevent zombies abusing suicide to become humans again. Humans who suicide will respawn as humans because they were never infected.

Instead you can enable zr_respawn_team_zombie and all players will always respawn on the zombie team (after mother zombie infection).
That's how every zombie server I've ever run or played on has done it, so I'm not surprised no one hasn't seen it
Jargon is offline
hplexusph
Junior Member
Join Date: May 2013
Old 07-14-2013 , 20:44   回复: Re: cvar zr_respawn_team_zombie_world not work
Reply With Quote #8

got it, thanks.
hplexusph is offline
hplexusph
Junior Member
Join Date: May 2013
Old 07-14-2013 , 21:01   回复: Re: cvar zr_respawn_team_zombie_world not work
Reply With Quote #9

Quote:
Originally Posted by Jargon View Post
That's how every zombie server I've ever run or played on has done it, so I'm not surprised no one hasn't seen it
Which means thats useless-some cvar…only zombie respawn to human, "zombie-deathmatch" server needs it.
hplexusph 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 00:14.


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