Murena Posted February 23, 2017 Share Posted February 23, 2017 @Dateranoth Yes i try again - i sure what ConanSandbox\Config\DefaultServerSettings.ini exists and add here ConanSandbox\Saved\Config\WindowsServer\ServerSettings.ini CanDamagePlayerOwnedStructures=False or CanDamagePlayerOwnedStructures=True - and all work ok - file not rewrite to default settings. Make please version for me and i try test. But remember please - include three line break - to file end ServerSettings.ini, i show this in screenshot. Thanks Link to comment Share on other sites More sharing options...
Dateranoth Posted February 23, 2017 Author Share Posted February 23, 2017 I tried the line breaks on mine, and it didn't work. That's very strange then. Does the CanDamagePlayerOwnedStructures=True exist in your defaultserversettings.ini? Anyhow, I will send you a version that doesn't delete it, but it will be late today before I can get to it probably. Out of curiosity, is there any reason you don't want it to delete default? I copy all settings from it to serversettings.ini before deletion, so it doesn't cause issues. Link to comment Share on other sites More sharing options...
Murena Posted February 23, 2017 Share Posted February 23, 2017 Delete defaultserversettings.ini - is not problem - but if in some game update - devs include some new variable in defaultserversettings.ini . You delete defaultserversettings.ini - and write all in serversettings.ini, and when devs make some global changes in defaultserversettings.ini if this happend - this no make problem? Ok i wait version for me) and try test) Link to comment Share on other sites More sharing options...
Dateranoth Posted February 23, 2017 Author Share Posted February 23, 2017 @Murena It won't cause a problem because anytime they add something new I will copy it to serversettings.ini The script checks for the default on every startup. If it exists it will copy any new values to serversettings.ini before deleting the default. Regardless, I'm curious why it is overwriting mine and not yours. I'll modify it today for you to test. Link to comment Share on other sites More sharing options...
Dateranoth Posted February 24, 2017 Author Share Posted February 24, 2017 @Murena Here's a test version that has the defaultini delete disabled. https://gamercide.com/Server_Utilities/Conan/custom/murena.zip Link to comment Share on other sites More sharing options...
Sheepa Posted February 25, 2017 Share Posted February 25, 2017 May I have a fast question? [Daily Restart Hours? 00-23] HotHour1=00 HotHour2=00 HotHour3=00 HotHour4=00 HotHour5=00 HotHour6=00 [Daily Restart Minute? 00-59] HotMin=00 If I just don't want any of that daily restart (just my manual one) may I just erase them or leave that 00? Or is it possible to reduce it on about 4 like, only HH=4, without any issues? I am just curious... Thank you. Edit: Is it possible to revert "AvatarsDisabledSchedule" to be same as buildings dmg. I mean for me it's really difficult to type same time. Let me show you a little example from my server. EnableBuildingDamageSchedule=yes BuildingDmgEnabledSchedule=1-1700to1-2300,2-1700to2-2300,3-1700to3-2300,4-1700to4-2300,5-1700to5-2300,6-1700to6-2300,7-1700to7-2300 [Disable Avatars by Scheduled Time? yes/no] EnableAvatarSchedule=yes AvatarsDisabledSchedule=1-0000to1-1700,1-2300to2359,2-0000to1700,2-2300to2359, etc.... You probably know what I mean... Link to comment Share on other sites More sharing options...
Dateranoth Posted February 25, 2017 Author Share Posted February 25, 2017 If you want to disable it set RestartDaily=no If you want just 0400 set HotHour1 - HotHour6=04 Or HotHour1=04 HotHour2-6=no ( or anything other than 00 - 23 ) Link to comment Share on other sites More sharing options...
Sheepa Posted February 25, 2017 Share Posted February 25, 2017 4 minutes ago, Dateranoth said: If you want to disable it set RestartDaily=no ... Oh sorry, my bad. I didn't see that. Bhut thx with that "no", it helps ... And my edit about avatars is still in the game. Link to comment Share on other sites More sharing options...
Dateranoth Posted February 25, 2017 Author Share Posted February 25, 2017 I had been thinking this might be a problem. The deal is how they decided to write their parameters. One is EnableXX and one is DisableXX. I was trying to use the same function, but I will see if I can use the same with modifications. If not, I can probably rewrite the function. Link to comment Share on other sites More sharing options...
Tanuki Posted February 25, 2017 Share Posted February 25, 2017 Is there a way to 'pause' the utility besides opening Task Manager and completely closing it? If I need to change something in the db or an ini file it would be nice to be able for the utility to not restart it immediately. Link to comment Share on other sites More sharing options...
Dateranoth Posted February 25, 2017 Author Share Posted February 25, 2017 @Tanuki It creates a system tray icon while it runs. The icon looks like our webpage fav icon. A small grim reaper or skeleton. Click on it or right click on it and select pause to pause the script. While it flashes between a red X and the icon it is paused and will not continue until you unpause it. You can also use this icon to exit the script. Link to comment Share on other sites More sharing options...
Tanuki Posted February 25, 2017 Share Posted February 25, 2017 1 hour ago, Dateranoth said: @Tanuki It creates a system tray icon while it runs. The icon looks like our webpage fav icon. A small grim reaper or skeleton. Click on it or right click on it and select pause to pause the script. While it flashes between a red X and the icon it is paused and will not continue until you unpause it. You can also use this icon to exit the script. Thanks, that's perfect! Link to comment Share on other sites More sharing options...
Murena Posted February 25, 2017 Share Posted February 25, 2017 @Dateranoth Hello - sorry for late answer - i tested today this version what you send me murena.zip - and can say , all work perfect - i try many variation - CanDamagePlayerOwnedStructures - on / off timer - and AvatarsDisabled - same. All work good. Only ServerSettings.ini7 backup many copys - need fix. Thank! Link to comment Share on other sites More sharing options...
Murena Posted February 25, 2017 Share Posted February 25, 2017 @Dateranoth I noticed - when CanDamagePlayerOwnedStructures = True this line is removed from the server config - when CanDamagePlayerOwnedStructures = False this line exists in the configuration file - and everything works as it should. About string AvatarsDisabled - they always present in the config file. So all that required by the script - everything works well. Link to comment Share on other sites More sharing options...
Dateranoth Posted February 25, 2017 Author Share Posted February 25, 2017 V2.11.0-beta.2 @Sheepa This version will allow you to flip the schedules. Read the release notes for more information, but it should make what you want to do easier. @Murena This version will allow you to disable deleting the DefaultServerSettings.ini . Just set IniOverwriteFix=no . Also, it will continue to create 15 ServerSetttings.ini backups until final release. When out of beta I will reduce this to 5 backups. A backup is created every time the schedule changes. This is just to be sure I don't accidentally delete someones serversettings.ini while we are testing. The line being removed is what was causing my issues. I look for that line in serversettings.ini . If there is no value there, I use a default value of True. So it's not 100% reliable without that setting to read from. When I delete defaultserversettings.ini that line does not get removed. Link to comment Share on other sites More sharing options...
yolo Posted February 26, 2017 Share Posted February 26, 2017 Thank you very much for this helping tool! But I have a little question to this crypted line in the config of the tool: BuildingDmgEnabledSchedule=WDAY(Sunday1)-HHMMtoWDAY(Saturday7)-HHMM,1-0000to7-2359,6-2200to7-0500 I guess the damage of the buildings in enabled from Sunday to Saturday = [ ... WDAY(Sunday1)-HHMMtoWDAY(Saturday7)-HHMM ...] but I dont get this line 1-0000to7-2359,6-2200to7-0500 Could someone explain this please? Link to comment Share on other sites More sharing options...
Dateranoth Posted February 26, 2017 Author Share Posted February 26, 2017 @yolo Those are example times. 1-0000to7-2359 would enable building damage from Sunday 0000 to Saturday 2359. Effectively all the time. Building damage would always be enabled. 6-2200to7-0500 would enable building damage Friday 2200 to Saturday 0500 You can have as many time ranges as you want. Link to comment Share on other sites More sharing options...
yolo Posted February 26, 2017 Share Posted February 26, 2017 Oh now I get it! The first number is the pointer to the weekday. That was a bit confussion THX! Link to comment Share on other sites More sharing options...
Sheepa Posted February 26, 2017 Share Posted February 26, 2017 It's really weird because I had to revert back to beta 1. Because beta 2 was still restarting my server again, again and again without any reason. No matter what I set in my cfg. Really don't know where is the problem. I will do some more tests on my local server, then on my main. 2017/02/26 17:03:47 ConanServerUtility Script V2.11.0-beta.2 Started 2017/02/26 17:03:47 Running SteamCMD without validate. [steamcmd.exe +@ShutdownOnFailedCommand 1 +@NoPromptForPassword 1 +login anonymous +force_install_dir C:\hlserver\27732 +app_update 443030 +quit] 2017/02/26 17:03:51 [My server name (PID: 2240)] Started [ConanSandboxServer-Win64-Test.exe ConanSandBox -MULTIHOME=Censored IP -Port=27732 -QueryPort=28732 -MaxPlayers=40 -AdminPassword=********************** -ServerPassword= -ServerName="My server name" -listen -nosteamclient -game -server -log] 2017/02/26 17:03:52 [My server name (PID: 2240)] Window Handle Found: 0x00000000052306CA 2017/02/26 17:04:47 [My server name (PID: 2240)] Server Window Found - Sending Ctrl+C for Clean Shutdown 2017/02/26 17:05:47 [My server name (PID: 2240)] Server Did not Shut Down Properly. Killing Process 2017/02/26 17:05:48 Running SteamCMD without validate. [steamcmd.exe +@ShutdownOnFailedCommand 1 +@NoPromptForPassword 1 +login anonymous +force_install_dir C:\hlserver\27732 +app_update 443030 +quit] 2017/02/26 17:05:52 [My server name (PID: 8960)] Started [ConanSandboxServer-Win64-Test.exe ConanSandBox -MULTIHOME=Censored IP -Port=27732 -QueryPort=28732 -MaxPlayers=40 -AdminPassword=********************** -ServerPassword= -ServerName="My server name" -listen -nosteamclient -game -server -log] 2017/02/26 17:05:52 [My server name (PID: 8960)] Window Handle Found: 0x00000000052506CA 2017/02/26 17:06:47 [My server name (PID: 8960)] Server Window Found - Sending Ctrl+C for Clean Shutdown 2017/02/26 17:07:47 [My server name (PID: 8960)] Server Did not Shut Down Properly. Killing Process 2017/02/26 17:07:48 Running SteamCMD without validate. [steamcmd.exe +@ShutdownOnFailedCommand 1 +@NoPromptForPassword 1 +login anonymous +force_install_dir C:\hlserver\27732 +app_update 443030 +quit] 2017/02/26 17:07:52 [My server name (PID: 8300)] Started [ConanSandboxServer-Win64-Test.exe ConanSandBox -MULTIHOME=Censored IP -Port=27732 -QueryPort=28732 -MaxPlayers=40 -AdminPassword=********************** -ServerPassword= -ServerName="My server name" -listen -nosteamclient -game -server -log] 2017/02/26 17:07:53 [My server name (PID: 8300)] Window Handle Found: 0x00000000052706CA 2017/02/26 17:08:47 [My server name (PID: 8300)] Server Window Found - Sending Ctrl+C for Clean Shutdown 2017/02/26 17:09:47 [My server name (PID: 8300)] Server Did not Shut Down Properly. Killing Process 2017/02/26 17:09:48 Running SteamCMD without validate. [steamcmd.exe +@ShutdownOnFailedCommand 1 +@NoPromptForPassword 1 +login anonymous +force_install_dir C:\hlserver\27732 +app_update 443030 +quit] 2017/02/26 17:09:52 [My server name (PID: 17804)] Started [ConanSandboxServer-Win64-Test.exe ConanSandBox -MULTIHOME=Censored IP -Port=27732 -QueryPort=28732 -MaxPlayers=40 -AdminPassword=********************** -ServerPassword= -ServerName="My server name" -listen -nosteamclient -game -server -log] 2017/02/26 17:09:53 [My server name (PID: 17804)] Window Handle Found: 0x00000000052906CA Link to comment Share on other sites More sharing options...
Dateranoth Posted February 26, 2017 Author Share Posted February 26, 2017 @Sheepa Strange, I might have broke something when I was trying to update. Can you send me the INI file that you were using with the above log? Link to comment Share on other sites More sharing options...
Dateranoth Posted February 26, 2017 Author Share Posted February 26, 2017 @Sheepa Yeah, I broke this for sure. Working on a fix. Stay on Beta 1 for now. Link to comment Share on other sites More sharing options...
Dateranoth Posted February 26, 2017 Author Share Posted February 26, 2017 V2.11.0-beta.3 This should fix the problems I introduced in Beta 2. The schedule flip should work properly now. I also fixed the wrong notification being sent when the schedule was flipped. @Sheepa If you don't mind retesting with this one, that would be great. I performed local tests so it should be good to go. Also, to avoid confusion, I will probably change the INI keys before I push this to master. Just so it's less confusing. BuildingDmgEnabledSchedule= TO BuildingDmgSchedule= AND AvatarsDisabledSchedule= TO AvatarsSchedule= Link to comment Share on other sites More sharing options...
Dateranoth Posted February 26, 2017 Author Share Posted February 26, 2017 @chrazyqc Just an update to let you know I'm still looking into mod support. I can definitely automatically install the mods, but there are some issues. First, SteamCMD wants to always put them in a default folder, regardless of what I force the install dir to. So, each mod will have to be copied to the server mods folder once downloaded. That's not that big of a deal. Next, for the mod to be enabled, it has to be in modlist.txt in that same folder. So I will have to write the .pak name that is downloaded into that file to activate the mod on the server. Again, this is doable. Finally, I am not sure I can easily check for updates. I have tried several different methods of update checks, but I can't tell if they are going to be reliable. I am going to have to create my own mod and then update it so I can verify what I'm trying. So, this could take some time. Link to comment Share on other sites More sharing options...
Murena Posted February 26, 2017 Share Posted February 26, 2017 Hello Dateranoth - i Try today last beta3 version - and now your old "every day" timer format - not work ? 3:31[] [TIME FORMAT ERROR] Date Format Wrong. This was entered[ 0-1810to0-2350 ]Proper Format is WDAY-HHMMtoWDAY-HHMM (Sunday=1 Saturday=7) It is currently 2-0143 Link to comment Share on other sites More sharing options...
Dateranoth Posted February 26, 2017 Author Share Posted February 26, 2017 @Murena Sorry, I never added the everyday option. I can look into adding it for an option. For now you will need to set each day individually. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now