loki79uk / FS22_UniversalAutoload

Mod for FS22. Please download latest release below.
123 stars 35 forks source link

[Enhancement] Ability to allow users in multiplayer to Enable/Disable UAL completely #103

Open Ironpudge opened 2 years ago

Ironpudge commented 2 years ago

First off, thank you very much for your excellent mod. I play in a multiplayer community that runs multiple servers with many Farm Managers on them. We want to implement UAL in our multiplayer community. The issue we have found is that some players would like to have UAL enabled, and others wouldn't. Some users want to be able to stack higher/wider then the constraints allow, so we would like them to have that option.

We are looking to enable UAL with the manualLoadingOnly="true" option forced on, then allow users to either globally turn UAL on/off for just themselves, or maybe potentially have an option in the store to enable/disable it per trailer, the way Guidance Steering works. Would either of these options be possible? Thank you.

loki79uk commented 2 years ago

There are a lot of points there, but it is possible that I could add all of them in a future version. The main issue is the added complexity and the time it takes for me to perform MP testing (SP testing is hard enough already).

I originally intended to make the local settings file for each player apply to their own vehicles in MP (and still do). All loading calculations are done by the server, so I would need to keep a server side copy of each users configurations and switch to that when each player entered a certain vehicle.

The global settings are currently designed to be truly global, but of course in principle they could be set per player as well. It just requires more complex logic and a lot more MP testing too.

The shop option is also a possibility, but that would then be in addition to the local settings file. I guess you would need to have the vehicle configured in your local settings AND select the UAL option in the shop for it to work.

So the answer is "yes, it is possible", but unlikely given the amount of work required and I don't even play in MP myself! :D (I know it is a bit of a cop out, but for now if some players don't want to use it at all, they can always just unbind the keys)

Ironpudge commented 2 years ago

Appreciate the quick response. Sorry for lumping multiple items into this 1 item. So there is an option for individual users to modify their local settings files to completely disable UAL (they can load stuff manually with out any snapping in place) while the server is forcing manualLoadingOnly="true"? We would want to keep the only way to use UAL is with the manualLoadingOnly="true" flag. If there is that is great and all we are looking for. Thank you.

loki79uk commented 2 years ago

Sorry, at the moment only the server side settings are used for all players, so the local settings file is ignored for MP clients (or should be). I can certainly have a look how difficult it would be to just add this one feature for now.

homebrewhops commented 2 years ago

I am interested in this as well and can assist with time and effort to test in multiplayer.