Page 1 of 1
Blueprint lab mod crashes my game if I try to exit
Posted: Wed May 25, 2022 7:22 pm
by Vivaloz
I am talking about this (
https://mods.factorio.com/mod/BlueprintLab_design) mod.
When exiting the lab, factorio crashes and this error message appears:
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)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__BlueprintLab_design/scripts/logic.lua:88: 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>
This happened to me for no reason at all. Was designing a blueprint in the morning and when exiting in the evening now I can't. I've tried restarting, removing the mod and loading autosaves but nothing works. Please help, I can't continue playing anymore since I am stuck in the lab!!
Perhaps someone here knows a solution?? The factory must grow but I can't !!
Re: Blueprint lab mod crashes my game if I try to exit
Posted: Wed May 25, 2022 8:34 pm
by FuryoftheStars
Try this:
0) You may need to uninstall the mod, I’m not sure.
1) Open the
console
2) Use the
teleport command, adding in the
surface data.
So I
think the command will look like this:
Code: Select all
/c game.player.teleport({0,0}, game.surfaces[1])
That is untested (not near a computer), but I think that should teleport you to the original spawn point.
Re: Blueprint lab mod crashes my game if I try to exit
Posted: Thu May 26, 2022 1:14 pm
by Vivaloz
I mean, the command works. But the game still thinks I'm in the lab, so the only difference here is that I'm still stuck in the lab and I see my own base. I removed the mod beforehand, but I am still in the lab. WTF is this mod ?? I see the trains moving and the world working but I can't interact with the menu??
Re: Blueprint lab mod crashes my game if I try to exit
Posted: Thu May 26, 2022 1:17 pm
by Vivaloz
Re: Blueprint lab mod crashes my game if I try to exit
Posted: Thu May 26, 2022 1:38 pm
by Vivaloz
teleporting to spawn has created the weirdest glitch in factorio I've ever seen
Re: Blueprint lab mod crashes my game if I try to exit
Posted: Thu May 26, 2022 7:34 pm
by DaveMcW
Re: Blueprint lab mod crashes my game if I try to exit
Posted: Fri May 27, 2022 8:16 am
by Vivaloz
Thanks for helping. I've been looking at the code of this mod and I think these operations should be performed:
should be false.
The recipe
should be removed.
The recipe
should be removed.
The recipe
should be removed.
Re: Blueprint lab mod crashes my game if I try to exit
Posted: Fri May 27, 2022 8:21 am
by Vivaloz
Thanks for helping. I've been looking at the code of this mod and I think these operations should be performed:
- player.cheat_mode - should be false.
The recipe - "bpl-electric-energy-interface" - should be removed.
The recipe - "bpl-infinity-chest" - should be removed.
The recipe - "bpl-infinity-pipe" - should be removed.
The recipe - "bpl-loader" - should be removed.
The recipe - "bpl-fast-loader" - should be removed.
The recipe - "bpl-express-loader" - should be removed.
The player should be teleported to - {0, 0} -.
The controls should change to - {type = defines.controllers.character, character = playerData.character} -.
The inventory of the player and personal logistics should be returned.
The player should be destructible.
The ownership of all items in the world should be returned.
How do I perform this operations in the console? How will I return my data saved by the mod?
Re: Blueprint lab mod crashes my game if I try to exit
Posted: Fri May 27, 2022 8:29 am
by Vivaloz
I've been able to perform all of these commands, luckily, but my inventory and personal logistics have disappeared. Any idea how I can return these?
Re: Blueprint lab mod crashes my game if I try to exit
Posted: Fri May 27, 2022 5:39 pm
by FuryoftheStars
Vivaloz wrote: Fri May 27, 2022 8:29 am
I've been able to perform all of these commands, luckily, but my inventory and personal logistics have disappeared. Any idea how I can return these?
Hmm, makes me think that mod separated you from your character avatar and then put you in the BP lab surface. You’d need to figure out where your old character is at (wherever you were when you engaged it last? I don’t know enough about this mod as I’ve never used it) and then see if you can either transfer the inventory or simply reattach yourself to it.