Page 1 of 7 123 ... LastLast
Results 1 to 15 of 97

Thread: Backup, archive, and clean your seeds!

  1. #1
    Survivor
    Join Date
    Sep 2016
    Posts
    61
    Rep Power
    0

    Backup, archive, and clean your seeds!

    Introducing BARC



    BARC is designed to be a powerful yet simple standalone tool for managing your 7D2D save files. It can create backups of recent player data, delete old player data, and reset the regions nobody lives in. It needs minimal information from you, no more hand picking what regions to save. No more guessing what region you're trying to reset.



    Screenshots In Spoiler



    Spoiler: 

    The bulk file tools can backup active regions and remove inactive regions. Ever wanted to reset a town that nobody lives in? You can do that with this

    You can also manage your players and LCBs or just review the statistics of your server to see what's out there.





    This coordinate calculator has several features including boundary information, LCB verification, and file controls for the individual region.





    This screenshot of the settings tab is for the FTP edition:


    And this one is for single player and home servers:





    Getting Started



    No install necessary, extract the files to the directory of your choice and run 7D2D BARC.exe. It may trigger your antivirus, firewall, or windows UAC.

    *For single player and all other cases, you must place an LCB (keystone or land claim block) inside each desired active region. BARC looks for LCBs to determine activity per region.


    If you use FTP to manage your server, download from here:
    http://www.allnightgamers.com/download/barc/?wpdmdl=753
    Version: 20190118.2

    For single player or home-hosted servers you can download from here:
    http://www.allnightgamers.com/downlo...oc/?wpdmdl=811
    Version: 20181109.1

    Source code and test versions can be downloaded from here:
    https://www.amazon.com/clouddrive/sh...hare_link_copy



    Additional Information



    • BARC works independent from your game client, host, server manager, and other mods. I'm unaware of any managers or mods that conflict.

    • FTP version 20190118.2+ works on all paid server hosts.

    • BARC will not put your server into the modded list.

    • BARC will not trigger EAC.

    • BARC does work with single player saves, local/LAN/home hosted servers, and paid servers via FTP.





    Wishlist Features



    An overhaul is in the works with the following changes:

    • Adding - Server\Client timezone differential for expiration accuracy. -nearing completion

    • Adding - Log file writing. -nearing completion

    • Adding - Combined FTP/home functionality, no longer separate apps. -in progress

    • Changing - Parsing logic, it's too early to know if it is faster or the same speed, but new logic will be used for file actions to enable above combination of features. -in progress

    • Possible - SFTP support, this isn't confirmed yet but it should be easier and more likely.

    • Possible - Inactive admin report. Likely

    • Possible - Progress bar on certain actions. Likely




    • Adding - FTP Active\Passive selection for home hosted Linux. -Complete

    • Adding - Hyperlinks where they make sense. -Complete

    • Adding - Light\Dark\Custom theme options and slightly larger font for easier reading. -Complete

    • Adding - Tab tweaks. Settings tab functionality improved and bulk file tools tab is now the default for returning users. -Complete

    • Removing - Clutter. GUI reorganized and cleaned, no more colorful walls of text. -Complete

    • Removing - Language localization. -Complete




    Special Thanks



    • To JavamonkXTR, and OceanCrazy for their help testing BARC over several months before it was released here, I couldn't have created this without their willingness to run this against their servers. (also for Javamonk hosting the download on his website)

    • To fabi-88, Puschpa, Lucerat, Cherubum, and SylenThunder for reporting bugs and letting me work with their servers to improve BARC.

    • Lucerat for his work on the Russian translation

    • And you for taking an interest. BARC has been downloaded over 1000 times since the beginning of the project, 599 times for a single version! That's a humbling number of servers (and a few solo players I'm sure!). Thank you!




    Feedback Is Welcome



    I can't add every requested feature but I'm always open to ideas to improve this project.
    Please let me know what you think and if you found BARC helpful!
    Last edited by Sophung; 2 Days Ago at 06:36 AM.

  2. #2
    Guppycurian Forum Whore Guppycur's Avatar
    Join Date
    Apr 2014
    Location
    Enemy for life
    Posts
    19,832
    Rep Power
    1
    No ftp server required?

  3. #3
    Survivor
    Join Date
    Sep 2016
    Posts
    61
    Rep Power
    0
    Well Guppycur,

    If you're going to ask that soon after I published then I guess a non-FTP version is wanted more than I thought. I'll start working toward that tonight.

    I'll need a tester or two for it as I get closer to completing it, if you're interested?

    Thanks!
    Last edited by Sophung; 01-19-2017 at 09:05 PM.

  4. #4
    Guppycurian Forum Whore Guppycur's Avatar
    Join Date
    Apr 2014
    Location
    Enemy for life
    Posts
    19,832
    Rep Power
    1
    I'm always interested in new toys; I just need to find a practical use. I don't reset unused regions, but the stat thing is something I'm always looking for. Right now I'm using an app I wrote to telnet in, and pull stats to a db that my web app reads from.

    So, unc me in.

    Stompy is working on a method to read from the ttp file, for the same reason, and I like getting great minds together.

  5. #5
    Survivor
    Join Date
    Sep 2016
    Posts
    61
    Rep Power
    0
    Are you looking for something specific in these stats? What I'm doing for statistics here is pretty low-tech, for example the player stats are just grabbing the .ttp file's modified date and saying 'if older than the user's defined expiration date then flag it'.

    Please excuse my idiocy here; I don't actually run a server or get involved with the community to know if you're talking about a web app similar or competing with cbsm? Could an executable gui like this help with your web app? Maybe we need to collaborate in more of a php or java kind of way with the source code?

  6. #6
    Refugee
    Join Date
    Jan 2015
    Posts
    3
    Rep Power
    0
    Hi,

    i have an Unable to get /saves/serveradmin.xml Code -1

    in global settings is all Green (connected) when i click Statistics in Bulk File Tools then i become this error


    -sorry for my English-

  7. #7
    Guppycurian Forum Whore Guppycur's Avatar
    Join Date
    Apr 2014
    Location
    Enemy for life
    Posts
    19,832
    Rep Power
    1
    Quote Originally Posted by Sophung View Post
    Are you looking for something specific in these stats? What I'm doing for statistics here is pretty low-tech, for example the player stats are just grabbing the .ttp file's modified date and saying 'if older than the user's defined expiration date then flag it'.

    Please excuse my idiocy here; I don't actually run a server or get involved with the community to know if you're talking about a web app similar or competing with cbsm? Could an executable gui like this help with your web app? Maybe we need to collaborate in more of a php or java kind of way with the source code?
    Check

    http://www.guppycur.com for what I'm doing, and
    http://bcm.guppycur.com for what Stompy is doing (or try http://73.32.182.89/BCM since I only just added the subdomain and it may not be propagated yet).

    The conversation with Stompy is either going to be on my server thread or Stompy's mod thread


    What I'm looking for? Well, nothing specific; like I said earlier, I like to get people together, see what we can all accomplish. Since I have very little technical and programming skills, my contribution is kind of being a match maker.

  8. #8
    Hunter Aribo's Avatar
    Join Date
    Apr 2016
    Location
    North East UK
    Posts
    138
    Rep Power
    0
    What an absolute time saving gem you are. Excellent work to you and all who helped. Just what I needed. Ill support this all day long. Any tech, Hosting, Space, domains, even a server for testing. If you need them and if I am available. Give us a shout

  9. #9
    Survivor
    Join Date
    Sep 2016
    Posts
    61
    Rep Power
    0
    Hi fabi-88,

    Do other buttons like backups or anything in the region calculator work? Can you verify that /saves/serveradmin.xml exists on your server? Backups are totally safe to try because they don't write changes to your server. Did you get any firewall or antivirus warnings that could be blocking a file transfer?

    @guppycur,

    I friended you on steam, I'm about half way done with the initial conversion from FTP to UNC and will do some local testing on my own before I start including you (lowers your risk, gives you less bugs to find).

    Thanks Aribo,

    Glad it's so helpful are you also interested in UNC (local / single player / home-server) testing?



    Also, version 20170119.1 is about to go live, this update fixes a bug in the 'Restore From Backup' button within the coordinate calculator tab which was found while creating the UNC version.


    Thanks all
    Last edited by Sophung; 01-21-2017 at 12:01 AM.

  10. #10
    Guppycurian Forum Whore Guppycur's Avatar
    Join Date
    Apr 2014
    Location
    Enemy for life
    Posts
    19,832
    Rep Power
    1
    I am out of town this weekend fyi.

  11. #11
    Refugee
    Join Date
    Jan 2015
    Posts
    3
    Rep Power
    0
    @Sophung

    yes its all green but i have used wrong button

    now its a window with Array Display i close this and now a new error Unable to archive region r.-1.2.7rg . Error code -1 and the region will not saved. The other Things yes players, LCBs...

    p.s. its a Ubuntu Server - eventually help this
    Last edited by fabi-88; 01-21-2017 at 09:42 AM.

  12. #12
    Reconstructionist Puschpa's Avatar
    Join Date
    Jul 2014
    Location
    Germany
    Posts
    508
    Rep Power
    0
    Just tested it, it connects properly to the server, but I also get the "Unable to get /saves/serveradmin.xml Code -1". This is probably due to the fact that on my hosters file structure there is no saves folder, but the serveradmin.xml is located in the root directory of the game (/94.250.222.71_XXXXX).

    Also the serverconfig.xml has been renamed by the hoster to serverconfigmain.xml. I made a copy of it and renamed it to serverconfig.xml, now the program is happy with the LCB size of 51, but it still says, "This is not the deadzone from serverconfig.xml", which is 20, but it seems not to be accepted.

    P.S. Ok, have fiddl'd a bit more with the program:

    Statistics - works
    Backup Players - works partially? Is only backing up 28 *.ttp files, while 153 players shown as active in Statistics
    Backup LCBs - works, file players.xml is saved
    Backup Regions - works, all 61 active regions has been backed up,
    Backup Misc - says backed them up, but not working. Probably the necessary files are not located in the path the program looks for them (output_log.txt, serveradmin.xml, serverconfig.xml)
    Last edited by Puschpa; 01-21-2017 at 04:27 PM.

  13. #13
    Tracker Boa_2K7's Avatar
    Join Date
    Jan 2016
    Location
    Alberta, Canada
    Posts
    203
    Rep Power
    0
    I too would be interested in the UNC version. =)

  14. #14
    Survivor
    Join Date
    Sep 2016
    Posts
    61
    Rep Power
    0
    @ fabi-88,

    I've found that array display and removed it, it was part of backing up all players. Can you tell me more about "Unable to archive region r.-1.2.7rg" was this the Clean Regions button or the Reset from the calculator tab? Was your server offline at the time?

    Ubuntu server should be fine if the file structure is the same?


    Wow puschpa, that's a lot of info

    About the player backup, can you tell me more about your statistics? how many total, active, inactive, admins inactive? Did you change the player expiration between clicking each button?

    I'll reword the deadzone comment. "This field does not need to equal your deadzone" is probably better. The deadzone is counted from the LCB block, this padding is from the edge of your LCB's range so it'd be exponentially bigger if you set it equal to your deadzone. The formula on the right looks like this is: ( ( ( lcb size + 1 ) \ 2 ) + padding ). It's used for adding a little extra space between somebody's lcb edge and the boundary of a region you could reset. A better visual of it is in the calculator where you see the buffered boundaries.

    The red line here represents the padding, if the red line crosses into r.-1.0.7rg then it would be considered an active region.

    The total buffer is (the center of your lcb + padding) see above formula.

    That's probably way more explanation than you wanted, but I figured it might clear it up for others as well

    I'll work toward a patch for your alt file locations today, I'll also make the 'Actions Taken' less of a generic stamp and more informative to failed actions on that button.

    Thanks again for all of that info!

    Hi boa_2k7,

    Thanks for your interest! No ETA yet but it shouldn't take very long, maybe you'll have it by mid week? I'm not sure how long testing will take


    Thanks y'all
    Last edited by Sophung; 01-31-2017 at 06:21 AM.

  15. #15
    Survivor
    Join Date
    Sep 2016
    Posts
    61
    Rep Power
    0
    hey puschpa, can you tell me if your serverconfigmain.xml is in the root or under '/config/'?

    edit: and do you know where output_log.txt is located on your server too?

    Thanks
    Last edited by Sophung; 01-21-2017 at 06:42 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •