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 just ...
Search found 5 matches
- Sun Apr 17, 2022 11:16 am
- Forum: Modding help
- Topic: Understanding multiplayer events, GUI, and desyncs
- Replies: 2
- Views: 1126
- Sun Apr 17, 2022 8:45 am
- Forum: Modding help
- Topic: Understanding multiplayer events, GUI, and desyncs
- Replies: 2
- Views: 1126
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 ...
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 ...
- Sun Apr 17, 2022 7:58 am
- Forum: Modding help
- Topic: How to handle long running functions?
- Replies: 9
- Views: 2455
Re: How to handle long running functions?
Thanks for all of your hints and tips, they are super helpful and insightful!
- Thu Apr 14, 2022 6:59 pm
- Forum: Modding help
- Topic: How to handle long running functions?
- Replies: 9
- Views: 2455
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 ...
- Thu Apr 14, 2022 12:57 pm
- Forum: Modding help
- Topic: How to handle long running functions?
- Replies: 9
- Views: 2455
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 ...
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 ...