Jump to content

Satis

Member
  • Posts

    18
  • Joined

  • Last visited

Everything posted by Satis

  1. As DennisMidjord have mentioned a couple of times now It's called: Resource Manager I can only recomment it as a previous webadmin on a Farming Simulator Mod website where we offered people the option to upload there mods to our site for free. It's very easy to work with once you get to know it. One thing I haven't seen mentioned regarding the Resource Manager is that it does support options for paid downloads as well but if I'm correct you will need an plugin for the Resource Manager to handle it. There is also other smaller plugins for the Resource Manager to have extended changelogs and so on. You can also have multiply uploaded versions of an config file, so lets say 7 Days To Die as an example, you could upload an config file for alpha16.4, alpha17.4 and alpha18 and so on and the user can then chose to download the latest version or an older version of the config. Now for all those Github lovers, I do love Github as well as an developing platform (Have used it for many years as Mod developer), but for a config file, this is not really an good option IMHO. There is so much that have to be changed each time you want to release, like manually removing important user info and each one that contributers to the config file on github will have to do the exact same way each time or there will be nothing like conflicts all the time.
  2. Not sure if it will help, but I know that there had been an issue with LiteNetLib that it was not working as intended in A17 but believe it should have been fixed, but it still might not be. People I have been talking with also had to enable or disable the SteamNetworking in the config file to get it to work, so try either enabling or disabling that (Cant remember what I set it to by default)
  3. Yeah I got it fixed now. Spoke with Luis and we tried some stuff, but the only solution (well except from a bat file) was updating to the new TCAdmin update and do the Compatibility with Windows 10 and Windows Server 2019 as Dennis mentioned above and is also mentioned in the change log. Even that we don't run win 10 or Windows Server 2019 it still works for older versions as well when having issues like this one. Anyway, this is fixed for me now, so hope with the info I just provided, you can get your version to work as well Gotteshand
  4. Yeah we are doing the bat file atm but manually. Funny thing is that I had Dennis looking at my new setup and it's working fine on his end with the newest update, so it's something related to tcadmin and the server it's running on. I'm in the process of contacting Luis about it since Dennis told me that they once had something similar on one of there game setup and Luis did some magic to get it to work but he cant remember what it was. I'll post here is it's something Luis can help with and what needs to be done
  5. Yeah. It does exactly the same thing as when using Local System. This config is still very WIP so wont post it here. I can send it to you on Skype but will first be tomorrow though at it's late here.
  6. I'm running it as Local System since I have to run the dedicated exe file as administrator for the server to enable the Remote Client feature. Did already try repair permissions as well.
  7. Hi guys. Want to know if any of you are having the same issue as we have: Last night SE updated to v1.190 and since then we cant start the dedicated server software anymore. It shows as started in the task manager but stays idle at 15Mb of ram. The console is not showing anything at all (ie. Blank screen) There is no log made since it don't get to the point of initiating the server log. Then just to see if it was the SE Dedicated software that was faulty, we manually created an bat file with the same commandline as one of the servers and ran that one with admin priv manually from the Server Node it self and that started the server fine. It fully loaded, we could see the console on the server desktop with all the details we normally got before the update. We are pretty stuck atm and have to run all our servers via a bat script, which is not ideal for our use. Any ideas ? Just as an side node. I have a feeling this is not really an TCAdmin related issue, so just in case, I also posted an bug report on Keen Software House to see if they can elaborate on this matter. Here is the link for the bug report. https://support.keenswh.com/spaceengineers/general/topic/1-190-008-se-dedicated-server-dont-start-after-update If you have the same issue, please go upvote it on the bug report Kind regards Claus G. Pedersen aka. Satis
  8. New version in the first post together with changelog. Admins, is there a way to change the topic name to: 7 Days 2 Die Config (A17.2 b27 Stable) - Windows
  9. (From the edit in my last post) Doh. just realized that you said to update the icons URLs as well. What would a correct icon url look like then and would that work with the default theme as well? And yeah I always run 'Update existing services' Learned that the hard way on another setup I did a long time ago that made me redo a setup in the old days
  10. Thanks for the replies First off Hello fellow Dane Will that work when the icon path have been set to this in the script? ~/App_Themes/Default/Images/ControlPanel/MenuIcons/GameHosting/7D2D/7D2D.png Edit: Doh. just realized that you said to update the icons URLs as well. What would a correct icon url look like then and would that work with the default theme as well? Yeah I did try that, but my problem is that even that I have turned off the restart service in the first 2-3 query failures, it execute the shutdown script for some reason. Unsure if that's a bug or not. When I make the biggest map possible it takes about 40-60min and the max Query Interval we can set is 1440 seconds. I don't know if it's because it fires the "Before stopped" event before checking the Query Failure Detection about what it needs to do. Hmm is the above is the case, I might have an solution for that but something I will have to test first though.
  11. Updated to the 7d2d A17.2 stable release. Last Updated: 2019-03-03 20:45 GMT+1 At the moment there is no Linux setup but it should be fairly simple to convert this setup over to Linux since all scripts are done in IronPython and would only require to change the exe file and the command line options. I might add it later on, but don't have an Linux box to test it out on. Feature list: Configuration Files: serveradmin.xml - Only Text Editor. (Configuration Editor is done but disabled since it can overwrite values changed by an admin from ingame) serverconfig.xml - Text Editor and Configuration Editor. The Configuration Editor is set to read values from file so any changes done in text editor will be loaded. webpermissions.xml - Only Text Editor (From predefined mod) [*]Mods (A17 Modlets): Allocs Server Fixes - Adds additional server commands to use ingame. Also adds a live map of the world map that have been uncovered by the players. Show Traders on Live Map - Add an option to show traders on the Live map. (Require Allocs Server Fixes modlet) [*]Script Features (All in IronPython so it will work on Linux server as well.): Create all folders needed (After Create/Reinstall): Mods - Used for modlets to be installed into. UserData/ServerLogs - All server output logs goes in here UserData/GeneratedWorlds - For all generated worlds SaveGames - For all savegames [*]Clear old output logs (Only keep the 20 latest logs) [*]Add time stamp to the latest output log once server is shut down. [*]On each server start it checks what GameWorld it's using and changing the GameWorld value in the config file + the variable used to store that value. (This is useful and needed for the backup feature to work properly) [*]Making sure the server is shutdown correctly by sending the server the correct shutdown command via RCon. (This saves the game correctly as well) [*]Button: Backup feature (Max 5 backups stored at all time) that can be setup as a Scheduled Task as well. Option to additionally backup all configuration files Option to additionally backup the RWG World that is used by the savegame Option to additionally backup all mods [*]Button: Restore feature to restore an backup. [*]Button: Wipe All RWG Worlds. [*]Button: Wipe All Savegames. Installing: Download the xml file Import the xml file as a new template. (Or update an existing one if you already have this config installed) Jobs Done. Things to know: If you want to change how many backups that can be stored, then there is a setting at the top of the Backup script called: MAX_BACKUPS If you want to change how many output logs that is saves, to inside the Clear old logs script and change the MAX_LOG_FILES value to what you want. Do note that you need to change it to 1 less than you want it to be since it will clear the old logs at server start so the new output log is not counted into that number. Changelog: 2019-03-03 20:45 GMT+1 Fixed Allocs Server Fixes uninstall error Updated Show Traitors on Live Map mod to inject the change code directly into map.js instead of taking a backup of it and replace it with an prebuilt one. This is to avoid compatibility issues in case Allocs Server Fixes mod updated and we are replacing it with an older version. Updated both mods to IronPython scripts. [*]2019-03-01 16:00 GMT+1 Steam Settings changed to the a17.2 stable release branch. Icons have been updated to use imgur URL's instead of having to put the icon files inside your theams folder. (7D2D.zip file removed) Fixed the shutdown script so it don't shut the server down when there is a Query Failure Detection while generating a new World. Query Failure Detection have been enabled again and is working. I think this is it for now. If you have any problems or questions, just post them in here and I'll get back to you as soon as I can. Kind regards Satis 7D2D_a17.2 - Windows.xml
  12. Hi. This is an example of a RegEx with 2 variables set: (<admin steamID="(?<steamId>[0-9]{15,18})" permission_level="(?<permLvl>[0-9]{1,4})" \/>)* What the above code will do, is capture the whole admin xml string since it's wrapped inside () and then make 2 variables based on the the variable capture: (?<variableName>regularExpression) Using repeat sections are very powerfull, but also the hardest one to do in the config editor. I have been struggling with it for a long time as well and still am most of the time. Hope this get's you one step further
  13. Thanks for the help alexr03. Now for others interesting in how to send an recon command from a script, here is what alexr03 and me tried out that was working perfectly. For testing we used a custom script (IronPython -> Custom Icon) import clr; clr.AddReference("TCAdmin.GameHosting.SDK"); from TCAdmin.GameHosting.SDK.Objects import Service, Server service = Service(ThisService.ServiceId) server = Server(service.ServerId) response = server.GameAdminService.ExecuteRConCommand(ThisService.ServiceId, service.Variables["RConPassword"], "commandToExecute"); Script.WriteToConsole(response) For the production on the "Before Stopped" event, we used this: import clr; clr.AddReference("TCAdmin.GameHosting.SDK"); from TCAdmin.GameHosting.SDK.Objects import Service, Server service = Service(ThisService_ServiceId) server = Server(service.ServerId) server.GameAdminService.ExecuteRConCommand(ThisService_ServiceId, service.Variables["RConPassword"], "commandToExecute"); Basically the only thing that is different between those 2 codes are that in the testing button, we print the respond from the command executed. Hope this can help others as well.
  14. Right that was a start. It does give me an error saying:
  15. As the title says, is it possible to use telnet in IronPython custom script? If it possible, could some one give an example of how to connect to telnet and execute and command from there? Reason why I'm asking is this: I'm doing an 7D2D build on our private server for A17.2+ and there is an option to enable an terminal window from the serverconfig file of the game, but when I enable that one and try set the options to use Console input and Console output to show it in the web console and to execute commands there, it does not take that terminal window and nothing is hapening. If I set it to use the output log and use the RCON as input commands, it shows as it should so no big problem there. Now the problem is that once the server shuts down it does not execute the Stop Console Commands that is set to shutdown the game correctly and auto save the game. So I was thinking of adding a custom script to log into telnet of the server and send a save command or shutdown command to the server before stop server event. Hope it makes cense. Kind regards Satis
  16. That only because it's missing the steam dll files. Once they are added, you can run it without the steam client installed and running in the background. If you have an ark setup, look in you TCAdmin/games/ark folder and find where the ark exe file is and copy over all the dll files from there to where the DNLServer.exe file is located. That works fine. On our end we will pack those files up, put it on our DL server and make an custom script to download those files and unpack them at the correct location and done.
  17. Fixed it my self after some fiddling with it. The regex for the repeat section is now like this: BasilMod::horsetaxi_register\([\s]*"(?<Message>[^"]*)"[\s]*,[\s]*(?<Timeout>[0-9]+)[\s]*,[\s]*"(?<Cords>.+)"[\s]*,[\s]*(?<Radius>[0-9]+)[\s]*\); The Message groupe: (?<Message>[\w\W\s]+) was the problem. using that regex for it took everything else after it as well, so if you had 2 lines, it would grab that line as well. Fixed it by changing it to: (?<Message>[^"]*) instead.
  18. So I'm doing an mod install for an LIF:YO mod and was working in the config editor. I made an repeat section for taxi points to be added. It needs he following inputs: Message Timeout Cords Radius So I created this regex string to be used: ^([\s]*BasilMod::horsetaxi_register\([\s]*"(?<Message>[\w\W\s]+)"[\s]*,[\s]*(?<Timeout>[0-9]+)[\s]*,[\s]*"(?<Cords>.+)"[\s]*,[\s]*(?<Radius>[0-9]+)[\s]*\);[\s]*)$ I selected these check boxes: Items separated by new line Allow new items Allow delete items I then added this as an template: BasilMod::horsetaxi_register("\n\nGetting you a fresh horse from the stables...", 3, "931.822 76.92 1011", 1); Done for the repeat section setup. I then created the 4 value section like this: Textbox : Message (With deny character ") Slider : Timeout (Range 1-60 with 1 step) Textbox : Cords (With this regex: ^([\-]?[\d]{1,4}[\.\d]{0,4}[\s][\-]?[\d]{1,4}[\.\d]{0,4}[\s][\-]?[\d]{1,4}[\.\d]{0,4})$) Slider : Radius (Range 1-60 with 1 step) I then saved it all, reloaded so I could see the repeat section I made. I then pressed the new taxi point button and it added an new section with all the stuff as it should, no problem there. I then added a second one, but instead of adding a new section after the first one, it wrote the string at the end of the Message Textbox instead of making an new section. What am I missing here? I have made one for another mod with only 3 values and that one is working as intended, so am a bit lost her to why it's doing this.
×
×
  • 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