ILLISIS / Constructron-Continued

Other
13 stars 21 forks source link

non-recoverable error Constructron-Continued (1.0.40) #93

Closed Hidden-Joker closed 1 year ago

Hidden-Joker commented 1 year ago

Hello. the constructron was working fine with getting the materials until it reached the blueprint i set and started to build them, then i got following error while building:

The mod Constructron-Continued (1.0.38) caused a non-recoverable error. Please report this error to the mod author.

Error while running event Constructron-Continued::on_nth_tick(60) LuaLogisticNetwork doesn't contain key can_satisfy_request. stack traceback: [C]: in function 'index' Constructron-Continued/script/constructron.lua:771: in function '?' Constructron-Continued/script/constructron.lua:370: in function 'do_until_leave' Constructron-Continued__/script/constructron.lua:1358: in function 'do_job' Constructron-Continued/script/constructron.lua:1371: in function <Constructron-Continued/script/constructron.lua:1369>

Thanks for the continuation of the mod btw.

ILLISIS commented 1 year ago

Hi

v1.0.40 has been released, I haven't directly fixed that issue but that function has been through a refactor so the issue probably is non-existent in the newer versions

Hidden-Joker commented 1 year ago

Thanks for the info. Got the new version now and it works. Issue closed

Hidden-Joker commented 1 year ago

Hey, sorry that i have to reopen this but it happened again. same scenario but the other blueprint where the previous error occurred was finished but after some time it happened again when the constructron was at place and was about to start building. Here is the error code i got:

The mod Constructron-Continued (1.0.40) caused a non-recoverable error. Please report this error to the mod author.

Error while running event Constructron-Continued::on_nth_tick(60) LuaLogisticNetwork doesn't contain key can_satisfy_request. stack traceback: [C]: in function 'index' Constructron-Continued/script/constructron.lua:755: in function '?' Constructron-Continued/script/constructron.lua:356: in function 'do_until_leave' Constructron-Continued__/script/constructron.lua:1318: in function 'do_job' Constructron-Continued/script/constructron.lua:1331: in function <Constructron-Continued/script/constructron.lua:1329>

ILLISIS commented 1 year ago

Hi

Could you upload your save with the blueprints in question?

Hidden-Joker commented 1 year ago

Hi

after loading the last auosave file before the error it worked. so idk what happened but there is no error anymore. so i guess i close it now again but when it happens again then i won't reopen it because you are already informed about the bug. Thanks anyways and have a great day!

ILLISIS commented 1 year ago

Hi I may be informed there is a bug, but I cannot work off the information I have. To me, it seems like there may be a special entity in the blueprint you are placing, such as those that exist in LTN. To confirm this, I would require either clear instructions on how to reproduce the issue or the save file you are using.

If you would like to discuss further / in real time join the discord :) https://discord.gg/m9TDSsH3u2

ILLISIS commented 1 year ago

@Hidden-Joker Are you using a Factorio version previous to 1.1.62 ?

Hidden-Joker commented 1 year ago

@ILLISIS yes i do edit: Factorio 1.1.61

ILLISIS commented 1 year ago

Yeah that's why, can_satisfy_request was only implemented in 1.1.62