judos / robotMiningSite

A factorio mod
GNU General Public License v3.0
5 stars 2 forks source link

No action of robots #9

Closed Cordina90 closed 7 years ago

Cordina90 commented 7 years ago

I updated the mod to 0.5.0 earlier today, and ever since the mining robots stay inside the roboport of the station. When I try to fix this by picking up the station and replacing it, I run into an error while picking up:

Error while running event on_preplayer_mined_item (ID 11) __robotMiningSite__/control/robotMiningSite.lua:179: attempt to index local 'data' (a nil value)

Is this something I can easily fix, or is an update required?

judos commented 7 years ago

Hi Cordina, As mostly I can't tell you easily. Can you provide a savegame before you updated the mod? Also from which previous version did you migrate?

Cordina90 commented 7 years ago

I'm using the most recent version of factorio and I used the most recent version of your mod (0.4.0). Version 0.4.0 worked flawless with factorio 0.14 by just changing version numbers in the info.json file. I have attached a save using multiple mining site setups. It gives an error when updating to 0.5.0, but this is merely a print error (lua line number points to a PlayerPrint routine). With the print commented out, the update is loaded. Free play 9.1.zip All mods in the loading list gave no issues with your mod up to version 0.4.0

Cordina90 commented 7 years ago

Tried to migrate an older save (with version 0.3.0 of robotMiningSite), but during save load (migration) it gave a PlayerPrint error too. Disabling the print by commenting it out in the lua file gave the same issue as described before, station cannot be picked up and mining robots don't do anything. I'll try a new game later, but it might be related to something going wrong during migration.

Cordina90 commented 7 years ago

Any info yet?

judos commented 7 years ago

Hi @Cordina90, I took a look again at the issue but couldn't reproduce it. Are you still experiencing the problem? Could you provide another save game together with the mods folder you are using?

judos commented 7 years ago

No more information or savegame provided, closing therefore.