Search found 5 matches

by hyperthalamus
Sun Apr 17, 2022 11:16 am
Forum: Modding help
Topic: Understanding multiplayer events, GUI, and desyncs
Replies: 2
Views: 742

Re: Understanding multiplayer events, GUI, and desyncs

Thanks! I think I understood the part about the on_load event and I have read the data lifecycle docs... I think what I was missing so far was: All inputs (includes settings changes, keypresses, "actions" done by mouse, shortcuts etc) from all players gets to all clients, the code will jus...
by hyperthalamus
Sun Apr 17, 2022 8:45 am
Forum: Modding help
Topic: Understanding multiplayer events, GUI, and desyncs
Replies: 2
Views: 742

Understanding multiplayer events, GUI, and desyncs

Hi everyone, disclaimer: I'm super new to writing mods, so expect a couple of noob questions: I want to write a mod that builds entities, triggered by various events (GUI and other). I'm trying to understand how exactly GUI events and events in general work in multiplayer context and how to avoid de...
by hyperthalamus
Sun Apr 17, 2022 7:58 am
Forum: Modding help
Topic: How to handle long running functions?
Replies: 9
Views: 1733

Re: How to handle long running functions?

Thanks for all of your hints and tips, they are super helpful and insightful!
by hyperthalamus
Thu Apr 14, 2022 6:59 pm
Forum: Modding help
Topic: How to handle long running functions?
Replies: 9
Views: 1733

Re: How to handle long running functions?

Thanks everyone, these are some good replies. I already thought it might go into this direction. So essentially it means a lot more work for us mod developers to take care of appropriately splitting the code into small processing chunks... this perspective is something new for me and I'll have to wr...
by hyperthalamus
Thu Apr 14, 2022 12:57 pm
Forum: Modding help
Topic: How to handle long running functions?
Replies: 9
Views: 1733

How to handle long running functions?

Hi everyone, I'm new to modding Factorio (and modding in general), but have a lot of experience with software development. Super excited to get started on modding Factorio, I have played for around 800 hours and getting into mods feels like the next step in automating everything :D I'm still trying ...

Go to advanced search