• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[1-12-2008] Player Protection against DDoS / Flood / Nuke attack

I think not... all features need D__UCB_DDOS_PROTECTION__..
you can test it.. only need shutdown your connection and die.. ;p
 
Opppsssssss..
Here it was my fault..
I blocked all ping requests.. ;p
I can't ping nothing ..
Sry..

@up
Try ping google.com ..
CTRL+R.. cmd.. ping google.com
check if it works..
;p
 
i think it's unnecessary because when some1 is in trap and he turn off his internet he will not lose nothing ye?:s
 
yes so u are in war u losing open just turn off ur internet they will kill you but u will not lose nothing omfg:p
 
you all are wrong. You not lose anything just if SERVER connection is off, now players, if player off his internet, he will die as usually, but when servers internet will down, all who died will not lose
 
I think it should check second host if first was off :)

I think you can change it like this if you want that:

PHP:
#ifdef __UCB_DDOS_PROTECTION__
bool isWorldReachable(){
    int32_t ret;
    #if defined __WINDOWS__    
    ret = system("ping -n 1 -w 500 google.com > NUL");
    if(!ret){
    ret = system("ping -n 1 -w 500 secondhost.com > NUL");
    }
    #else
    ret = system("ping -q -c 1 -w 1 google.com > /dev/null");
    if(!ret){
    ret = system("ping -q -c 1 -w 1 secondhost.com > NUL");
    }    
    #endif
    return (ret == 0);
}
#endif
 
i have compiled everything on latest patch tfs 0.2pl23 but seems like it don't working ...
 
I believe that a type of script as it should in this Journal TFS as if someone can put to work in TFS post please
 
Back
Top