Files

> > CS2D > Lua Scripts > [Yank] TACTIC Files (serversfer.lst forcing)
Files overviewCS2D overviewLua Scripts overview

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

12 comments2 kb, 445 Downloads

old [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 >
edited 9×, last 03.06.17 05:42:31 pm
Approved by Yates

Download Download

2 kb, 445 Downloads

Comments

12 comments
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

Gaios
Reviewer Off Offline

Thanks, that's what I need.
I like it!

old

THEMUD
User Off Offline

Quite useful, it's worth the like.
I like it!

old

Avo
User Off Offline

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

old

_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.

old

TheBosS_
User Off Offline

Useful, will try it out.
I like it!

old

GeoB99
Moderator Off Offline

Sounds interesting and useful. Take my like.
I like it!

old

Nekomata
User Off Offline

Useful & unique, yananaki-kun. o.o
I like it!

old

Cure Pikachu
User Off Offline

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

It's sys/lua/autorun.
I like it!

old

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
I like it!

old

Yates
Reviewer Off Offline

Useful and simple.
I like it!
To the start Previous 1 Next To the start