DurcTools |
Post Reply
|
Page <1 141516 |
| Author | |
Tensmoor
Postmaster General
Joined: 07 Apr 2015 Location: Scotland Status: Offline Points: 1579 |
Post Options
Thanks(0)
Quote Reply
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
|
|
![]() |
|
Tensmoor
Postmaster General
Joined: 07 Apr 2015 Location: Scotland Status: Offline Points: 1579 |
Post Options
Thanks(0)
Quote Reply
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
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 |
|
![]() |
|
Tensmoor
Postmaster General
Joined: 07 Apr 2015 Location: Scotland Status: Offline Points: 1579 |
Post Options
Thanks(0)
Quote Reply
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
|
|
![]() |
|
GM Stormcrow
Moderator Group
GM Joined: 23 Feb 2010 Location: Illyria Status: Offline Points: 3820 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 May 2021 at 12:00 |
![]() Pics, or it never happened!
|
|
![]() |
|
Tensmoor
Postmaster General
Joined: 07 Apr 2015 Location: Scotland Status: Offline Points: 1579 |
Post Options
Thanks(0)
Quote Reply
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
![]() |
|
![]() |
|
MacheteV97
New Poster
Joined: 21 Dec 2020 Location: Greece Status: Offline Points: 20 |
Post Options
Thanks(0)
Quote Reply
Posted: 29 Jan 2022 at 23:43 |
|
Hello guys, I have an idea about a quest Userscript. Basically, what I am thinking about, is gonna be a pop-up window with information about the quests you have waiting for you! Info like, the tier of scouts and the how many of them you need to send in order to complete each part, the rewards ect. The only problem about this project, is that I have no idea about how to do it! I enjoy writing codes but I need some guidance. If anyone is also interested and has the time to help me, I would like to be a part of other projects too!
|
|
![]() |
|
Tensmoor
Postmaster General
Joined: 07 Apr 2015 Location: Scotland Status: Offline Points: 1579 |
Post Options
Thanks(1)
Quote Reply
Posted: 31 Jan 2022 at 11:24 |
The first thing I'd do is work out how you are going to be able to gather the info you need. Whilst there is info on all the different quests that are possible bear in mind that some of them are race specific. I don't know if the order in which they are offered is fixed or if there is a random element in it. Once you have worked out what info you can gather you can then work out what actual things you will be able to do in the userscript. When I started writing DurcTools I couldn't get the scripts to work correctly if loaded as a userscript. That's why I resorted to simply having the userscript load the javascript for the tools direct into the game from my server. Bear in mind that Illy loads and uses jQuery which means you can also make use of it. Hope this helps get you started. Tens
|
|
![]() |
|
Post Reply
|
Page <1 141516 |
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |