The Blueprint Designer Lab


Enter your lab to design your blueprints. Mod updated for the 4th by daniel90c and minno. Please be gentle, the lab guy has been to places.

Content
3 years ago
0.18 - 1.1
28.1K
Blueprints

b Crash when exiting the lab with nonempty cursor

3 years ago

There is a typo that causes the game to crash when exiting the lab with a blueprint in hand.


The mod The Blueprint Designer Lab (1.0.3) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event BlueprintLab_design::on_gui_click (ID 1)
LuaPlayer doesn't contain key clean_cursor.
stack traceback:
[C]: in function 'index'
__BlueprintLab_design
/scripts/logic.lua:130: in function 'ReturnBlueprintImport'
BlueprintLab_design/scripts/logic.lua:93: in function 'ToTheWorld'
BlueprintLab_design/scripts/logic.lua:9: in function 'OnLabButton'
BlueprintLab_design/scripts/gui.lua:46: in function <BlueprintLab_design/scripts/gui.lua:44>


It shold be clear_cursor, not clean_cursor.

3 years ago
(updated 3 years ago)

Anyone looking for a quick fix.

In the mod files, find logic.lua, open with notepad and at line 130

It reads
if not player.clean_cursor() then

Change and save to read
if not player.clear_cursor() then

3 years ago

Thank you 4M_Peri!
I really wanted to fix this, it is a great mod.

2 years ago

Can we get this fix into a release please?

2 years ago
(updated 2 years ago)

As an interim measure, Ive put out a typo fix here: https://mods.factorio.com/mod/BlueprintLab_Blu3wolf

As a longterm solution, either daniel90c comes back to update the mod, or we move over to a new alternative, or someone picks this mod up to maintain long term.

Im not currently offering any maintenance of this mod, which is why Ive left my upload as MIT.

A new alternative was just posted here: https://mods.factorio.com/mod/blueprint-sandboxes

Ill probably try it out on my next save, for now Ill be using the typo fix - thanks again to 4M_Peri for that.

Edit: It seems using a new name for the mod upload is problematic, as it means GUI unifier no longer works with it.

New response