English [EngiN33R] Resource Loader icon

7 comments
16.05.16 07:12:41 pm
like 6 like it!
2 kb, 62 Downloads
EngiN33R
Moderator
Offline Off
This is a utility library primarily aimed at mod developers that allows mods to more easily register files they need to transfer to clients. This library offers functions for adding, removing and verifying files staged for transfer. It works by editing servertransfer.lst at runtime. The file is reverted to its original state (before any files were added) on server shutdown.
Documentation >

flame Attention! This mod is using the new mod distribution format!
• Unpack the archive in the CS2D root directory, merging folders if prompted.
• On Windows, you may use the launcher (Launcher.exe): open the Mods tab, tick the box next to "Pure Mode" and click "Run CS2D".
• You can also run the CS2D executable or the dedicated server with the flag -mods "puremode" (-mods "xxx,puremode" if you already have other mods enabled).

If you would like to use the legacy format instead, simply copy mods/resloader/lua/main.lua to sys/lua, rename it to resloader.lua and add
Code:
1
dofile("sys/lua/resloader.lua")

to server.lua. Make sure server.lua is listed as the value of mp_luaserver.
image
ok This file has been reviewed and approved by Yates (16.05.16 07:13:41 pm)

Comments

7 comments
Goto Page
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in
22.05.16 10:39:33 pm
like I like it!
Up
apex2d
User
Offline Off
gj hope ill see my name on your vids :lol:
17.05.16 10:34:01 pm
like I like it!
Up
Hajt
User
Offline Off
Not tested yet but seems that's cool script, gj.
17.05.16 06:40:47 pm
Up
EngiN33R
Moderator
Offline Off
@user Ortimh: Yes, that is right

It simplifies the process of registering mod files for transfer to clients. Instead of having to manually add entries to servertransfer.lst, server owners can simply install mods that use this library and not worry about the file at all, since it will all be automatically done for them.
17.05.16 07:55:42 am
like I like it!
Up
Ortimh
User
Offline Off
You copied the installation process from your Pure Mode, didn't you?
Well what does it do exactly? Transferring all kinds of files from servers to clients?

EDIT: Oops, forgot the like.
edited 1×, last 17.05.16 12:37:20 pm
17.05.16 07:26:03 am
like I like it!
Up
Gaios
Security Supporter
Offline Off
It's really usefull.
17.05.16 07:18:36 am
like I like it!
Up
Time
User
Offline Off
Good job.
This is something that should have made it into the client a long time ago.
16.05.16 07:32:18 pm
like I like it!
Up
Goo
User
Offline Off
Useful!
To the start Previous 1 Next To the start