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

ZP 5.0 Betas/Updates


Post New Thread Closed Thread   
 
Thread Tools Display Modes
VenGi
Junior Member
Join Date: Apr 2011
Old 09-25-2011 , 08:52   Re: ZP 5.0 Beta Versions
#521

I wonder why this tiny plugin doesn't work on 5.0.5. Bug: after mapchange all players respawn as zombie. With 4.3 all worked fine =\

Code:
#include <amxmodx>  
#include <zombieplague>  

#define TASK_TIME 5.0  

new g_TeamJoin[33] 

public plugin_init()  
{  
    register_plugin("[ZP]Auto-Respawn","1.1","LuqqasBugsy&Hattrick")  
    register_event("TeamInfo","fwPlayerJoinedTeam","a","2=TERRORIST","2=CT") 
}  

public client_connect(id)  
{  
    g_TeamJoin[id] = 0  
}  

public fwPlayerJoinedTeam()  
{  
    static id  
    id=read_data(1)  
      
    if(!g_TeamJoin[id])  
        g_TeamJoin[id] = 1  
    else  
    {  
        g_TeamJoin[id] = 0  
        set_task(TASK_TIME,"respawn_player",id)  
    }  
}  

public respawn_player(id)  
{
	if (is_user_connected(id))
	{
		if(zp_is_nemesis_round())  
		zp_respawn_user(id,ZP_TEAM_HUMAN)
		else
		zp_respawn_user(id,ZP_TEAM_ZOMBIE)
	}
}
VenGi is offline
.:cs.stambeto:.
Senior Member
Join Date: Feb 2010
Location: Bulgaria
Old 09-25-2011 , 08:54   Re: ZP 5.0 Beta Versions
#522

And before I wrote about this problem and now I write.

I have a problem with zombie hunter zombie plague 5.0. The problem with this is zombie next class I have used it in 4.3 and did not glow as Hunter put it this class of 5.0 and shows me only this class zombies glow. Can you tell me how to fix it will glow in 5.0.
.:cs.stambeto:. is offline
MeRcyLeZZ
Veteran Member
Join Date: Dec 2007
Old 09-25-2011 , 15:17   Re: ZP 5.0 Beta Versions
#523

Quote:
Originally Posted by VenGi View Post
I wonder why this tiny plugin doesn't work on 5.0.5. Bug: after mapchange all players respawn as zombie.
Try checking if a game mode started before respawning as zombie:
Code:
public respawn_player(id)  {     if (is_user_connected(id))     {
        if (!zp_has_round_started() || zp_is_nemesis_round()) 
            zp_respawn_user(id,ZP_TEAM_HUMAN)         else             zp_respawn_user(id,ZP_TEAM_ZOMBIE)     } }
Quote:
Originally Posted by MmikiM View Post
I have bug with MultiLang failuring and zp_lightning(work, but how?!)...
Not sure, these seem to work ok for me. Are you getting any error logs? Also for ML try re-enconding zombie_plage50.txt as UTF-8 without BOM if you haven't already.
__________________

Last edited by MeRcyLeZZ; 09-25-2011 at 15:26.
MeRcyLeZZ is offline
MmikiM
Senior Member
Join Date: Nov 2006
Location: Poland
Old 09-25-2011 , 15:31   Re: ZP 5.0 Beta Versions
#524

I don't know what help but maybe that i deleted whole debug lines or just only enabled custom skybox?(Who knowes?)

Multi lang copied form zp50.txt to zp.txt and then it started to work.
__________________


Projects:
Zombie Elite - Technical: 100% Looking for models and sounds...
CS:Source Zombie -
Work in progress...
MmikiM is offline
VenGi
Junior Member
Join Date: Apr 2011
Old 09-25-2011 , 19:36   Re: ZP 5.0 Beta Versions
#525

Quote:
Originally Posted by MeRcyLeZZ View Post
Try checking if a game mode started before respawning as zombie:
Thanks a lot, master, but it doesn't work. All players become a zombie after round start. I will have looking for a solution in a couple days and post here if I find something.

============================================= ==========================

I want to ask one more thing. Does anybody have same problem?
Code:
public zp_user_infected_post(id, infector)
{
	if ((zp_get_user_zombie_class(infector) == g_zclass_smoker) && (get_pcvar_num(cvar_extrahook) > 0) && is_user_connected(infector))
	{
		g_hooksLeft[infector] = g_hooksLeft[infector] + get_pcvar_num(cvar_extrahook)
		set_hudmessage(255, 0, 0, -1.0, 0.45, 0, 0.0, 3.0, 0.01, 0.01, -1)
		show_hudmessage(infector, "+%d smokes!", get_pcvar_num(cvar_extrahook))
	}
...
}
Plugin "zp_zclass_smoker.amxx"
Error:
Code:
L 09/26/2011 - 03:39:50: [ZP] Invalid Player (0)
L 09/26/2011 - 03:39:50: [AMXX] Displaying debug trace (plugin "zp_zclass_smoker.amxx")
L 09/26/2011 - 03:39:50: [AMXX] Run time error 10: native error (native "zp_get_user_zombie_class")
L 09/26/2011 - 03:39:50: [AMXX]    [0] zp_zclass_smoker.sma::zp_user_infected_post (line 140)

Last edited by VenGi; 09-26-2011 at 02:35.
VenGi is offline
.:cs.stambeto:.
Senior Member
Join Date: Feb 2010
Location: Bulgaria
Old 09-26-2011 , 06:58   Re: ZP 5.0 Beta Versions
#526

I found a plugins that gives errors.


L 09/26/2011 - 13:46:18: [ZP] Invalid zombie class id (-1)
L 09/26/2011 - 13:46:18: [AMXX] Run time error 10 (plugin "zp50_zp43_compat.amxx") (native "zp_class_zombie_set_next") - debug not enabled!
L 09/26/2011 - 13:46:18: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).

L 09/24/2011 - 11:05:02: [ZP] Zombie class already registered (Fat Zombie)
L 09/24/2011 - 11:05:02: [AMXX] Displaying debug trace (plugin "zp50_class_zombie_fat.amxx")
L 09/24/2011 - 11:05:02: [AMXX] Run time error 10: native error (native "zp_class_zombie_register")
L 09/24/2011 - 11:05:02: [AMXX] [0] zp50_class_zombie_fat.sma::plugin_precache (line 33)
Attached Files
File Type: sma Get Plugin or Get Source (zp50_zp43_compat.sma - 577 views - 24.9 KB)
File Type: sma Get Plugin or Get Source (zp50_class_zombie_fat.sma - 556 views - 1.5 KB)

Last edited by .:cs.stambeto:.; 09-26-2011 at 07:00.
.:cs.stambeto:. is offline
edgaras85
Senior Member
Join Date: Mar 2010
Location: Lithuania
Old 09-26-2011 , 07:12   Re: ZP 5.0 Beta Versions
#527

@Vengi
PHP Code:
public zp_user_infected_post(idinfector
{
      if (
is_user_connected(infector)&&(zp_get_user_zombie_class(infector) == g_zclass_smoker) && (get_pcvar_num(cvar_extrahook) > 0)) 
      {
            
g_hooksLeft[infector] = g_hooksLeft[infector] + get_pcvar_num(cvar_extrahook)
            
set_hudmessage(25500, -1.00.4500.03.00.010.01, -1)
            
show_hudmessage(infector"+%d smokes!"get_pcvar_num(cvar_extrahook))     
      } ... 

__________________
edgaras85 is offline
Old 09-26-2011, 07:24
28_player
This message has been deleted by 28_player. Reason: nevermind
Old 09-26-2011, 09:01
28_player
This message has been deleted by 28_player. Reason: problem solved
MmikiM
Senior Member
Join Date: Nov 2006
Location: Poland
Old 09-26-2011 , 09:16   Re: ZP 5.0 Beta Versions
#528

Quote:
Originally Posted by VenGi View Post
Plugin "zp_zclass_smoker.amxx"
Error:
Code:
L 09/26/2011 - 03:39:50: [ZP] Invalid Player (0)
L 09/26/2011 - 03:39:50: [AMXX] Displaying debug trace (plugin "zp_zclass_smoker.amxx")
L 09/26/2011 - 03:39:50: [AMXX] Run time error 10: native error (native "zp_get_user_zombie_class")
L 09/26/2011 - 03:39:50: [AMXX]    [0] zp_zclass_smoker.sma::zp_user_infected_post (line 140)
Try this one http://forums.alliedmods.net/attachment.php?attachmentid=93091&d=131704485 9 (english one)
__________________


Projects:
Zombie Elite - Technical: 100% Looking for models and sounds...
CS:Source Zombie -
Work in progress...

Last edited by MmikiM; 09-28-2011 at 14:28. Reason: fixed
MmikiM is offline
plowed
Senior Member
Join Date: Oct 2010
Location: germany
Old 09-26-2011 , 14:06   Re: ZP 5.0 Beta Versions
#529

Are there more than just 1 human class in the stable version?

Cant test it atm..
__________________
Zombie Mod + gameMe stats :
plowed is offline
MmikiM
Senior Member
Join Date: Nov 2006
Location: Poland
Old 09-26-2011 , 14:13   Re: ZP 5.0 Beta Versions
#530

You can make it by your own. If you are not at all a scripter you can make easily human classes with more HP but less speed and high gravity. It is really simple.
__________________


Projects:
Zombie Elite - Technical: 100% Looking for models and sounds...
CS:Source Zombie -
Work in progress...
MmikiM is offline
Closed Thread



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:57.


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