/c game.take_screenshot{show_gui=true} problem

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
Rseding91
Factorio Staff
Factorio Staff
Posts: 13347
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: /c game.take_screenshot{show_gui=true} problem

Post by Rseding91 »

Zeblote wrote:
Rseding91 wrote:Other player's GUIs aren't available.
What? They why is the modding api so limited?
It's not the mod API: other player GUIs don't exist for the local player. They only exist on the local instance the player is connecting from.

Moded GUI elements have special backing classes that store all the properties/values so you can read/write them without actually having the real GUI elements created. That's also why they change the game state because they're saved out to the save file unlike non modded GUI elements.
If you want to get ahold of me I'm almost always on Discord.

User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1524
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Re: /c game.take_screenshot{show_gui=true} problem

Post by binbinhfr »

Rseding91 wrote:Moded GUI elements have special backing classes that store all the properties/values so you can read/write them without actually having the real GUI elements created.
That makes sense.
But it does not explain why the local gui cannot be saved, as it was before (as matjojo the author of SSU mod confirmed it).
My mods on the Factorio Mod Portal :geek:

Post Reply

Return to “Pending”