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

g error trying to buy in tank

3 years ago

The mod Black Market 2 (2.1.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event BlackMarket2::on_gui_click (ID 1)
BlackMarket2/control.lua:547: attempt to index field '?' (a nil value)
stack traceback:
BlackMarket2/control.lua:547: in function 'build_menu_objects'
BlackMarket2/control.lua:2730: in function <BlackMarket2/control.lua:2408>

3 years ago

Got the same one, digging around if I find something useful.
It's a beautiful mod, and we should help to shave it! :)

3 years ago

Done this report https://github.com/djmango/BlackMarket2/issues/43 on topic, just missed being #42 :(

13 days ago

That is issue #43, from the 2.1 builds. The object menu has been rebuilt since and the nil that build_menu_objects hit is gone.

How to test: on 2.2.21 open a buy tank and buy one batch. If it still errors, paste the line and I will look again.

New response