Dateien

> > CS2D > Lua Scripts > [Yank] TACTIC Files (serversfer.lst forcing)
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch [Yank] TACTIC Files (serversfer.lst forcing) >

12 Kommentare2 kb, 447 Downloads

alt [Yank] TACTIC Files (serversfer.lst forcing)

_Yank
User Off Offline

Ay cute beings,

tonight I bring you TACTIC Files (These Are CriTICal Files), a simple and useful script that helps you assuring that players get the critical server files from the servertransfer list (chosen by you).

Most of the out there scripts/maps require additional assets (like images, sounds, etc) and if these files are not present, the gameplay gets quite messed up for the player and glitches arrive. A lot of players set their game to not download any additional files from servers or either to only donwload files not bigger than X (Net tab at Options menu). With this script you can choose the most important files on the servertransfer.lst file and force the players to download them.
It might not be as awesome as it sounds but who cares, it works well

> Utilization
You just have to write a line in the servertransfer.lst file containing "// TACTICF" and the files bellow that line will be marked as critical. (Logically, when you're done, write a line with "// TACTICFEND"). And that's it! When players with the limited download setting join and miss these files, they're kicked out of the server (by default).

> Notes
You can change the behavior of the script when it detects that a player haven't downloaded a critical file by editing the 19th line of the script (have a look at it).

You can also turn on the advanced mode to make the script check wether the players version of the files matches the server ones.

You can also tag specific files by adding " // TACTICF" to the end of their line.

> Installation
Just put the script in the sys/lua/autorun directory and you're good to go.

Quick demonstration >
Changelog >
License >
9× editiert, zuletzt 03.06.17 17:42:31
Zugelassen von Yates

Download Download

2 kb, 447 Downloads

Kommentare

12 Kommentare
Zum Anfang Vorherige 1 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

Gaios
Reviewer Off Offline

Thanks, that's what I need.
Ich mag es!

alt

THEMUD
User Off Offline

Quite useful, it's worth the like.
Ich mag es!

alt

Avo
User Off Offline

Hey, I like it! Pretty much what CS2D needs.
Ich mag es!

alt

_Yank
User Off Offline

Fixed a little bug on the checking mechanics. The files was being checked at a very slow rate (player ping plus 5 miliseconds). For players with a ping of 100, for example, it would take like 3~4 seconds to check 30 files and detect it. That would be bad for massive mods like tibia and such.

alt

TheBosS_
User Off Offline

Useful, will try it out.
Ich mag es!

alt

GeoB99
Moderator Off Offline

Sounds interesting and useful. Take my like.
Ich mag es!

alt

Nekomata
User Off Offline

Useful & unique, yananaki-kun. o.o
Ich mag es!

alt

Cure Pikachu
User Off Offline

True that. Surprising no one came up with this.
Description, user _Yank hat geschrieben
> Installation
Just put the script in the sys/autorun directory.

It's sys/lua/autorun.
Ich mag es!

alt

VADemon
User Off Offline

I'd rather would want to put // TACTICF after each and every important file and have enclosures like // TACTICFILELIST and // TACTICFILELISTEND

But the way you implemented it is fairly easy and someone had to make a script like this
Ich mag es!

alt

Yates
Reviewer Off Offline

Useful and simple.
Ich mag es!
Zum Anfang Vorherige 1 Nächste Zum Anfang