raiguard / RecipeBook

Recipe Book for Factorio.
MIT License
21 stars 10 forks source link

Cant create sandbox world #67

Closed Zetabite closed 3 years ago

Zetabite commented 3 years ago

Describe the Bug

Error when trying to create a default world in sandbox

To Reproduce

Steps to reproduce the behavior:

  1. Make new sandbox world with default parameters
  2. Click play
  3. Error

Save file & Username

Save File: N/A Username: Zetabite

Log file

factorio-current.log

raiguard commented 3 years ago

I can't reproduce this. Could you start a freeplay game and save it, then attach that?

Zetabite commented 3 years ago

If i can launch into a freeplay ill try

Zetabite commented 3 years ago

same result on freeplay, cant create a save.

The mod Recipe Book (3.0.2) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event RecipeBook::on_init()
__RecipeBook__/scripts/processors/resource.lua:27: bad argument #1 of 2 to 'ipairs' (table expected, got nil)
stack traceback:
    [C]: in function 'ipairs'
    __RecipeBook__/scripts/processors/resource.lua:27: in function 'resource_proc'
    __RecipeBook__/scripts/recipe-book.lua:52: in function 'build'
    __RecipeBook__/control.lua:107: in function <__RecipeBook__/control.lua:99>
raiguard commented 3 years ago

If that doesn't work either, disable RB and upload a fresh save containing all of your other mods.

Zetabite commented 3 years ago

kk

Zetabite commented 3 years ago

ZetabiteModdedRecipeBookDebug.zip

raiguard commented 3 years ago

Thanks for the report. There were actually two crashes here, one because an item placed a resource (wut) and the other because a resource had no mining products (also wut). nauvis-melange is weird.

Fixed for the next release.