Entity custom GUI issue

Place to get help with not working mods / modding interface.
Viidi
Inserter
Inserter
Posts: 36
Joined: Thu Jun 16, 2022 8:52 pm
Contact:

Entity custom GUI issue

Post by Viidi »

Hello.

Context:
I am the author of the mod RailLogisticsDispatcher.
The mod adds an entity based on the deciding combinator with a redesigned GUI (this base has two ports for connecting wires and parameters that allow you to save the desired settings).

To display the gui, I handle the on_gui_opened event, in which I pass my gui to player.opened.

All this worked like a clock, but then an interesting complaint came from a user: in a network game, the original gui of the combinator is displayed for a moment. The user even sent a video: https://www.youtube.com/watch?v=DNfOJ4VNpPs

Tell me, maybe I am displaying the custom gui incorrectly? Then what is the right way?
Maybe this is a bug in the factorio api?
Post Reply

Return to “Modding help”