View Single Post
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 04-21-2020 , 07:01   Re: [L4D2] Upgrade Pack Fixes
Reply With Quote #3

I tested and found that if there are more than one upgrade box on the ground, fake survivors(bot) can use the upgrade boxes without limits (more than one time).

so I modify this code
PHP Code:
bool isPlayerReal(int client) {
    return 
isPlayerValid(client/*&& !IsFakeClient(client)*/;

PHP Code:
bool isPlayerAliveSurvivor(int client) {
    return 
isPlayerSurvivor(client/*&& IsPlayerAlive(client)*/;

And is there any chance to remove upgrade box entity when all survivors has used?
because server becomes lag if there are so many upgrade boxes on the ground.
__________________

Last edited by HarryPotter; 04-21-2020 at 07:01.
HarryPotter is offline