Gui Debug Tools 0.9.8 for BfW 1.13/1.14

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

Moderators: Forum Moderators, Developers

octalot
Code Contributor
Posts: 181
Joined: July 17th, 2010, 7:40 pm

Re: Gui Debug Tools 0.9.8 for BfW 1.13/1.14

Post by octalot » May 20th, 2018, 3:11 pm

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)

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

Re: Gui Debug Tools 0.9.8 for BfW 1.13/1.14

Post by Celtic_Minstrel » May 20th, 2018, 3:28 pm

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...
Author of The Black Cross of Aleron campaign and Default++ era.
Maintainer of Steelhive.

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

Re: Gui Debug Tools 0.9.8 for BfW 1.13/1.14

Post by SigurdFireDragon » May 21st, 2018, 3:23 am

Thanks for the feedback, I'll see if I can do something with it.

Post Reply