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

Error placing Buy Chest. 2.0.4 DID RESOLVE! #26

Closed SkornClaw closed 3 years ago

SkornClaw commented 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_built_entity (ID 6) BlackMarket2/control.lua:2053: attempt to index field 'coal' (a nil value) stack traceback: BlackMarket2/control.lua:2053: in function <BlackMarket2/control.lua:2009>

This error happens when U place the buy chest.

Error does not seem to be related to Krastorio2.

AndrewBramModSave.zip

AndrewBramModSave 2.zip

Image is of a mod save I had where Black Market 2 was previously working.

image

Just to add to the fun and confusion, I just synced my mod settings to save save where it did work, and it did not let me place the chest after the sync (Which to me suggests that its something happening during map creation).

Also with my Current mod loadout, I am capable of loading my save without Syncing and the Black Market 2 mod will work with all of the new mods installed.

Bram Solo Mods.zip This is the save where it worked (Not that its relevant, just in case its needed)

djmango commented 3 years ago

I am unable to recreate this issue. I'm releasing an update with something that should resolve this regardless, but I can't verify as even with your saves and mods I can't recreate the issue. Make sure you are on latest stable factorio and have your mods updated

SkornClaw commented 3 years ago

I really hope what you release fixes it because I really miss using this mod and for the life of me couldn't figure out why, or where the conflict comes. You also synched the mods start-up settings correct?

djmango commented 3 years ago

yes I did, patch should be up tonight or tomorrow night

SkornClaw commented 3 years ago

Nevermind, Issue is resolved.

Many Thanks.