PresetAdvancement Default Era

It's not easy creating an entire faction or era. Post your work and collaborate in this forum.

Moderator: Forum Moderators

User avatar
Nobun
Code Contributor
Posts: 129
Joined: May 4th, 2009, 9:28 pm
Location: Italy

Re: PresetAdvancement Default Era

Post by Nobun »

A new bug introduced. When you recruit a new unit OR a unit upgrades (any type of upgrade) a "message box" appers.
It has no message if you recruit OR the unit upgrade a NO multi-pather unit. It writes "multipather" if unit is multipather and it is upgraded.

I did now only a few experiments so I am not sure, but perhaps I found the bug (even if I don't know WML)

Code: Select all

[event]
        name=recruit, post advance
        first_time_only=no

        [store_unit]
            [filter]
                x,y=$x1,$y1
            [/filter]
            variable=advancer
        [/store_unit]

        #{DEBUG_MSG $advancer.role} <------ BUG IS HERE
I disabled DEBUG_MSG (changing that line like a comment) and now seems the bug doesn't occur anymore (but I don't test it deaply so you have to verify it). When I have time I will do other experiments to see if I find other bugs and to verify if this one is truely solved.
tsr
Posts: 790
Joined: May 24th, 2006, 1:05 pm

Re: PresetAdvancement Default Era

Post by tsr »

Thanks Nobun, forgot to take out the debug-message, will fix now and upload version 0.0.7 to both 1.6 and 1.7 ;)

/tsr
tsr
Posts: 790
Joined: May 24th, 2006, 1:05 pm

Re: PresetAdvancement Default Era

Post by tsr »

I will ask the mods to close this thread since this add-on has moved into a pack and I prefer to have everything in one thread.

/tsr
Locked