Hello All,
I was looking for help on automating my rust server, so far I have created a windows batch file that goes out and get's the latest release of Rust, then from there goes to a directory where I place the latest release of oxide in and copy's that to the rust server. From there the rust server starts and on the next reboot goes through that cycle again.
Now I would like to have, in the script to go out and find the latest version of rustoxide.zip, then extract the zip and place the contents of the folder into the directory where I place the most current release (manually doing currently).
I see the oxide releases are all on github and I tried to see how I could automate this job. I am currently using a batch file, which I know can be limiting in what I want to do but I do not know too much about python or other coding languages.
I also seen on github that it is possible to use a API tool (REST) to pull down repository too. In my job I use Rest tools a lot like postman or insomniac but theses are for jobs defined by the dev team at work (copy and paste kind of thing).
Any help to point in the right direction would be greatly appreciated. If there is already a solution thread for this I am sorry, I did search before creating this. And if not, I will share with the community once I am done getting the script to where I would like it.
Script to automatically download and install Oxide?
Discussion in 'Rust Discussion' started by Ballsinacan, Apr 8, 2018.
-
U need to download console downloading tool, like wget for example. Look for its commands and do batch based on them, after, u need an archiver which will accept console args, as i remember 7zip can do it. Do a batch for unziping package with oxide, which u have dowloaded by wget and then put all the batches in order to call each other or make one big file.
[DOUBLEPOST=1523194660][/DOUBLEPOST]
Also, i just remembered one thing. If u are familiar to git, u can copy branch with oxide releases to ur pc and update it through git automatically, then u dont need wget -
@pdr Did you even read the thread? He's using a batch file already so that link above will always grab the latest release so you can automate it as well. Use wget or shell which ever your preference.
-
ftp.exe can only use active ftp connections, I've used WinSCP in the past for scripted passive FTP connections. I was actually thinking of doing this myself - just havent got round to it yet lol
-
hello, what about this Universal OxideMod Installer
how is your opinion? is this unsure?