Script Fortbattle-Export

Discussion in 'External Sites Discussion' started by jarograv, Oct 8, 2017.

Share This Page

  1. jarograv

    jarograv Well-Known Member

    Joined:
    Sep 24, 2008
    Messages:
    244
    Likes Received:
    94
    Script Details
    Available From: Github --- [Direct Link] --- [Repository]
    Script Version: 0.23
    Works on Version: From 2.63 up
    Description: Exports battle from in-game to a .csv spreadsheet to allow for analysis of fort data.
    [​IMG]

    Introduction
    As a follow-up from my previous fortbattle import tool available here, Fortbattle-Export script provides similar functionality with a few benefits.
    • There is no need to download any additional programs.
    • The script version does not rely on Westforts. This means it is now significantly faster to download battles and you can export any worlds you play even if they are not on Westforts.
    • More fields of information are available such as town ID, battle time, and more to be added.
    • Automatic update alerts.
    • Better user interface and more user friendly interaction with the program.
    Preview & Script Usage
    You can open the script using the scripts button in-game. This will open up The-West's built in script menu. Navigate to the "Fortbattle-Export" tab to bring up the interface.
    [​IMG]
    Follow the instructions listed to start exporting battles. A file will automatically download called "battleData.csv". This file contains a table with headers followed by the data for all the battles you have selected for import.


    To do list

    • Finish the fields for fort size and the fill % for each side.
    • Add support for other languages.
    • Fix any bugs that come up based on your feedback.
    • Any other features you may request!
    Known Bugs
    • Occasionally the "Export" button does nothing. Workaround is to reload the page and try again.
    • Only works with Chrome.
    Script is a work in progress. There will be bugs. Please give as much detail as possible if you encounter a bug so that I can work on fixing it.
     
    Last edited: Oct 9, 2017
    xShteff, HALCON DE ORO and pepe100 like this.