djmango / BlackMarket2

A mod for Factorio economics
https://mods.factorio.com/mod/BlackMarket2
GNU General Public License v3.0
17 stars 7 forks source link

Multiplayer "Neutral Chest" Bug #22

Open WarlordMatt opened 3 years ago

WarlordMatt commented 3 years ago

I ran into an issue in multiplayer where items in a chest would disappear, I would receive no money, and the UI to edit the buy or sell settings did not show when opening a trade chest.

I have done the legwork of finding out why. In multiplayer, there is an option for "neutral chests" to allow the looting of each others goods.

Enabling this setting creates a scenario where items will be sold at the default "every hour" interval (which cannot be changed by the player) - and the money will be awarded to the "neutral" faction instead of any players.

If the mod could be tweaked such that trade chests were able to ignore the "Neutral faction" setting to allow looting AND trading in multiplayer games -- that would be great.

However, if not, I am simply placing this here to let everyone know that BlackMarket2 trade mod is not compatible with the "neutral chests" multiplayer setting.

djmango commented 3 years ago

I can't seem to find this setting. I've written a possible fix, not enabled yet, at line 2042 of control.lua. Is this setting through a mod?