Print Page | Close Window

Sortable/Filterable Siege Listing

Printed From: Illyriad
Category: Miscellaneous
Forum Name: Fansites
Forum Description: Listings of fansites, and resources for creating your own.
URL: http://forum.illyriad.co.uk/forum_posts.asp?TID=10395
Printed Date: 21 Jun 2018 at 14:52
Software Version: Web Wiz Forums 11.10 - http://www.webwizforums.com


Topic: Sortable/Filterable Siege Listing
Posted By: Tensmoor
Subject: Sortable/Filterable Siege Listing
Date Posted: 08 Feb 2018 at 15:42
As some of you may be aware I've been working on a method of being able to provide some form of data on what sieges happened when, where, to whom and by whom.

The result so far is at:
https://durctools2.dewt.me.uk/sieges/" rel="nofollow - https://durctools2.dewt.me.uk/sieges/

This provides a sortable table showing the data for sieges that has been extracted from the Herald Siege Statistics page. The table can be sorted by clicking on any of the blue column headers - there can only be one active sort column at a time. The data can currently be filtered by target/source alliance ticker or by status (activ/ended or both). You can also decide whether to include sieges on accounts marked as abandoned. Any of the columns that have filters set on them will have a green background on the button. Clicking any of the 'Set Filter' buttons will open a popup showing all the available options for that column. The 'Toggle Abandoned' button simply sets/unsets a flag to say if abandoned accounts should be included. when you have set any filters you want click the 'Apply Filters' button to get data matching your request. This button can also be used to refresh the data.

To comply with the rules for 3rd party tools the gathering of the data has to be as a result of a user action. That means a user script to add a button that will gather the data and send it to the server holding the database. This script is at:
https://durctools2.dewt.me.uk/sieges/gm/hsl.user.js" rel="nofollow - https://durctools2.dewt.me.uk/sieges/gm/hsl.user.js
Clicking that link will install it if you have either Greasemonkey or Tampermonkey browser extensions installed. This has been done as a completely separate script from DurcTools as it actually sends data outside of your device and one of the core things about DurcTools is that it never sends data anywhere. The data this script sends is ONLY the data from the table of sieges no data about who sent the data is included.

In order for this to provide any useable data it needs to be regularly updated by players viewing the Siege Statistics page and sending the data. If nobody does that then thare will be big gaps in the list of sieges that have landed.

Any problems or suggestions please either post in this thread or contact me through the private message system here.



Replies:
Posted By: Bill Cipher
Date Posted: 13 Feb 2018 at 21:59
Thanks for everything you do Tens! Thumbs Up Smile

-------------
d-a-r-o-r-w-o pb wlph kdv frph wr exuq. l lqyrnh wkh dqflhqw srzhu wkdw l pdb uhwxuq



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.10 - http://www.webwizforums.com
Copyright ©2001-2017 Web Wiz Ltd. - https://www.webwiz.net