Autofight Utility

Discussion of all aspects of the game engine, including development of new and existing features.

Moderators: Forum Moderators, Developers

Post Reply
Yomar
Posts: 295
Joined: October 27th, 2011, 5:14 am
Contact:

Autofight Utility

Post by Yomar » September 15th, 2019, 8:52 pm

Time ago a guy made an utility for statistical purposes, is there someone than can update it to work with BFW 1.14 ?

Here's the link of the threat;

viewtopic.php?t=29760

Shiki
Developer
Posts: 270
Joined: July 13th, 2015, 9:53 pm
Location: Germany

Re: Autofight Utility

Post by Shiki » October 10th, 2019, 4:29 pm

Hi Yomar.
I uploaded it to 1.14 with the name "WhoWins" — you find it in the resources category of the add-on manager.
The add-on itself is a mp scenario.

As far as I know, or as far as Norbert knew, wesnoth add-ons can't write files.
To have the data outside of wesnoth, the add-on uses Wesnoth's logging functionality and prints the battle results onto the terminal.
So, to see the data, you need to run Wesnoth from a terminal, and to save it, you use the terminal's functionality for forwarding Wesnoth's output to a file. (That's what Norbert does in the second post of the thread you linked)
Introduction to WML filtering and WML variables.

User avatar
josteph
Developer
Posts: 729
Joined: August 19th, 2017, 6:58 pm

Re: Autofight Utility

Post by josteph » October 10th, 2019, 6:44 pm


Yomar
Posts: 295
Joined: October 27th, 2011, 5:14 am
Contact:

Re: Autofight Utility

Post by Yomar » October 16th, 2019, 10:30 pm

Thx, guys.

Post Reply