judos / robotMiningSite

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

Crashreport from modpage - Discussions #20

Closed R-Smilodon closed 5 years ago

R-Smilodon commented 5 years ago

If the Player mines a Mining Site the Game Crashes... I can try to pick it up with each of its Buildingparts but the same Error ALWAYS happens...

Crash on removal

TomatoCo - 25 days ago The mod Robot Mining Site caused a non-recoverable error. Please report this error to the mod author.

Error while running event robotMiningSite::on_pre_player_mined_item (ID 11) real number expected got nil. stack traceback: robotMiningSite/control/robotMiningSite.lua:202: in function 'premine' robotMiningSite/libs/control/entities.lua:202: in function 'entities_pre_mined' robotMiningSite/control.lua:93: in function <robotMiningSite/control.lua:92> stack traceback: [C]: in function 'get_inventory' robotMiningSite/control/robotMiningSite.lua:202: in function 'premine' robotMiningSite/libs/control/entities.lua:202: in function 'entities_pre_mined' robotMiningSite/control.lua:93: in function <robotMiningSite/control.lua:92>

TomatoCo - 25 days ago Fix: On line 202 of robotMiningSite change the defines.inventory.player_main to defines.inventory.character_main

Probably other issues on the most recent version of factorio. That's what I get for playing unstable, huh? I'll post fixes as I find them.

becks0815 - 12 days ago Can confirm this bug. If I try to PICK UP a mining site without using it, the game crashes. I guess an internal counter used to show how much has been mined or how much inventory is stored is not initialized in the correct way causing the issue

Cordina90 commented 5 years ago

This issue is fixed in version 0.9.1