Volt Cruelerz
Legions Developer
While working on LTS, we've been attempting to create a viable method of transferring data from a third-party server to the client for mods. The result is the mod you'll find below.
File I/O and Server/Client communication have been two of the biggest hurdles we've attempted to overcome as the documentation on them has in many cases been lackluster. To try to prevent others from having to go through similar difficulties we're releasing this as a standalone demo mod that others may look at and learn from.
It's tasks are: retrieve a file from Dropbox, print it's contents to the console (aside from the first and last two lines which have been deliberately excluded) and then proceeds to print those things to a file. It's not an overly complicated script or even necessarily practical, but we feel that releasing it should aid others should they decide to make a script that relies on either principle.
Now, reading this mod is no substitute for reading the documentation, but instead should be viewed as a supplementary tool and demonstration of the use of these things.
Download
File I/O and Server/Client communication have been two of the biggest hurdles we've attempted to overcome as the documentation on them has in many cases been lackluster. To try to prevent others from having to go through similar difficulties we're releasing this as a standalone demo mod that others may look at and learn from.
It's tasks are: retrieve a file from Dropbox, print it's contents to the console (aside from the first and last two lines which have been deliberately excluded) and then proceeds to print those things to a file. It's not an overly complicated script or even necessarily practical, but we feel that releasing it should aid others should they decide to make a script that relies on either principle.
Now, reading this mod is no substitute for reading the documentation, but instead should be viewed as a supplementary tool and demonstration of the use of these things.
Download