Sign in to follow this  
Viking

System

Recommended Posts

Hello,

 

i am working on a menubased mapvote with dynamic content.

The final result is a mapvote with just a few assets an iwd that changes at the end of every map.

Clients will redownload the iwd on every new map - what should not be a problem because the iwd is very small.

As you can imagine the voteable maps will constantly change and the modder is not forced to add tons of map preview assets to his mod.

 

However, to tell the server to rebuild the iwd i created a little plugin that just makes use of system().

Now I would like to know if there is any security risk using this plugin or sharing it.

 

The whole thing is nearly done and ready for the first test on a live server.  :-)

 

Code example from gsc:

system("mkdir -p " + serverAndModPath + newFolderName);

 

Edited by Viking

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this