Play Now Login Create Account
illyriad
  New Posts New Posts RSS Feed - DurcTools
  FAQ FAQ  Forum Search   Register Register  Login Login

DurcTools

 Post Reply Post Reply Page  <1 141516
Author
 Rating: Topic Rating: 2 Votes, Average 5.00  Topic Search Topic Search  Topic Options Topic Options
Tensmoor View Drop Down
Postmaster General
Postmaster General
Avatar

Joined: 07 Apr 2015
Location: Scotland
Status: Offline
Points: 1506
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tensmoor Quote  Post ReplyReply Direct Link To This Post Posted: 17 May 2021 at 19:40
Exporting of data stored on your device by DurcTools

As part of trying to fix some bugs in durctools I'm creating the ability to export the data that the tools store on your device to csv files which you will also be able to read back into the tools. This is needed as there is a possibility that the bug fixes may need you to clear some or all of the stored data.

I'm writing the export part of this in stages starting with the inventories followed by the troop numbers. Each of these will be tested by volunteers before they go live for general use.

A bonus of this is that the csv files can also be shared as you see fit (for example sharing your town inventories with your alliance quartermaster or sending your troop numbers to your alliances military planning team).

I'm happy that the code for town and hub inventories are now stable and will be pushing that part out for general use later today. When it is ready I'll publish destructions on how to use it in this thread.

Tens
Back to Top
Tensmoor View Drop Down
Postmaster General
Postmaster General
Avatar

Joined: 07 Apr 2015
Location: Scotland
Status: Offline
Points: 1506
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tensmoor Quote  Post ReplyReply Direct Link To This Post Posted: 17 May 2021 at 20:16
Exporting inventories to CSV files

This is now live. To use it you should first make sure to visit the inventory (and sub-inventory) pages for the towns/hubs you want to export the data for. If you don't then the data will be out of date/inaccurate.

How to do it
  1. Open the Data Manager tool
  2. In the left column click on the entry for the inventory you want to export (hovering over the entries in the Town Data section will display the name of the town). Town inventories end with :inv while the hub inventories are found in the Player Data section and end with :hubs.
  3. Click on the Export button at the top of the tool (this is only enabled if you have clicked on an inventory.
  4. depending on your OS & browser settings you may now be asked to supply a filename and location to save the csv file(s). If you are exporting the hub inventories then you will be asked this for each hub that you have inventory information for including the All Hubs option.
That's it. You should now have a csv file on your device named for the town/hub inventory. You can send them to others, display/use them in spreadsheets etc but it is strongly recommended that you do not edit them. Remember the primary purpose for this is to serve as a backup incase your durctools data gets corrupted.

Tens
Back to Top
Tensmoor View Drop Down
Postmaster General
Postmaster General
Avatar

Joined: 07 Apr 2015
Location: Scotland
Status: Offline
Points: 1506
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tensmoor Quote  Post ReplyReply Direct Link To This Post Posted: 19 May 2021 at 15:21
Bug Fix - Error in stored adv res data
Fixed the bug that was incorrectly assigning data to resources in the adv res section - absolutely idiotic coding bug on my part so deepest apologies and yes I shall be given a public flogging with a soggy lettuce!

Next time you log in (after 14:15 19th May 2019) you'll have the updated code or you can do CTRL + F5 to reload everything without using the cache.

To correct the data simply view your town map and then scroll through all your towns.

Tens
Back to Top
GM Stormcrow View Drop Down
Moderator Group
Moderator Group
Avatar
GM

Joined: 23 Feb 2010
Location: Illyria
Status: Offline
Points: 3780
Post Options Post Options   Thanks (0) Thanks(0)   Quote GM Stormcrow Quote  Post ReplyReply Direct Link To This Post Posted: 20 May 2021 at 12:00
Originally posted by Tensmoor Tensmoor wrote:

I shall be given a public flogging with a soggy lettuce!
Shocked

Pics, or it never happened!
Back to Top
Tensmoor View Drop Down
Postmaster General
Postmaster General
Avatar

Joined: 07 Apr 2015
Location: Scotland
Status: Offline
Points: 1506
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tensmoor Quote  Post ReplyReply Direct Link To This Post Posted: 20 May 2021 at 14:29
Unfortunately I don't have access to a high enough resolution camera - all that showed up was my long hair and beard floating in min-air Embarrassed
Back to Top
 Post Reply Post Reply Page  <1 141516
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.