Jump to content

Rust - Automatic wipe/update, Oxide, Plugin Installer


Dennis

Recommended Posts

On 9/29/2020 at 11:50 PM, Dennis said:
 

Update/wipe automatically on wipe day:

  1. Create a new scheduled task
  2. Select 'Wipe on Rust Wipe Day'
  3. Configure the task to run once per day
  4. Configure the task under "Script Parameters"

The task needs to run every day. The task is not doing something, unless it's the first Thursday of the month.

Should i let it run a specific time of the day or can i run it for every 15 min or so?

Link to comment
Share on other sites

  • 3 weeks later...
37 minutes ago, Mango said:

Any way we can add an option for steam and umod update to server wipe script? Like where we check off BP wiping and use random map seed. 

That has been possible for a long time. Make sure that you're on the latest version of the config and tick "Update server" in the task.

Link to comment
Share on other sites

  • 3 months later...

What's New in Version 1.8.0  

Existing services will need to have their query port and rcon port updated manually.

Remember to click "Update Existing Services" after updating the config.

Link to comment
Share on other sites

49 minutes ago, Dennis said:

What's New in Version 1.8.0  

Existing services will need to have their query port and rcon port updated manually.

Remember to click "Update Existing Services" after updating the config.

Hello. When trying to install I'm getting this error.  Unable to install - The 'rcon_port_expression' start tag on line 96 position 6 does not match the end tag of 'query_port_expression'. Line 96, position 52.

Never seend this one before.

2023-02-02_22h36_34.png

Link to comment
Share on other sites

  • 4 weeks later...
  • 1 month later...
On 2/24/2023 at 5:02 PM, Nervo said:

Whenever I try to install the server, I get this error message. 
Using the latest version for windows.

Capture.PNG

I had this same issue on Windows Server 2022.    I was able to get around it by going into the C:\TCAFiles\Games folder, found the "download_rust.bat" file and then I right-clicked and used the "Run as administrator" option.   After that finished downloading, I went back into TCAdmin and went thru the normal process of adding the service and it worked fine.

Link to comment
Share on other sites

  • 2 months later...

Hey Dennis

I am hoping you can resolve a long standing issue for me
Sometimes a clients server stalls, then pressing STOP on tcadmin does nothing, just spins and spins and spins.

The only way I am able to then stop the server is by RDPing and killing the process. 

I have looked at your custom scripts and I mean you seem to have a ton of "after stopped" but it seems the server isnt stopping for those scripts to work.

Do you think maybe a custom script/icon with a "Force STOP" to at least kill the process would work? cause if I can just give a way for a client to force stop the server if the stop button fails then the "After stopped" scripts will kick in and help.

Do you think this would work and how would such a script look?

Link to comment
Share on other sites

Hi @Rislem

I've seen the issue before but I haven't found a way to reproduce it consistently. I have a feeling that it is caused by the "Shutdown service properly" script (which is ironic, I know 😅).

I haven't seen the issue for a long time, though. Are you using the latest version of the game template?

Link to comment
Share on other sites

  • 2 weeks later...

Thanks Dennis I used a force stop button nice loop around for me

The next thing I am having issues with whenever a client changes anything in the settings.cfg file it does not merge with server.cfg or it only merges onces and never again.

Is there a way I can check logs to why? Also is there any reason why the settings isnt just directly changed in server.cfg ?

Link to comment
Share on other sites

  • 1 month later...
On 7/31/2023 at 6:14 PM, Rislem said:

Thanks Dennis I used a force stop button nice loop around for me

The next thing I am having issues with whenever a client changes anything in the settings.cfg file it does not merge with server.cfg or it only merges onces and never again.

Is there a way I can check logs to why? Also is there any reason why the settings isnt just directly changed in server.cfg ?

In the plugin, under File System Permissions you are able to change the read/write options for a user.

After changing this they could use text editor or config editor and it updates.

Edited by Kwasi_moto
Link to comment
Share on other sites

  • 5 weeks later...
  • 6 months later...

Thank you for this Dennis, Is this file still in use? I see that the function Wipe at force is now included in the standard Rust config.

 

If this is still being worked on i would like to request that Carbon gets added as its starting to replace oxide/umod and is gaining alot of popularity

 

I did some prework on the update script for carbon but without really looking into how do some things in python i couldnt advance, here is what i have so far https://pastebin.com/bCijH2Tb (This is based off your oxide script)

https://codefling.com/carbon/carbon
https://github.com/CarbonCommunity/Carbon/releases/tag/production_build

 

Would it also be possible to setup a way to wipe weekly and bi weekly? Having to make 4 wipe scripts seems very tedious

Link to comment
Share on other sites

Hey, @Uzumi18 and welcome to the forums.

To be honest, I haven't been very active the last few months and haven't even heard of Carbon before you mentioned it. I could look into implementing it the same way that I've implemented Oxide.

Forced wipes has been a thing in Rust for a long time - but people have still wanted to manually wipe. Is this no longer the case?

 

Link to comment
Share on other sites

Force wipe is indeed still every first thurday of the month at 8pm for us (If i am correct in you being danish)

 

Most server are however weekly or biweekly wipe and setting this up in tcadmin is nearly impossible as its monthly schedule is day 1  - 31 and not named and we cannot use weekly schedule either as then the first thursday would have two wipes. the schedule on forced would need to use what you have made which wipes, updates. but the update part is not required nor wanted on other wipes


Edit to clarify

If you could make copies of your wipe script and without the update feature (maybe have it as a toggle) add a 

Wipe every first thursday (this is your current) at 8pm

Wipe every second thurday (whatever time user sets the script to run at)

wipe every third thurday (whatever time user sets the script to run at)

wipe every fourth thursday (whatever time user sets the script to run at)

wipe every fift thursday (whatever time user sets the script to run at)

Edited by Uzumi18
Edit to clarify
Link to comment
Share on other sites

7 hours ago, Dennis said:

Hey, @Uzumi18 and welcome to the forums.

To be honest, I haven't been very active the last few months and haven't even heard of Carbon before you mentioned it. I could look into implementing it the same way that I've implemented Oxide.

 

I believe Carbon just extracts on top of the server install for Windows but for Linux it changes the startup file from what I last remember during our most recent attempt at getting it to nicely integrate with TCA on Linux.

Link to comment
Share on other sites

I have made the changes required to make the wipe schedule fully adjustable and fixed some mistakes when it came to the regular wipe mechanic. I have not looked into the carbon part though.

 

Files and information has been sent to Dennis so that he can proof read it and upload it if he wish to this template

Link to comment
Share on other sites

On 4/17/2024 at 6:58 AM, Jimmy-CS said:

 

I believe Carbon just extracts on top of the server install for Windows but for Linux it changes the startup file from what I last remember during our most recent attempt at getting it to nicely integrate with TCA on Linux.

This was also very easy to solve, Simply change the executable from RustDedicated to the runds.sh file (it should have been like that all along) then when installing carbon you inject the code from the carbon.sh to the runds.sh. really all it needs is the "source" line

Link to comment
Share on other sites

Hey Dennis

I found the issue, the default gamemode cant be Vanilla anymore, its apparently broken

Change your gamemode variable to survival and it works. it can be any game mod just not vanilla 

Link to comment
Share on other sites

Posted (edited)

Game mode Vanilla works just fine, there is no issue here

although I don't use this particular config but up on testing it works fine

rust.png

Edited by Rads
Link to comment
Share on other sites

  • 4 weeks later...
Posted (edited)

Gamemode vanilla is no longer supported by the game. its better to leave it blank or use survival (blank is default survival)

do not use the "random seed" under wipe for this config, its currently broken and can result in negative seeds which is again not supported by the game

Edit: Have sendt Dennis the required changes to fix this which hopefully he will apply when he has time

Edited by Uzumi18
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Who's Online   0 Members, 0 Anonymous, 128 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use