Black Market 2

by djmango

Sell and buy items/fluids/energy on the black market using trading chests/tanks/accumulators, choosing the frequency of exchanges and related fees. You can now sell your overproduction and buy things that you don't want to craft by yourself. You can also use these trading units as a paying shipment system.

10 days ago
0.17 - 2.1
26.2K

b Error

1 year, 10 months ago

Error while running event BlackMarket2::on_tick (ID 0)
BlackMarket2/control.lua:972: bad argument #2 of 3 to 'index' (string expected, got nil)
stack traceback:
[C]: in function '__index'
__BlackMarket2
/control.lua:972: in function 'update_objects_prices'
BlackMarket2/control.lua:2256: in function <BlackMarket2/control.lua:2244>

Thats the error i get

1 year, 10 months ago

I also get this error when loading a month-old save (there are no newer saves). The error is not an isolated case

1 year, 10 months ago

mode version: Black Market 2 (2.2.12)

13 days ago
(updated 13 days ago)

Same nil index in the price pass, fixed in 2.2.21.

How to test: update to 2.2.21, load the save, wait one in-game hour, open the market window.

New response