View Single Post
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 09-05-2021 , 22:26   Re: Reduce 'SZ_GetSpace overflow on (Nick)'
Reply With Quote #2

Usually, my players got overflowed after the New Round started (right at the Freeze Time after the previous round ended)
I also used the "Damage Display" whenever player deal damage but they was never got overflowed.
I don't think Hud is the main offender here.

PHP Code:
public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)

    
RegisterHam(Ham_TakeDamage"player""fw_TakeDamage_Post"1);
    
RegisterHam(Ham_TakeDamage"func_breakable""fw_TakeDamage_Post"1);
}

public 
fw_TakeDamage_Post(EntinflictorattackerFloat:damagedamagebits)
{
    if(!
is_user_alive(attacker))
        return 

    
set_hudmessage(255000.450.5020.12.00.10.11//Sorry, borrow this
    
show_hudmessage(attacker"%i"floatround(damage));

I usually force Damage Display to 1 channel (it is 1 in my example) so it will always replace to the same channel, preventing other hud from flashing because it got overrided by damage hud.

Edit: oh wait, that was "Reliable channel overflow" which is another problem. But still, I used damage display but there ain't any overflow happened.
__________________
My plugin:

Last edited by Celena Luna; 09-05-2021 at 22:42.
Celena Luna is offline