Gui Debug Tools 0.10.5 for 1.16.x & 1.17.x BfW
Moderator: Forum Moderators
Re: Gui Debug Tools 0.9.8 for BfW 1.13/1.14
I've just run in to an annoying feature - the
[show_if][debug_status]
of the menu items gets written in to the save files, and then causes WML errors if given to someone who doesn't have the add-on installed.elttab-thonsew wrote: ↑May 20th, 2018, 1:57 pm game is running perfect but there is a message appearing on my screen during gameplay after using "eittab-thonsew-LoW-Bounty Hunters Turn 1.gz":
<Invalid WML Found> unknown conditional wml: [debug_status](4)
- Celtic_Minstrel
- Developer
- Posts: 2292
- Joined: August 3rd, 2012, 11:26 pm
- Location: Canada
- Contact:
Re: Gui Debug Tools 0.9.8 for BfW 1.13/1.14
I think what I'd recommend here is just wrapping those in an
#ifhave
- you could test for this addon's _main.cfg for example. I don't think there's anything SFD can actually do to avoid it...-
- Developer
- Posts: 546
- Joined: January 12th, 2011, 2:18 am
- Location: Pennsylvania, USA
Re: Gui Debug Tools 0.9.8 for BfW 1.13/1.14
Thanks for the feedback, I'll see if I can do something with it.
Co-Author of Winds of Fate
My Add-ons: Random Campaign, Custom Campaign, Ultimate Random Maps, Era of Legends, Gui Debug Tools
Erfworld: The comic that lead me to find Wesnoth.
My Add-ons: Random Campaign, Custom Campaign, Ultimate Random Maps, Era of Legends, Gui Debug Tools
Erfworld: The comic that lead me to find Wesnoth.
Re: Gui Debug Tools 0.9.8 for BfW 1.13/1.14
Would it be possible to add a way to set the undrainable, unplaguable, unpoisonable and invulnerable status?
(not_living should be set automatically by the game if the first three are set.)
And there is a deprecation notice in stderr.
(not_living should be set automatically by the game if the first three are set.)
And there is a deprecation notice in stderr.
Try out the dark board theme.
- Celtic_Minstrel
- Developer
- Posts: 2292
- Joined: August 3rd, 2012, 11:26 pm
- Location: Canada
- Contact:
Re: Gui Debug Tools 0.9.8 for BfW 1.13/1.14
Why would not_living be automatically set if the first three are set? I don't see how the combination of those is equivalent not being a living creature?
Re: Gui Debug Tools 0.9.8 for BfW 1.13/1.14
not_living was the original status, it was split up into the three. Due to compatibility units have it which have all three. Seems to be done by the engine.
Try out the dark board theme.
- Celtic_Minstrel
- Developer
- Posts: 2292
- Joined: August 3rd, 2012, 11:26 pm
- Location: Canada
- Contact:
Re: Gui Debug Tools 0.9.8 for BfW 1.13/1.14
Well, I can totally understand not_living setting the other three, but the reverse doesn't seem to make sense...
Re: Gui Debug Tools 0.9.8 for BfW 1.13/1.14
In trait definitions one sets all three statuses, but to not break with abilities and alike which have not been rewritten to check for one of the three instead, non_living is set as well for compatibility.
The Feeding ability for example checks for unplaguable now.
Basically not_living is or should be deprecated and exists only to keep compatibility to code which has not been rewritten yet. It's more an alias than a proper status.
The Feeding ability for example checks for unplaguable now.
Basically not_living is or should be deprecated and exists only to keep compatibility to code which has not been rewritten yet. It's more an alias than a proper status.
Try out the dark board theme.
-
- Developer
- Posts: 546
- Joined: January 12th, 2011, 2:18 am
- Location: Pennsylvania, USA
Re: Gui Debug Tools 0.9.8 for BfW 1.14
Thanks for pointing these out, I'll get around to them at some point.
Co-Author of Winds of Fate
My Add-ons: Random Campaign, Custom Campaign, Ultimate Random Maps, Era of Legends, Gui Debug Tools
Erfworld: The comic that lead me to find Wesnoth.
My Add-ons: Random Campaign, Custom Campaign, Ultimate Random Maps, Era of Legends, Gui Debug Tools
Erfworld: The comic that lead me to find Wesnoth.
-
- Developer
- Posts: 546
- Joined: January 12th, 2011, 2:18 am
- Location: Pennsylvania, USA
Re: Gui Debug Tools 0.9.8 for BfW 1.14
Any idea what's triggering it? I can't seem to reproduce it with v0.9.8 on bfw 1.14.3+dev
Co-Author of Winds of Fate
My Add-ons: Random Campaign, Custom Campaign, Ultimate Random Maps, Era of Legends, Gui Debug Tools
Erfworld: The comic that lead me to find Wesnoth.
My Add-ons: Random Campaign, Custom Campaign, Ultimate Random Maps, Era of Legends, Gui Debug Tools
Erfworld: The comic that lead me to find Wesnoth.
Re: Gui Debug Tools 0.9.8 for BfW 1.14
Each switch to another scenario does print it. By stderr I really mean stderr, not ingame. I can show the message if I get a hand on a wesnoth installation in the next days.
Try out the dark board theme.
Re: Gui Debug Tools 0.9.8 for BfW 1.14
A great and very helpful tool, and so easy to use. Thank you. Good job.
Author of Antar, Son of Rheor ( SP Campaign) | Development Thread + Feedback Thread + Replays of ASoR
-
- Developer
- Posts: 546
- Joined: January 12th, 2011, 2:18 am
- Location: Pennsylvania, USA
Re: Gui Debug Tools 0.9.8 for BfW 1.14
@Skiki Is this it?
If so, thanks, I've fixed it for the next version
@Adamant14 You're welcome
20180725 19:57:39 warning deprecation: helper.set_wml_tag_metatable has been deprecated and may be removed at any time.
(Note: You should use wml.tag instead in new code)
If so, thanks, I've fixed it for the next version
@Adamant14 You're welcome
Co-Author of Winds of Fate
My Add-ons: Random Campaign, Custom Campaign, Ultimate Random Maps, Era of Legends, Gui Debug Tools
Erfworld: The comic that lead me to find Wesnoth.
My Add-ons: Random Campaign, Custom Campaign, Ultimate Random Maps, Era of Legends, Gui Debug Tools
Erfworld: The comic that lead me to find Wesnoth.
-
- Developer
- Posts: 546
- Joined: January 12th, 2011, 2:18 am
- Location: Pennsylvania, USA
Re: Gui Debug Tools 0.9.9 for BfW 1.14
Version 0.9.9 is up for BfW 1.14 branch and master
Changes
Unit Debug: Copy Unit - Have copies get new names
Unit Debug: Status - Add not_living, undrainable, unplagueable, & unpoisonable
Unit Debug: Variables - Update tooltip to reflect the ability to access sub-containers
Unit Debug: Add Level slider
Unit Debug: Add Amla slider
Unit Debug: Reordered when hitpoints, attacks_left, moves, and experience is handled to better fit with Level slider
Dealt with some deprecation messages showing up in the log
Changes
Unit Debug: Copy Unit - Have copies get new names
Unit Debug: Status - Add not_living, undrainable, unplagueable, & unpoisonable
Unit Debug: Variables - Update tooltip to reflect the ability to access sub-containers
Unit Debug: Add Level slider
Unit Debug: Add Amla slider
Unit Debug: Reordered when hitpoints, attacks_left, moves, and experience is handled to better fit with Level slider
Dealt with some deprecation messages showing up in the log
Co-Author of Winds of Fate
My Add-ons: Random Campaign, Custom Campaign, Ultimate Random Maps, Era of Legends, Gui Debug Tools
Erfworld: The comic that lead me to find Wesnoth.
My Add-ons: Random Campaign, Custom Campaign, Ultimate Random Maps, Era of Legends, Gui Debug Tools
Erfworld: The comic that lead me to find Wesnoth.
- Celtic_Minstrel
- Developer
- Posts: 2292
- Joined: August 3rd, 2012, 11:26 pm
- Location: Canada
- Contact:
Re: Gui Debug Tools 0.9.9 for BfW 1.14
...what's an AMLA slider? And level slider? Huh? That's not normally something you want to adjust, is it?