DFHack / dfhack

Memory hacking library for Dwarf Fortress and a set of tools that use it
Other
1.86k stars 468 forks source link

showPopupAnnouncement only showing the last popup, not the new text #2711

Open SouDescolado opened 1 year ago

SouDescolado commented 1 year ago

Trying to use dfhack.gui.showPopupAnnouncement("SOME TEXT HERE",COLOR_WHITE) on a new world to try to force an announcement, it just showed me the last announcement without any change in the text image

Not sure if its relevant, but the same result occurs regardless if game is paused or not

Using DFhack version 50.05-alpha1(release) on x86_64

Dwarf fortress version is v50.05

SouDescolado commented 1 year ago

New info after some testing

If I do a makeAnnouncement, it shows the last message. If I do a PopupAnnouncement, it shows the last message. HOWEVER, If I do both, the makeAnnouncement will show the last message but the PopupAnnouncement will show the message I want. This message will now be the "last message" and will repeat once if I run the code again.