Gui Debug Tools 0.9.11 for BfW 1.14

Discussion of Lua and LuaWML support, development, and ideas.

Moderators: Forum Moderators, Developers

User avatar
SigurdFireDragon
Developer
Posts: 466
Joined: January 12th, 2011, 2:18 am
Location: Pennsylvania, USA

Re: Gui Debug Tools 0.9.9 for BfW 1.14

Post by SigurdFireDragon » August 15th, 2018, 2:46 am

Celtic_Minstrel wrote:
August 15th, 2018, 12:13 am
...what's an AMLA slider? And level slider? Huh? That's not normally something you want to adjust, is it?
The level slider allows for easy advancing or declining of a unit (ie, turn a Great Mage back into a Mage)
The amla slider allows applying the specified amount of additional leveling to a unit at max level (as determined by an empty advances_to field)

User avatar
Celtic_Minstrel
Developer
Posts: 1568
Joined: August 3rd, 2012, 11:26 pm
Location: Canada
Contact:

Re: Gui Debug Tools 0.9.9 for BfW 1.14

Post by Celtic_Minstrel » August 15th, 2018, 3:01 am

Okay, so basically pushing the sliders up is equivalent to :unit advances=n?

In other news, it looks like this was probably the cause of the set_wml_metatable debug message I was seeing, as it seems to be gone after I upgraded (yay!). Now I just have to figure out where the other two debug messages that don't seem to be in my campaign are coming from...
Author of The Black Cross of Aleron campaign and Default++ era.
Maintainer of Steelhive.

User avatar
SigurdFireDragon
Developer
Posts: 466
Joined: January 12th, 2011, 2:18 am
Location: Pennsylvania, USA

Re: Gui Debug Tools 0.9.9 for BfW 1.14

Post by SigurdFireDragon » August 15th, 2018, 3:22 am

Celtic_Minstrel wrote:
August 15th, 2018, 3:01 am
Okay, so basically pushing the sliders up is equivalent to :unit advances=n?
Yes
Celtic_Minstrel wrote:
August 15th, 2018, 3:01 am
In other news, it looks like this was probably the cause of the set_wml_metatable debug message I was seeing, as it seems to be gone after I upgraded (yay!). Now I just have to figure out where the other two debug messages that don't seem to be in my campaign are coming from...
set_wml_metatable debug message was one of the ones fixed. It's possible there might still be others needing fixing somewhere in GDT.

denispir
Posts: 184
Joined: March 14th, 2013, 12:26 am

Re: Gui Debug Tools 0.9.9 for BfW 1.14

Post by denispir » January 22nd, 2019, 10:08 am

Waow, I just discover this thread. Your tool looks fantastic SigurdFireDragon. I don't really need it yet because I am just startind to explore Lua AI design & realisation, but surely in the future, yes. Not only to avoid" back to main menu + F5", but to have variants of execution with the base code unchanged (I'd say).
Thank you, diniz
(By the way, where are documented features like F5? Guess I probably learnt it one day reading a thread, but how can one know it else?)

User avatar
Ravana
Forum Moderator
Posts: 2262
Joined: January 29th, 2012, 12:49 am
Location: Estonia
Contact:

Re: Gui Debug Tools 0.9.9 for BfW 1.14

Post by Ravana » January 22nd, 2019, 3:43 pm

F5 is only for WML changes. If you work with Lua, you never need it.

User avatar
SigurdFireDragon
Developer
Posts: 466
Joined: January 12th, 2011, 2:18 am
Location: Pennsylvania, USA

Re: Gui Debug Tools 0.9.10 for BfW 1.14

Post by SigurdFireDragon » March 3rd, 2019, 5:21 pm

Version 0.9.10 is up

Changes
Fixed <Invalid WML Found> unknown conditional wml: [debug_status](4) error that occurs when giving saves/replays made when this add-on was present to those without this add-on. Fixed by removing the need to define a conditional tag. Thanks for reporting it, octalot
Also removed defining the lua console action tag.

@denispir: Thanks

User avatar
SigurdFireDragon
Developer
Posts: 466
Joined: January 12th, 2011, 2:18 am
Location: Pennsylvania, USA

Re: Gui Debug Tools 0.9.11 for BfW 1.14

Post by SigurdFireDragon » April 20th, 2019, 2:42 pm

Version 0.9.11 is up

Changes
Gamestate Inspector
Shows version number of GDT in the upper right corner

Unit Debug
Objects textbox: allows copying any object currently held by a unit or removing objects from a unit
Traits: allows traits from all known races, as well as traits held by all existing units. How traits are handled has been changed, though there shouldn't be any use visible differences.
Alma slider: renamed to Advancements, reports the current number of advancements and can raise and lower number of advancements if the unit is at max level. 0 always clears a unit's advancements
Location: simplified instruction and now only empty string places on recall
Attack: Cleaned up code, changed how attack objects are removed. If you created an attack object with a previous version of GDT, this field will not be able to remove it. Use Objects field for this case.
Abilities: Same changes as Attack

Side Debug
Seed Recall: Now includes all leader extra_recruits
Clear Recall: functionality has been merged into the Seed Recall slider
Starting Location label has been added.
Location has been renamed Teleport. Can now send all non-leaders to recall with single space.
Recall Units textbox: Accepts a comma separated list of unit ids. units will be recalled for free next to location the dialog was triggered at.

Misc
Use of 'Unit' in some field names has been dropped where it was superfluous
Files renamed for clarity & simplification
Code cleanup and simplification throughout
Removed all tag creation
Dofile now used everywhere except for loading helper

Post Reply