My mod Multipurpose Generator not working in 1.1 only on server and multiplayer

This mod works very well in single player but @ChristmasChrist told me that the game freezes as soon as he places a conveyor in it. See our exchanges here: https://discord.com/channels/555424930502541343/555516979260293132/1378731813329047622 https://discord.com/channels/555424930502541343/555516979260293132/1382091197555802143 https://discord.com/channels/555424930502541343/555516979260293132/1382500828576878642 I guess I'll have to split the code between Event Tick and Event Factory Tick, like I had to do for my Dissembler mod. (Because I use sound and FX) But then I get a crash when running the game. Since I am producing Power with this machine, do I need to override the 3 Factory Power Production? If so, I don't know how to do it. Attached are my sources. If anyone finds a solution, please let me know.
30 Replies
Jean Michel
Jean MichelOPβ€’3mo ago
Or should the replication type be changed?
Robb
Robbβ€’3mo ago
this question makes me suspect you may not have a strong grasp on what the Replicates settings mean, have you read this page and watched the video linked? https://docs.ficsit.app/satisfactory-modding/latest/Development/Satisfactory/Multiplayer.html
Multiplayer :: Satisfactory Modding Documentation
Although not all mods need special code to handle multiplayer, it’s important to create your mods with multiplayer in mind. Adding s...
Robb
Robbβ€’3mo ago
for what needs to happen on what side, think sort of like this. if a tree falls in the forest with no one around, it still falls, but no one is around to hear it. so the "tree has fallen" data still needs to change (server side), but playing any animations or sounds usually happens client side. except for progress through an animation or sound loop and stuff
Jean Michel
Jean MichelOPβ€’3mo ago
Yes, I read it, but I'm no expert in MP (and I'm even bad at it), but I'm trying to find a solution among all the 'mistakes' I could have made. And I've never tested or even played in MP Why does only 1 player out of thousands who downloaded my mod have this problem? Is it my code or their server configuration? Why could he use it in 1.0?
Robb
Robbβ€’3mo ago
you will have to get the local multiplayer testing stuff set up to be able to troubleshoot this >docsearch multiplayer testing
FICSIT-Fred
FICSIT-Fredβ€’3mo ago
Testing Your Mods :: Satisfactory Modding Documentation
Testing your mods to ensure that content is accessible and there are no bugs present is an important step in development. Careful testing be...
Robb
Robbβ€’3mo ago
are you sure it was working for him in multiplayer in 1.0? there is a very decent chance that this problem simply went unnoticed/unreported. people don't always speak up when stuff breaks
Jean Michel
Jean MichelOPβ€’3mo ago
Good question! I just reread our exchange, and in fact, he doesn't say that; he only talks about version 1.1. "Downloads: 10,483" and none of them would be in MP? The simplest thing is to stipulate in the description of the mod that it may not be playable in MP, because I no longer have the time to take care of it.
Robb
Robbβ€’3mo ago
if life is keeping you busy that is probably best, yeah. you may want to publish the source code so others can take a look and potentially add it for you
Jean Michel
Jean MichelOPβ€’3mo ago
Yes, I don't have the time or the courage. Thank you for your time. I will post my sources for all my mods this weekend Done, all my sources are available
Acxd
Acxdβ€’3mo ago
I can't promise anything, but I'll take a look as soon as possible. Before that, could you please add a free open source license in your repo, like GPL-3, Apache 2, MIT (preferable)
Acxd
Acxdβ€’3mo ago
GitHub Docs
Adding a license to a repository - GitHub Docs
You can include an open source license in your repository to make it easier for other people to contribute.
Jean Michel
Jean MichelOPβ€’3mo ago
Thanks I created the branch, I hope everything is OK
No description
Acxd
Acxdβ€’3mo ago
Yup, it's all good. I'll dive into it later πŸ‘
Jean Michel
Jean MichelOPβ€’3mo ago
ChristmasChrist
ChristmasChristβ€’3mo ago
Nice guys here πŸ˜‰ I hadn't the chance to test it on 1.0, but with only this mod enabled it has the same crashing/stuck bug as with 75 mods enabled πŸ™‚ Thank you Jean Michel for this mod anyways. I like the design and the sound it plays. πŸ‘ For my setup i use: Indifferent Broccoli dedicated server, linux client playing with protonge-10.4, latest mesa drivers from kisak. My two other friends are cycling from the same linux system and windows. Both have the same trouble in mp
Jean Michel
Jean MichelOPβ€’3mo ago
Thanks, I hope someone finds the solution.
ChristmasChrist
ChristmasChristβ€’3mo ago
Would be really cool, still thank you for supporting satisfactory mods community πŸ˜‰ Acxd and Jean do you have a donation link ?
Acxd
Acxdβ€’3mo ago
I don't take donations, but I would accept a basic Nitro gift
ChristmasChrist
ChristmasChristβ€’3mo ago
Alright πŸ™‚
Jean Michel
Jean MichelOPβ€’3mo ago
No, I create for fun, but thanks for the offer
ChristmasChrist
ChristmasChristβ€’3mo ago
@Acxd please confirm if you also got the basic abo for nitro as discord seems to delete my link 😭
Robb
Robbβ€’3mo ago
@ChristmasChrist I just purposefully deleted that link now, as I am pretty sure ANYONE can claim that gift when you post it here. please send to people via DMs instead to clarify, I don't know what was causing the first link you sent to be deleted. I deleted the second one
Acxd
Acxdβ€’3mo ago
Thanks, Robb. @ChristmasChrist I haven't received anything so far, but if someone else has already claimed it, that's fine, don't worry. Your intention is what matters, so thank you :worryLove:
ChristmasChrist
ChristmasChristβ€’3mo ago
So in the gift area there arent any links to retrieve so i guess they have been taken already. Ist there a was i can dm you for a discord gift @Acxd {Alphabet Soup} @Jean Michel ? Thanks for helping ❀️
Jean Michel
Jean MichelOPβ€’3mo ago
Thank you for the offer, but I don't need anything. And why would you pay for a mod you can't use?
Acxd
Acxdβ€’3mo ago
Yes, click over my nickname, click once more over my avatar image to view the full profile, then you click
No description
ChristmasChrist
ChristmasChristβ€’3mo ago
Not the mod itself just for supporting and creating mods at all πŸ˜‰ Oh most times i thought i need to add someone to the friend list to get a message delivered. Alright then i'll try that πŸ˜‰
Jean Michel
Jean MichelOPβ€’3mo ago
I was paid for 45 years as a developer (among others) by companies, and now that I'm retired, I create for free when I have the time and desire.
ChristmasChrist
ChristmasChristβ€’3mo ago
Yea thats really cool πŸ‘

Did you find this page helpful?