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.

1 year, 2 months ago
0.17 - 1.1
17.5K

b Upon placing trading Chest (Buy)

3 years ago

Error while running event BlackMarket2::on_built_entity (ID 6)
BlackMarket2/control.lua:2085: attempt to index field 'coal' (a nil value)
stack traceback:
BlackMarket2/control.lua:2085: in function <BlackMarket2/control.lua:2041>

3 years ago

what mods?

3 years ago

did some disabling in my mods, apparently it was the Bio Industries fault.
I have Bob + angel + bio industries installed.

No rush in dealing with incompatibilities :)
Thanks for quick response!

3 years ago

Strange, I'm not able to recreate this issue. Perhaps its the combination of mods? Angels refining seems to be causing issues throughout the system, I don't currently have the time to develop a solution so I'm just marking it as incompatible for now.

3 years ago
(updated 3 years ago)

Understood. Thanks!

3 years ago

Happens with Krastorio2 as well, maybe troubleshoot with this mod aswell?

I wonder if I can send you my modlist...

3 years ago
(updated 3 years ago)

This occurs with me too. Turned off all mods and left only BlackMarket2 and Krastorio2. Bug occurs.

Edit: After starting a new game with different mods, it doesn't occur anymore. Not sure what changed.

3 years ago

Hmm if it occurs again I'll investigate again, but so far I haven't been able to recreate the issue

3 years ago
(updated 3 years ago)

I'm still getting this. Reproduced on 1.0 release with just Black Market 2 and Deadlock's stacking, both up to date.

Minimal save file to reproduce: https://mega.nz/file/nIUGxbLL#eTyGD1XoFPEi9l3n6Su4fNvh4DgzzzkjsKjaKHNCPHk
Just place down the buy chest from inventory.

Edit: Just found out in this minimal save the crash only happens with "Hide Unstacking Recipes" and "Batch Stacking" in Deadlock's both enabled. These are disabled by default.

Judging by the comments above this is likely an issue with any mod that has coal recipes, but only under some specific circumstances. What a weird one...

3 years ago

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

Error while running event BlackMarket2::on_robot_built_entity (ID 14)
BlackMarket2/control.lua:2053: attempt to index field 'coal' (a nil value)
stack traceback:
BlackMarket2/control.lua:2053: in function <BlackMarket2/control.lua:2009>

I also seem to be getting this error.

3 years ago

I just released a patch to fix this, go ahead and test it out!

This thread has been locked.