UI icons not vanishing when mod uninstalled

Place to get help with not working mods / modding interface.
adeade45
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sun May 18, 2014 3:08 am
Contact:

UI icons not vanishing when mod uninstalled

Post by adeade45 »

Only happens for this one save, so I'm going to provide it. As you can see from the save data, Shuttle Train Lite and Upgrade Planner are both uninstalled, yet ingame both mods' buttons still appear, albeit with a "no key" description and no function when clicked.

https://drive.google.com/file/d/0B6Fgji ... sp=sharing

All other saves correctly remove the UI button when a mod is removed. I haven't tested any other mods than these two, but these two buttons have been messed up for a long time (Before the update that was supposed to fix this even)
Rseding91
Factorio Staff
Factorio Staff
Posts: 14345
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: UI icons not vanishing when mod uninstalled

Post by Rseding91 »

Was the save created before 0.15.20~ ish? If so, then it's already fixed but the save is in a known bad state. New saves created since then handle modded GUI elements correctly.
If you want to get ahold of me I'm almost always on Discord.
adeade45
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sun May 18, 2014 3:08 am
Contact:

Re: UI icons not vanishing when mod uninstalled

Post by adeade45 »

Yes, it was, is there a way for me to get the icons removed?

Why is the GUI saved in the save anyways? Is it too processor-intensive to NOT save them and instead have the mods add their buttons every time the save is loaded?
Rseding91
Factorio Staff
Factorio Staff
Posts: 14345
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: UI icons not vanishing when mod uninstalled

Post by Rseding91 »

adeade45 wrote:Yes, it was, is there a way for me to get the icons removed?

Why is the GUI saved in the save anyways? Is it too processor-intensive to NOT save them and instead have the mods add their buttons every time the save is loaded?
You can use the Lua API to erase all of the buttons - modding help would probably work best for that.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Modding help”