Official Soldat Forums

Server Talk => Scripting Discussions and Help => Topic started by: chrisgbk on October 22, 2007, 02:56:08 am

Title: How to install scripts
Post by: chrisgbk on October 22, 2007, 02:56:08 am
To install older scripts with the latest version of the dedicated server, all you need to do is create a subdirectory of the scripts folder, and move all the PAS files and the includes.txt from the script you want to install into that directory.

Recently released scripts are supposed to be released in ZIP format, with the subdirectory already set up so you can easily drag and drop from the ZIP file into your scripts folder without having to do the above.

Title: Re: How to install scripts
Post by: InuYasha on October 22, 2007, 02:57:42 am
Thx that really helped.
Title: Re: How to install scripts
Post by: chrisgrieve on October 22, 2007, 02:59:53 am
Thanks
Title: Re: How to install scripts
Post by: 008Monkey on January 06, 2008, 03:47:32 am
so i make a nother folder (where though) and put 'scripts' in there?
Title: Re: How to install scripts
Post by: chrisgbk on January 06, 2008, 03:49:25 am
so i make a nother folder (where though) and put 'scripts' in there?

No; the server already has a "scripts" folder; you need to make a folder inside of that folder.
Title: Re: How to install scripts
Post by: 008Monkey on January 06, 2008, 03:59:41 am
so i make a nother folder (where though) and put 'scripts' in there?

No; the server already has a "scripts" folder; you need to make a folder inside of that folder.
ah ok ty
Title: Re: How to install scripts
Post by: rhide on January 08, 2008, 02:34:06 am
Something I didnt think was obvious was that the file includes.txt should contain the names of all scripts you want to run with the server, that is, simply the names of all scripts on separate lines..
Title: Re: How to install scripts
Post by: chutem on January 26, 2008, 08:06:48 pm
something I didn't think was obvious, is that it isn't the dedicated server that comes with soldat
Title: Re: How to install scripts
Post by: Eagle on February 21, 2008, 12:50:00 pm
something I didn't think was obvious, is that it isn't the dedicated server that comes with soldat

I do realize that, but is it possible to run a script on regular Soldat?  I'm pretty much a n00b at coding or any of that, and it looks fairly difficult to me to set up a dedicated server.  I basically just want to be able to run some of the scripts available for download in offline games or maybe online games with my friends.
Title: Re: How to install scripts
Post by: rhide on February 22, 2008, 01:03:43 pm
Yes, no problem at all, there is actually a post about exactly that from some time ago.... ah! there:
http://forums.soldat.pl/index.php?topic=23763.msg277664
Title: Re: How to install scripts
Post by: Eagle on February 24, 2008, 12:23:35 pm
Thanks, I'll give that a shot.  I guess I'll still have to tough the server setup, or I might be able to get a friend to help.
Title: Re: How to install scripts
Post by: Gnoblar on May 08, 2008, 04:54:48 am
Where's the Script folder I need to put the script folder in?
Title: Re: How to install scripts
Post by: JFK on May 08, 2008, 05:14:18 am
script folder for script folder.. lol
that's too easy, you are probably searching for it in your soldat folder, you will need a dedicated soldat-server to run scripts. then:

./soldatserver/scripts

make sure the scritp itstelf (.pas) and the Includes.txt are in a subfolder in this folder
Title: Re: How to install scripts
Post by: Gnoblar on May 14, 2008, 05:44:44 am
Got it.
Title: Re: How to install scripts
Post by: ZomgProniss on June 08, 2008, 10:46:11 pm
how do i make it into a .pas file ciz i just coppey the scroip and past it in a txt document...is that wat im supposed to do
Title: Re: How to install scripts
Post by: Boblekonvolutt on June 08, 2008, 11:56:38 pm
Rename it...
Title: Re: How to install scripts
Post by: ZomgProniss on June 09, 2008, 12:50:30 am
i dotn think that works? does it?
Title: Re: How to install scripts
Post by: Boblekonvolutt on June 09, 2008, 12:52:14 am
It works.
Title: Re: How to install scripts
Post by: ZomgProniss on June 09, 2008, 01:03:24 am
so i rename it <scrip name>.pas?
Title: Re: How to install scripts
Post by: BombSki on June 09, 2008, 06:31:04 am
yes
Title: Re: How to install scripts
Post by: spkka on June 09, 2008, 09:34:03 am
and don´t make the script name too long otherwise it won´t work.. Forgot how many max characters it can have
Title: Re: How to install scripts
Post by: DorkeyDear on June 14, 2008, 01:13:40 pm
I believe you need to have (using windows) to show the file extension to change the extension to .pas
any folder > Tools > Folder Options > View > somewhere in there...
Title: Re: How to install scripts
Post by: Bokirche on July 01, 2008, 10:03:59 am
i play on v1.3.1 and i cant find the folder.
pls help
Title: Re: How to install scripts
Post by: Boblekonvolutt on July 01, 2008, 10:55:40 am
Don't use scripts for 1.3.1. Really.



(You'll need the soldat server 2.5.4 - not the dedicated server that came with Soldat.)
Title: Re: How to install scripts
Post by: Bokirche on July 01, 2008, 11:10:14 am
ty ill try it.
Title: Re: How to install scripts
Post by: Costa on July 01, 2008, 11:20:04 am
I'll try it to.. ty dude.
Title: Re: How to install scripts
Post by: Bokirche on July 01, 2008, 01:57:22 pm
it doesnt load the scripts. what now?
Title: Re: How to install scripts
Post by: Boblekonvolutt on July 01, 2008, 11:29:52 pm
There's not much help to find for old servers, and I don't remember how it worked. Also, the scripting before 1.4.0 was rubbish so you should just move up to 1.4.2.
Title: Re: How to install scripts
Post by: dominikkk26 on April 04, 2010, 10:39:28 am
Dla polaków szczegółowa instrukcja tutaj (http://www.soldat.e-fora.pl/viewtopic.php?f=75&t=88)

For detailed instruction tutaj (http://www.soldat.e-fora.pl/viewtopic.php?f=75&t=88)

Title: Re: How to install scripts
Post by: y0uRfath0r~ on July 09, 2010, 06:11:09 am
Dla polaków szczegółowa instrukcja tutaj (http://www.soldat.e-fora.pl/viewtopic.php?f=75&t=88)

For detailed instruction tutaj (http://www.soldat.e-fora.pl/viewtopic.php?f=75&t=88)

doesn't help much..

..rlly.
Title: Re: How to install scripts
Post by: Phocus on March 13, 2011, 07:00:35 pm
Scripts folder? Where -.- sorry im retarded
Title: Re: How to install scripts
Post by: dnmr on March 14, 2011, 02:13:10 pm
Scripts folder? Where -.- sorry im retarded
in the dedicated server folder. You'll need to download the dedicated server from here: http://soldat.thd.vg/en/downloads/

(2.6.5 if you want to use it with the current stable soldat version, which is 1.5.0)
Title: Re: How to install scripts
Post by: MrHamsTR on June 03, 2013, 08:29:08 am
Can you add image? The person (who can't speak English) can't understand.
Title: Re: How to install scripts
Post by: DarkCrusade on June 03, 2013, 09:33:10 am
Even if your English is terrible, you will be able to just look at the content of the folder and search for the term 'SCRIPTS'. Even if it was written in Chinese, you would still be able to find it once someone showed you how 'SCRIPTS' is written in Chinese. How hard can it be to open your eyes and look for the term 'SCRIPTS'? I repeat, the term is 'SCRIPTS' and it is inside of the 'SOLDATSERVER' which you downloaded. Put all 'SCRIPT' files that you want your server to run into this 'SCRIPTS' folder. Please note that the folder's name (-> 'SCRIPTS', that is) in the 'SOLDATSERVER' folder is written in lowercase. All uppercase letters you read were meant to help you find the 'SCRIPTS' folder without making us make a red circle on a screenshot of the 'SOLDATSERVER' folder to not make you feel like an idiot once you found the 'SCRIPTS' folder.

Long story short:

1) 'SOLDATSERVER'
2) 'SCRIPTS'
3) '?? ?? ??'
4) 'PROFIT!'