RSSy MYGO.pl Opublikowano Luty 27, 2018 o 22:53 RSSy Udostępnij Opublikowano Luty 27, 2018 o 22:53 Late Downloads Manager Download files to players while in-game. This is mostly a proof of concept release to see how well it works and if there's large interest in such a thing. Late downloads download in the background while players are in-game, at about 128Kbps. This means a 1MB file will take about 1 minute to download. For comparison, sprays and jingles are each limited to 512KB, for a total of 1MB. Features: Associate files with servers, maps, and players to be downloaded to players while in-game. Remembers which players have which files to avoid resending. CVARS: sm_latedlman_servername "default" The name to use for this server. Files owned by the named server will be late downloaded to clients. Requirements:Late Downloads extension MySQL Database Optional dependencies: PHP for using LateDownloadsManagerApi.php Plugin design note: This plugin will immediately unload itself if it encounters any detected errors, typically database errors. Planned features: Threaded queries Blacklists Clear download cache for specified player Arbitrary comma-delimited modes cvar? Integration for other plugins to determine if a player has a file Installation: Install the Late Downloads extension Import latedlman.sql into your database Add an entry for "latedlman" to databases.cfg Load the plugin Add late downloads using LateDownloadManagerApi.php or manually LateDownloadManagerApi.php usage example: PHP Code: $api = new LateDownloadManagerApi('/home/tf2/.steam/steamcmd/game/tf', 'latedlman', '127.0.0.1', 'user', 'password'); $api->SetValidatePath(false); // Do this if this script is not running on the game sever with access to the game directory // Won't be replaced/duplicated if they already exist $api->AddServer('neatplace'); $api->AddPlayer('STEAM_0:1:37936200'); $api->AddMap('cp_process_final'); $api->AddFileOwnedByServer('test/test.txt', 'neatplace'); $api->AddFileOwnedByPlayer('test/hartmann.txt', 'STEAM_0:1:37936200'); $api->AddFileOwnedByMap('test/process.txt', 'cp_process_final'); // The same file can be owned by multiple things $api->AddFileOwnedByPlayer('test/test.txt', 'STEAM_0:1:37936200'); Attached Files latedlman_2018_02_27.zip (16.6 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się