Ash Posted August 6, 2017 Share Posted August 6, 2017 Hello I'm sorry it took so long to get back to you. I accessed the path with filezilla and on a side note, I had to set the 'inactivity time' to off before filezilla would connect, though it only took a sec to actually hook up. Here is the path to my game folder //CindyM@75.127.5.186:8821/75.127.5.186_29530/Data/Worlds/Random%20Gen/Paradise%20City Thank you so much for your help! ;-) Link to comment Share on other sites More sharing options...
Sophung Posted August 7, 2017 Author Share Posted August 7, 2017 "//CindyM@75.127.5.186:8821/" this is a cmdline representation of your site and shouldn't be needed within BARC. What follows is what your server path should look like: "/75.127.5.186_29530/Data/Worlds/Random Gen/Paradise City" ^ Set your BARC directory to this and see if that field turns green. (minus the quotes) Link to comment Share on other sites More sharing options...
Ash Posted August 7, 2017 Share Posted August 7, 2017 "^ Set your BARC directory to this and see if that field turns green." It worked!! Thank you so very much for your help. What a wonderful time-saving program. Thank you! Link to comment Share on other sites More sharing options...
Sophung Posted August 7, 2017 Author Share Posted August 7, 2017 Awesome! Thx Link to comment Share on other sites More sharing options...
Sophung Posted August 8, 2017 Author Share Posted August 8, 2017 The webpage used to verify the version had an unexpected change which prevents all previous versions of BARC from working. This results in a fatal error when you launch the application. Please download version 20170807.1 or newer. The only change in the 20170807.1 Local edition is the update verification is fixed. (Fatal Error "Variable subscript badly formatted") The following changes have been made to 20170807.1 FTP edition: -Update verification fixed. (Fatal Error "Variable subscript badly formatted") -Extensive FTP path handling changes throughout the entire application. (thx lucerat, more testing also needed for alkad servers, cleans the source code for me and anybody else that reads it.) -Backup paths have changed from "..\Players" to "..\Player", and "..\Archives" to "..\Archive". (For consistency with game and archive directories.) ***You will need to manually delete the old folders with "s"; I'm not going to script this because they could contain backups you want to keep. -Backup and archive path variables are reworked to make the code easier to read and edit. (helps me, you won't notice a difference.) -Player Archives now fully wipe-out when you start a new Player Cleanup. (This was not the original design but is needed for a returning player who fails to archive a second time.) -Removed a diagnostic popup message while backing up region files that was only intended for testing. (Sorry!) -Misc Backups now have the file names trimmed in the Action Report to exclude the file path. (This was copied from the local edition.) -Localization support added. (A first draft of Russian has been included - Thx again to lucerat for his help with this) *Please let me know if you'd like to help with other languages or improving current languages. More improvements are planned for how languages are handled by the application. Edit: FTP edition 20170807.2 is a minor change to both the application and the language pack for a formatting typo and how it was handled Please don't hesitate to report bugs, annoyances or give feedback! I am so sorry for any inconvenience with the old versions unable to run. This will be better fixed in a future patch so it doesn't happen again. Thanks for understanding Link to comment Share on other sites More sharing options...
Ash Posted August 8, 2017 Share Posted August 8, 2017 Thank you ;-) Link to comment Share on other sites More sharing options...
Sophung Posted August 10, 2017 Author Share Posted August 10, 2017 7D2D BARC (FTP) Beta 20170810.1.exe is available on my amazon drive and includes the following changes: -Version checking is more robust against website failures. (see latest stable patch notes above too) -New lines of dialogue added to the language pack for the above version checking change. -EULA now matches your current language when you click Apply. And the biggest change : -You can now schedule the BARC executable in your Windows Task Scheduler example: "7d2d BARC (FTP).exe /Backup" ; or -Backup (not case sensitive) /Backup is the only command currently available unless there's enough demand for a fully loaded /AutoCare or /Clean. I would also consider demand for built-in Telnet, but I am not currently planning to add it. Alternatively, I could also add the the cleaning capability but let you use one of the couple Telnet restart batch files found on the forum. Let me know what you all think of any of these ideas Edit: If you're going to use the beta, please make sure your settings are correct in the GUI, including desired autocare checkboxes *before* trying the /backup feature. Also it should still pop msgboxes if/when things fail Link to comment Share on other sites More sharing options...
SARTAN Posted September 19, 2017 Share Posted September 19, 2017 does this work via SSH or SCP. I use putty and WinSCP to access everything. Not FTP. Link to comment Share on other sites More sharing options...
Sophung Posted September 20, 2017 Author Share Posted September 20, 2017 does this work via SSH or SCP. I use putty and WinSCP to access everything. Not FTP. The remote version is only native FTP so it doesn't require any other tools, but you would need to allow the protocol and give creds. I'm going to go out on a limb and assume you have a local linux server? The local version isn't anything more than a simple file transfer, it can still connect to a linux server with '\\server\folder\myseed\' if you use samba or you could mount a drive letter and set your barc paths to look at something like 's:\folder\myseed\' and it won't know the difference. More to your non-FTP needs; I don't actually promote this since I've never used it, however this tool looks capable of mounting an SFTP connection as a drive: https://www.expandrive.com/ - It looks like it costs and I've never really looked into it, but I'd bet there's other free tools for doing this. Note* If you are using linux on your LAN then this is overkill. I may have went way off course from your question and situation? If so, sorry for assuming Link to comment Share on other sites More sharing options...
Cernwn Posted December 13, 2017 Share Posted December 13, 2017 It is a shame, but with 16.4 b8 the local server version of this utility seems to be broken. It reset player files instead of the region data. Luckily, I had a backup to restore. Link to comment Share on other sites More sharing options...
Sophung Posted December 13, 2017 Author Share Posted December 13, 2017 It is a shame, but with 16.4 b8 the local server version of this utility seems to be broken. It reset player files instead of the region data. Luckily, I had a backup to restore. I’ll look into this ASAP. Thanks Link to comment Share on other sites More sharing options...
Sophung Posted December 14, 2017 Author Share Posted December 14, 2017 It is a shame, but with 16.4 b8 the local server version of this utility seems to be broken. It reset player files instead of the region data. Luckily, I had a backup to restore. Can you reproduce this? Can anybody else confirm this issue? Are you using archives or no, bulk cleanup or just the region cleanup button? Thanks Link to comment Share on other sites More sharing options...
Sophung Posted March 4, 2018 Author Share Posted March 4, 2018 The local edition is now 20180303.5 Thanks to Cherubum for his help finding the following significant bugs that are fixed in this version: -The file date lookup process was broken for player file backups, archives and deletions and resulted in BARC fatally crashing. -File overwrites were not happening when they should, for example the working file of ServerAdmin.xml resulting in soft errors when running statistics for gathering admin information if the temp xml file already existed. *Under normal circumstances this shouldn't usually happen because working files already self-clean, however this is following the above mentioned fatal crash where the file is left in place from previous crashed attempts. *Many other cases where this could happen are now fixed to prevent soft failures and force proper function, including non-temp file functions such as backups and archives throughout BARC. -Player archives were not properly cleaning the archive folder, this folder now wipes out every time you archive players. Edit: 20180303.6 is now released also thanks to Cherubum's bug hunting: -Calculator tab region name find button had an incorrect path and could never find the file. -More overwrite handling possibilities were found and fixed. -Backup paths have had their "s" removed to be consistent with game files, this is the same sort of change that I did to FTP a while ago. Same as that, you'll have to delete the old backup directories on your own when you're ready. (IE: ..\backup\players\ is now ..\backup\player\) This patch is substantial to BARC's stability, please update to 20180303.6 or newer! These bugs were limited to the local edition and are not an issue in the FTP edition** Link to comment Share on other sites More sharing options...
Trigger911 Posted March 4, 2018 Share Posted March 4, 2018 Any way to add sftp to the networked version? Thanks for your your time Link to comment Share on other sites More sharing options...
Sophung Posted March 4, 2018 Author Share Posted March 4, 2018 I think I can get something similar, I’ll try and reply with it tomorrow Link to comment Share on other sites More sharing options...
Sophung Posted March 4, 2018 Author Share Posted March 4, 2018 Region cleaning script: https://docs.google.com/document/d/1USxHKUVPMi4ggfdsfwGvueHC0lKTlisoh35YXEpxm-o/edit?usp=sharing LCB cleaning script: https://docs.google.com/document/d/1bBPe03-8EViXmUO8z7Yuh3u0gYbEGN8Tx9Y7jenXqHk/edit?usp=sharing For SFTP to work, you will need to edit this line: $WriteScript = 'open "ftp://'+$ftpUser+":"+"$ftpPswd@$ftpHost"+":"+$ftpPort+'"'+"`r`n" These old scripts are what I created long before BARC, they are more complicated than a typical user would care to use, and they're depreciated. While I can guide you about how to use them, I won't fully support, stand behind, or alter them. Use at your own risk! Please make sure you understand them before running them, there are quiet a few things you must edit before using it. Pros: In script form they can give advanced users the edge in controlling their servers, including automation and scheduled tasks. Cons: it's all scripting, no GUI, no easy buttons. Let me know if you need anything, you can reach me on Steam too Link to comment Share on other sites More sharing options...
psvialli Posted April 9, 2018 Share Posted April 9, 2018 is there a way to auto clean regions after x amount of days ? Link to comment Share on other sites More sharing options...
Sophung Posted April 10, 2018 Author Share Posted April 10, 2018 Not particularly well(?) I could add a check for the last modified date of the region file, do you have any that have an old modified date by your standards? I suspect your server modifies all of them all the time, your oldest might be only a few hours old, which is why I'd say not particularly well. Edit: unless you mean scheduled tasking the auto clean, of which not really well for this either, I could technically shutdown your server in that task, but I can't start it back up. Link to comment Share on other sites More sharing options...
SylenThunder Posted August 19, 2018 Share Posted August 19, 2018 Tried playing around with this on a server set up using Allocs scripts, and it can't seem to find any of the files. Which is odd, because it appears to be looking for them in the right path. Connecting using FTP and pulling files has no issues, but for some reason this tool is having trouble. Link to comment Share on other sites More sharing options...
Sophung Posted August 20, 2018 Author Share Posted August 20, 2018 Tried playing around with this on a server set up using Allocs scripts, and it can't seem to find any of the files. Which is odd, because it appears to be looking for them in the right path. Connecting using FTP and pulling files has no issues, but for some reason this tool is having trouble. It's very odd Is the FTP Path field green or red? -See page 4 conversation with Ash about root pathing as well. Which host are you using? Edit: Any popups messages? Does the statistics button give results? Link to comment Share on other sites More sharing options...
SylenThunder Posted August 21, 2018 Share Posted August 21, 2018 FTP fields are all green. Host is on a Linux server in the basement. https://i.gyazo.com/5180f684a362b3941c1ef8c753a8f602.png When I hit statistics it churns away for a couple minutes then gives errors about not finding players.xml and such (while listing the exact file path in the error). It was pretty odd. I'll give that post a look. Link to comment Share on other sites More sharing options...
SylenThunder Posted August 21, 2018 Share Posted August 21, 2018 Nope, tried it with that, and then it looks like Ash's first screenshot with the FTP Path red. Selected all Backup options, and hit Statistics. "Unable to get serveradmin.xml. Code: -1" "Unable to get /home/sdtd/instances/Public/players.xml" "Unable to find the player directory. Error code: -1" "Unable to get /home/sdtd/instances/Public/players.xml" Actual paths are as follows... /home/sdtd/instances/Public/admins.xml /home/sdtd/instances/Public/players.xml /home/sdtd/instances/Public/logs/current_output_log.txt (oops on this one in the config) /home/sdtd/instances/Public/Random Gen/random/Region And it does make the below paths with folders for Misc, Player, and Region. /home/sdtd/BARC Archives /home/sdtd/instances/Public/BARC Archives And now that I'm looking at all of this, I think I need to put the pathing in differently for the FTP path and the three files. Going to try something.... - - - Updated - - - Nope, same errors, except the players.xml path is to the other players file containing the LCB/friend info. /home/sdtd/instances/Public/Random Gen/random/players.xml Link to comment Share on other sites More sharing options...
Sophung Posted August 23, 2018 Author Share Posted August 23, 2018 Nope, tried it with that, and then it looks like Ash's first screenshot with the FTP Path red. Selected all Backup options, and hit Statistics. "Unable to get serveradmin.xml. Code: -1" "Unable to get /home/sdtd/instances/Public/players.xml" "Unable to find the player directory. Error code: -1" "Unable to get /home/sdtd/instances/Public/players.xml" Actual paths are as follows... /home/sdtd/instances/Public/admins.xml /home/sdtd/instances/Public/players.xml /home/sdtd/instances/Public/logs/current_output_log.txt (oops on this one in the config) /home/sdtd/instances/Public/Random Gen/random/Region And it does make the below paths with folders for Misc, Player, and Region. /home/sdtd/BARC Archives /home/sdtd/instances/Public/BARC Archives And now that I'm looking at all of this, I think I need to put the pathing in differently for the FTP path and the three files. Going to try something.... - - - Updated - - - Nope, same errors, except the players.xml path is to the other players file containing the LCB/friend info. /home/sdtd/instances/Public/Random Gen/random/players.xml Please try: FTP Path: /home/sdtd/instances/Public/Random Gen/random ServerAdmin Path: /home/sdtd/instances/Public/admins.xml ServerConfig Path: /home/sdtd/instances/Public/serverconfig.xml (or your full real path to this file) Output_Log Path: /home/sdtd/instances/Public/logs/current_output_log.txt ServerConfig and Output_Log are only needed if you want them backed up, you do need Admins.xml so it can avoid wiping out inactive admins. These two archive spots can safely be deleted: /home/sdtd/BARC Archives /home/sdtd/instances/Public/BARC Archives Barc built these based on the various FTP Paths you've tried, but it will create a new one inside your seed. These are always safe to delete unless you want to keep files within them. It'll always recreate what it needs. Let me know if it's still having issues after all of that. I should probably rename that setting to Seed Path and reword the tooltip. :/ sorry, this was completely my fault. I'll also change that FTP Path to check for the proper children so it won't show green on a partially correct path. Thanks! Link to comment Share on other sites More sharing options...
SylenThunder Posted August 24, 2018 Share Posted August 24, 2018 Hmm, it's still getting the errors. If I run Backup Misc and watch the Misc folder in the location I told it to make the backups, the files are writen, then they disappear. It then gives a failed message. I tried backup regions and watched the folders. It made an empty Players.xml file in the 7DTD BARC folder, then it poofed and gave me the error that it was unable to get the file. No further activity was noticed, and it didn't backup any regions. I'm starting to think it's some FTP permission issue at this point, but I'm lost as setting up basic FTP. I've been using SFTP on port 22 for forever though. Is it possible to configure the tool to use that? Link to comment Share on other sites More sharing options...
Sophung Posted August 24, 2018 Author Share Posted August 24, 2018 It's not because it's using native windows FTP features which don't include SFTP. The way to do it would be to rely on something like WinSCP, which you're now the third person to ask for... so maybe I'll need to just make that happen Could we connect on steam and would you let me remote screen share? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.