1. Hey all wasn't sure where to place this so thought id put it here as its to do with Oxide 2 feel free to move it however - for windows server hosts I have prepared a batch script and as you can edit them anyway and is likely to change I thought i would provide you guys with the sauce (source >.>) this basically takes the server directory (where RustDedicated.exe is, compiled oxide file directory and compiled oxide patcher directory and as per the guidelines copies over the dll's to their correct directories, copies the Oxide core to the patcher, generates the project file for the patcher and opens up the patcher (didnt know if the patcher accepted any command line options to open up the file automatically)

    Here is the source code: http://pastebin.com/MKEdFPdS
     
  2. Wulf

    Wulf Community Admin

    I'd recommend not hard-coding the patcher config file, as users are going to use this and end up with an outdated DLL eventually. ;)
     
  3. i did try doing a find replace in the bat to the original config file....but didnt feel too confident with it and didnt want to ruin stuff :) Works though, just patched my experimental vers :D
    [DOUBLEPOST=1415381965,1415142962][/DOUBLEPOST]Ok script has been updated to request the opj location and will then search the file for the default target Directory and correctly replace it: http://pastebin.com/M4pMZ83m - link change missed something out
     
    Last edited by a moderator: Nov 7, 2014