Community Forum

FS22 MP Assistance Request

Forum Overview >> Scripting

CategoryScripting
Created20.12.2022 03:02


Ryan Herzog (TwistedGA) 20.12.2022 03:02
I'm looking for someone who might be able to offer some assistance in bringing me up to speed with the preferred methods for handling multiplayer events. I have a long history with LUA and have solved nearly every issue that has come up besides one. The script is way too large to be posted here, but I will gladly share over discord if someone can help. Currently the issue that I am unable to solve is the visibility state of an object changing when one player leaves the server. I have a print in every function within the main script and the events, along with multiple others throughout the script and the only thing happening when a player leaves that I can see, is the onDelete function for that specific client, which does only a couple things, none of which should effect the server or the clients that remain in the server like it is.

I have a strong feeling that the way I am handling some of the events are to blame, but there isn't a lot of information on the different ways to handle them and I haven't been able to decipher the difference based purely on looking at source. Any help or direction would be appreciated greatly as this is the last thing to solve before passing to a testing team and then onto giants for modhub. Thanks in advance, my DC is TwistedGA#nine four four nine.


Note: Log in to post. Create a new account here.