AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   ZPA Bugs (https://forums.alliedmods.net/showthread.php?t=273146)

Pinnker123 10-13-2015 12:43

ZPA Bugs
 
How many bugs have in ZPA ?

amir saiaoud 10-13-2015 13:32

Re: ZPA Bugs
 
no one :D

Chihuahuax 10-14-2015 02:07

Re: ZPA Bugs
 
So far I have only seen 2
- https://forums.alliedmods.net/showthread.php?t=250508
- https://forums.alliedmods.net/showthread.php?t=228591

Both can be fixed by using yokomo's code

Depresie 10-15-2015 09:59

Re: ZPA Bugs
 
@chihuahuax, also these

- Players are not getting unfrozen when they die
- The method to set rendering is very bad, resulting into massive lag especialy at armageddon mode
- The code is not optimized

I'm not recommending using ZPA, use either 4.3 or 5.0

Depresie 10-15-2015 13:30

Re: ZPA Bugs
 
there is zp 4.3 fix 5a with sniper and assassin included...

also, there is zp 5.0.8... with assassin and sniper included, all you need to do is to fix 2 bugs for it and it works better than 4.3

Chihuahuax 10-15-2015 13:45

Re: ZPA Bugs
 
Sad truth found in ZPA:
PHP Code:

// Restore rendering
    
if (g_handle_models_on_separate_ent)
    {
        
// Nemesis, Assassin, Survivor or Sniper glow / remove glow on player model entity
        
if (g_nemesis[id] && get_pcvar_num(cvar_nemglow))
            
fm_set_rendering(g_ent_playermodel[id], kRenderFxGlowShell25000kRenderNormal25)
        else if (
g_nemesis[id] && !(get_pcvar_num(cvar_nemglow)))
            
fm_set_rendering(g_ent_playermodel[id], kRenderFxGlowShell000kRenderNormal25)
            
        else if (
g_assassin[id] && get_pcvar_num(cvar_assassinglow))
            
fm_set_rendering(g_ent_playermodel[id], kRenderFxGlowShell25000kRenderNormal25)
        else if (
g_assassin[id] && !(get_pcvar_num(cvar_assassinglow)))
            
fm_set_rendering(g_ent_playermodel[id], kRenderFxGlowShell000kRenderNormal25)    
        
        else if (
g_survivor[id] && get_pcvar_num(cvar_survglow))
            
fm_set_rendering(g_ent_playermodel[id], kRenderFxGlowShell0250250kRenderNormal25)
        else if (
g_survivor[id] && !(get_pcvar_num(cvar_survglow)))
            
fm_set_rendering(g_ent_playermodel[id], kRenderFxGlowShell000kRenderNormal25)
        
        else if (
g_sniper[id] && get_pcvar_num(cvar_sniperglow))
            
fm_set_rendering(g_ent_playermodel[id], kRenderFxGlowShellget_pcvar_num(cvar_snipercolor[0]), get_pcvar_num(cvar_snipercolor[1]), get_pcvar_num(cvar_snipercolor[2]), kRenderNormal25)
        else if (
g_sniper[id] && !(get_pcvar_num(cvar_sniperglow)))
            
fm_set_rendering(g_ent_playermodel[id], kRenderFxGlowShell000kRenderNormal25)
        
        else
            
fm_set_rendering(g_ent_playermodel[id]) 

Are these one of the factors which cause lags?

Depresie 10-16-2015 02:45

Re: ZPA Bugs
 
yes... and not only... if the author couldn't get at least the rendering right... i don't recommend using it...

Chihuahuax 10-16-2015 08:48

Re: ZPA Bugs
 
Found another one:
Ambience is not played during Assassin vs Sniper / Custom modes

Fix:
Change
PHP Code:

client_cmd0"spk ^"%s^""sound 

to
PHP Code:

client_cmd0"spk ^"%s^""g_sound_ambiencesound ]  ) 


Pinnker123 10-21-2015 12:51

Re: ZPA Bugs
 
Quote:

Originally Posted by Depresie (Post 2353312)
- The method to set rendering is very bad, resulting into massive lag especialy at armageddon mode

how to fix it

Chihuahuax 10-21-2015 13:23

Re: ZPA Bugs
 
Delete these stuff
PHP Code:

else if (g_survivor[id] && !(get_pcvar_num(cvar_survglow)))
            
fm_set_rendering(g_ent_playermodel[id], kRenderFxGlowShell000kRenderNormal25

And now I dont have lag in arma mode


All times are GMT -4. The time now is 17:21.

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