Free market + bottomless storage [PRE-BETA]


Works with any chest. Customizable, plain. More fair market with players than "Black Market". Use cases: Multiplayer trading; bottomless storage; cross-surface transportation; AI trading using extensions; Quantum Resource Distribution Code-name: iFreeMarket Has much better performance than previous version and "Memory Storage" mod and works with any mod. Less cheaty version: https://mods.factorio.com/mod/free-market

Content
5 days ago
1.1 - 2.0
1.36K
Logistics Storage

b [FIXED?][<=0.35.8] Error on Server

2 years ago

I installed this on my Seablock server today and it spat out an error when someone tried to use the GUI.

567.011 Error MainLoop.cpp:1284: Exception at tick 44017397: The mod Free market + infinite storage (0.35.8) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event iFreeMarket::on_gui_click (ID 1)
iFreeMarket/models/free-market.lua:1144: attempt to index local 'f_embargoes' (a nil value)
stack traceback:
iFreeMarket/models/free-market.lua:1144: in function 'update_embargo_table'
iFreeMarket/models/free-market.lua:1458: in function 'open_embargo_gui'
iFreeMarket/models/free-market.lua:3484: in function 'f'
iFreeMarket/models/free-market.lua:3537: in function 'on_gui_click'
iFreeMarket/models/free-market.lua:4507: in function <iFreeMarket/models/free-market.lua:4506>
567.012 Error ServerMultiplayerManager.cpp:91: MultiplayerManager failed: "The mod Free market + infinite storage (0.35.8) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event iFreeMarket::on_gui_click (ID 1)
iFreeMarket/models/free-market.lua:1144: attempt to index local 'f_embargoes' (a nil value)
stack traceback:
iFreeMarket/models/free-market.lua:1144: in function 'update_embargo_table'
iFreeMarket/models/free-market.lua:1458: in function 'open_embargo_gui'
iFreeMarket/models/free-market.lua:3484: in function 'f'
iFreeMarket/models/free-market.lua:3537: in function 'on_gui_click'
iFreeMarket/models/free-market.lua:4507: in function <iFreeMarket/models/free-market.lua:4506>"

2 years ago
(updated 2 years ago)

I didn't test it yet, but I made a fix already: https://mods.factorio.com/mod/iFreeMarket/downloads

New response