RSSy MYGO.pl Opublikowano Luty 19, 2024 o 03:07 RSSy Udostępnij Opublikowano Luty 19, 2024 o 03:07 Description: This plugin is a library that allows you to create special infected bot by SIPool. The plugin's aim is that when your server needs to create special infected bots very frequency, such as create 28 SI bots in 0 seconds, CreateFakeClient() will consume lots of cpu and network resources. But use SIPool can avoid lots of CreateFakeClient() operation because the plugin use pool to manage the SI bots that already created in the past and avoid them being kicked by the director, when you try to request the bot, SIPool will pick an available bot from pool unless the pool is empty. And after my test(28 SI with 0 seconds), the result showed that:NO SIPool, the server's tickrate decrease from 100 to 80 LESS when CreateFakeClient() from a for() loop;WITH SIPool, the server's tickrate decrease from 100 to 90 MORE when RequestSIBot() from a for() loop; And the plugin still needs to test, only myself can not make the plugin be pefect, so any advice and criticize reports are wanted.Usage: See si_pool.inc and sptest.sp.Source: You can ALWAYS find latest source at my GitHub:Paimon-Kawaii - L4D2-Plugins/InProgress/SIBotPool :wink:Download: Attached Files si_pool.zip (15.6 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi