Yes, I use a bat to goto launch RustDedicated.exe again.
So are you saying this plugin will update oxide and rust for me after a quit command? How does it know where steamcmd is?
Or do I just put
C:\steamcmd\steamcmd.exe +login anonymous +force_install_dir c:\rustserver\ +app_update 258550 +quit
at the start of my bat script, before running rustdedicated.exe? (I avoided this originally because I didn't want to update rust if no oxide update)
SmoothRestarter
Moved
Total Downloads: 5,594 - First Release: Apr 11, 2016 - Last Update: Dec 30, 2017
- 5/5, 22 likes
-
-
-
I have a problem which begins when the plugin loads:
Code:[01/06/2017 08:52:47] [Oxide] 08:52 [Info] Loaded plugin SmoothRestart v1.0.3 by Fujikura/Visagalis [01/06/2017 08:52:48] [Oxide] 08:52 [Debug] at System.Int32.Parse (System.String s) [0x00000] in <filename unknown>:0 at System.Convert.ToInt32 (System.String value) [0x00000] in <filename unknown>:0 at Oxide.Plugins.SmoothRestart.APIResponse (Int32 code, System.String response, System.String apiType, Int32 numberCheck) [0x00000] in <filename unknown>:0 at Oxide.Plugins.SmoothRestart+<CheckOxideCommits>c__AnonStorey1.<>m__0 (Int32 code, System.String response) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>m__1 () [0x00000] in <filename unknown>:0 [01/06/2017 08:53:36] [Oxide] 08:53 [Info] Unloaded plugin SmoothRestart v1.0.3 by Fujikura/Visagalis [01/06/2017 08:54:27] [Oxide] 08:54 [Info] Loaded plugin SmoothRestart v1.0.3 by Fujikura/Visagalis [01/06/2017 08:54:27] [Oxide] 08:54 [Debug] at System.Int32.Parse (System.String s) [0x00000] in <filename unknown>:0 at System.Convert.ToInt32 (System.String value) [0x00000] in <filename unknown>:0 at Oxide.Plugins.SmoothRestart.APIResponse (Int32 code, System.String response, System.String apiType, Int32 numberCheck) [0x00000] in <filename unknown>:0 at Oxide.Plugins.SmoothRestart+<CheckOxideCommits>c__AnonStorey1.<>m__0 (Int32 code, System.String response) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>m__1 () [0x00000] in <filename unknown>:0 [01/06/2017 08:54:33] [Oxide] 08:54 [Info] Unloaded plugin SmoothRestart v1.0.3 by Fujikura/Visagalis [01/06/2017 08:55:26] [Oxide] 08:55 [Info] SmoothRestart was compiled successfully in 2646ms [01/06/2017 08:55:26] [Oxide] 08:55 [Info] Loaded plugin SmoothRestart v1.0.3 by Fujikura/Visagalis [01/06/2017 08:55:27] [Oxide] 08:55 [Debug] at System.Int32.Parse (System.String s) [0x00000] in <filename unknown>:0 at System.Convert.ToInt32 (System.String value) [0x00000] in <filename unknown>:0 at Oxide.Plugins.SmoothRestart.APIResponse (Int32 code, System.String response, System.String apiType, Int32 numberCheck) [0x00000] in <filename unknown>:0 at Oxide.Plugins.SmoothRestart+<CheckOxideCommits>c__AnonStorey1.<>m__0 (Int32 code, System.String response) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>m__1 () [0x00000] in <filename unknown>:0 [01/06/2017 08:55:34] Saved 20,043 ents, serialization(0.00), write(0.01), disk(0.00) totalstall(0.02). [01/06/2017 08:55:34] Saving complete
And sorry for bad english, I am german
~Willie
[DOUBLEPOST=1483689974][/DOUBLEPOST]I found more in my Logs:
Code:[01/06/2017 08:50:21] [Oxide] 08:50 [Error] Web request callback raised an exception in 'SmoothRestart v1.0.3' plugin (FormatException: Input string was not in the correct format) [01/06/2017 08:52:48] [Oxide] 08:52 [Error] Web request callback raised an exception (FormatException: Input string was not in the correct format) [01/06/2017 08:54:27] [Oxide] 08:54 [Error] Web request callback raised an exception (FormatException: Input string was not in the correct format) [01/06/2017 08:55:27] [Oxide] 08:55 [Error] Web request callback raised an exception (FormatException: Input string was not in the correct format)
-
Seeing webrequest errors as above also.
-
[DOUBLEPOST=1483723171][/DOUBLEPOST] -
Fujikura updated Smooth Restarter with a new update entry:
1.0.4
-
Danke, funktioniert nun wieder
Thanks, now its working again -
would someone be kind enough to write me the correct command to set this so my server restarts every 6 hours as when im trying to use the chat command i just get incorrect minutes format must be a number
-
Code:"Timers": { "RebootTimes": { "11:15": "45", "23:30": "30" }, "useTimers": false // <<<< true }
-
Another WebRequest Error, plugin still working, but it maybe helps you:
Code:Web request callback raised an exception (FormatException: Input string was not in the correct format)
It will warn players 120 minutes before every restart and so on:
Code:{ "Checks": { "autoRebootCountDown": 3, "checkIntervalMinutes": 5, "currentDevblog": 142, "currentOxideBuild": 2914, "enableAutoChecks": true, "enableAutoReboot": false, "notifyOnlineAdmins": true }, "Settings": { "ShowMinutes": [ 120, 60, 45, 30, 15, 10, 5, 4, 3, 2, 1 ], "ShowSeconds": [ 50, 40, 30, 20, 10, 5, 4, 3, 2, 1 ] }, "SimpleUI": { "SimpleUI_Enable": true, "SimpleUI_FontSize": 30, "SimpleUI_HideTimer": 10, "SimpleUI_Left": 0.1, "SimpleUI_MaxHeight": 0.05, "SimpleUI_MaxWidth": 0.8, "SimpleUI_Top": 0.1 }, "Timers": { "RebootTimes": { "04:00": "120", "10:00": "120", "16:00": "120", "22:00": "120" }, "useTimers": true } }
-
Code:
[SERVER v1.0.24] Console: SmoothRestart.cs(19,12): warning CS0414: The private field `Oxide.Plugins.SmoothRestart.restartTime' is assigned but its value is never used
Code:Loaded plugin SmoothRestart v1.0.4 by Fujikura/Visagalis Web request callback raised an exception (FormatException: Input string was not in the correct format) at System.Int32.Parse (System.String s) [0x00000] in <filename unknown>:0 at System.Convert.ToInt32 (System.String value) [0x00000] in <filename unknown>:0 at Oxide.Plugins.SmoothRestart.APIResponse (Int32 code, System.String response, System.String apiType, Int32 numberCheck) [0x00000] in <filename unknown>:0 at Oxide.Plugins.SmoothRestart+<CheckOxideCommits>c__AnonStorey1.<>m__0 (Int32 code, System.String response) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>m__1 () [0x00000] in <filename unknown>:0 Unloaded plugin SmoothRestart v1.0.4 by Fujikura/Visagalis Loaded plugin SmoothRestart v1.0.4 by Fujikura/Visagalis Web request callback raised an exception (FormatException: Input string was not in the correct format) at System.Int32.Parse (System.String s) [0x00000] in <filename unknown>:0 at System.Convert.ToInt32 (System.String value) [0x00000] in <filename unknown>:0 at Oxide.Plugins.SmoothRestart.APIResponse (Int32 code, System.String response, System.String apiType, Int32 numberCheck) [0x00000] in <filename unknown>:0 at Oxide.Plugins.SmoothRestart+<CheckOxideCommits>c__AnonStorey1.<>m__0 (Int32 code, System.String response) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>m__1 () [0x00000] in <filename unknown>:0
-
-
How to config this plugin for nice restart? When plugin start restart - server crashing, and after long time starting again
Code:[01/08/17 05:00:02] [108_61_116_31_28016_ruste] Server has crashed, restarting [01/09/17 05:00:02] [108_61_116_31_28016_ruste] Server has crashed, restarting [01/10/17 05:00:03] [108_61_116_31_28016_ruste] Server has crashed, restarting [01/11/17 05:00:02] [108_61_116_31_28016_ruste] Server has crashed, restarting [01/12/17 05:00:02] [108_61_116_31_28016_ruste] Server has crashed, restarting [01/13/17 05:00:03] [108_61_116_31_28016_ruste] Server has crashed, restarting [01/14/17 05:00:02] [108_61_116_31_28016_ruste] Server has crashed, restarting [01/15/17 05:00:02] [108_61_116_31_28016_ruste] Server has crashed, restarting [01/16/17 05:00:02] [108_61_116_31_28016_ruste] Server has crashed, restarting [01/17/17 05:00:02] [108_61_116_31_28016_ruste] Server has crashed, restarting [01/18/17 05:00:02] [108_61_116_31_28016_ruste] Server has crashed, restarting [01/19/17 05:00:02] [108_61_116_31_28016_ruste] Server has crashed, restarting
Code:{ "Checks": { "autoRebootCountDown": 3, "checkIntervalMinutes": 5, "currentDevblog": 142, "currentOxideBuild": 2883, "enableAutoChecks": true, "enableAutoReboot": false, "notifyOnlineAdmins": true }, "Settings": { "ShowMinutes": [ 60, 45, 30, 15, 10, 5, 4, 3, 2, 1 ], "ShowSeconds": [ 50, 40, 30, 20, 10, 5, 4, 3, 2, 1 ] }, "SimpleUI": { "SimpleUI_Enable": true, "SimpleUI_FontSize": 30, "SimpleUI_HideTimer": 10, "SimpleUI_Left": 0.1, "SimpleUI_MaxHeight": 0.05, "SimpleUI_MaxWidth": 0.8, "SimpleUI_Top": 0.1 }, "Timers": { "RebootTimes": { "04:55": "5" }, "useTimers": true } }
-
Any crashs are not caused by the plugin, it uses an inbuilt function that is also called at manual quit by console. -
@Fujikura So, will this plugin actually update the server's Oxide Mod Manager and run the Steam Update for me? Or how do I set it up to do this if possible? This would be tremendously helpful, as I am a full-time college student and some nights I just can't be there for update due to class time conflicts! I hate making my players wait until late at night, so this would get rid of that problem as well!
-
The plugin itself cannot provide this action. -
Is it possible to add in the future a line to run a command before restart? With my current issues, I'd like to execute a backup before restart.
Cheers. -
Will this work if i have automated restarts set within the Server control panel through my server host HostHavoc?