Loaders Modernized


Compact 1x1 loader requiring electricity to run. There are options to enable or modify capabilities like stacking, disable power consumption, or recipe cost.

Content
9 days ago
2.0
34.8K
Logistics Circuit network

b [Fixed] Crash and blueprint book deletion

a month ago
(updated a month ago)

Attempting to move a blueprint book from the blueprint library to the player's inventory (via direct moving or copying) causes a crash with the following error:

The mod Loaders modernized (2.0.9) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event loaders-modernized::on_player_cursor_stack_changed (ID 37)
Index out of inventory bounds.
stack traceback:
    [C]: in function '__index'
    __loaders-modernized__/scripts/upgrade-planner.lua:83: in function 'get_cursor_upgrade_planner'
    __loaders-modernized__/scripts/upgrade-planner.lua:266: in function 'handler'
    __core__/lualib/event_handler.lua:72: in function <__core__/lualib/event_handler.lua:70>

If the player transfers the blueprint book directly from the library to their inventory the blueprint book will be deleted by the game when it reloads after this crash! This can permanently delete that blueprint book (unless you are lucky enough to recover it from steam cloud before it syncs).

Mod List

Pyanodon's with some utility and QOL mods.

  • Base mod (2.0.76)
  • Elevated Rails (2.0.76)
  • Auto Deconstruct (1.0.12)
  • Auto Research (fixed + re-published) (2.0.7)
  • Autodrive (2.0.7)
  • Belt Visualizer (2.0.2)
  • BeltRouter Lite (2.7.0)
  • Blueprint Sandboxes (3.2.2)
  • Bottleneck Lite (1.3.4)
  • Click to Move (0.1.11)
  • Enable all Feature Flags (1.0.2)
  • Even Distribution (2.0.2)
  • Factorio Library (0.16.5)
  • Factorio Standard Library 2.0 (2.0.1)
  • Factory Planner (2.0.50)
  • Factory Search (1.14.0)
  • Filter Helper (0.2.24)
  • FNEI (0.4.6)
  • Infinizoom (0.2.0)
  • Inserter Cranes for Pyanodon (pymods) (1.0.8)
  • Inserter Throughput (0.1.6)
  • Library for mods by Pi-C (2.0.4)
  • Loaders modernized (2.0.9)
  • Loaders Modernized: Integrations (2.0.8)
  • Milestones (1.4.7)
  • Mining Patch Planner (1.7.18)
  • Module Inserter Simplified (2.1.1)
  • Nanobots: Early Bots 2.0 (3.3.2)
  • Not Enough Parameters (1.0.1)
  • P.U.M.P. (2.1.20)
  • Power Grid Comb (2.0.0)
  • Project Cybersyn (2.0.53)
  • Pyanodons Alien Life (3.0.66)
  • Pyanodons Alien Life Graphics 1 (3.0.12)
  • Pyanodons Alien Life Graphics 2 (3.0.3)
  • Pyanodons Alien Life Graphics 3 (3.0.4)
  • Pyanodons Alternative Energy (3.1.37)
  • Pyanodons Alternative Energy Graphics (3.0.6)
  • Pyanodons Coal Processing (3.0.44)
  • Pyanodons Coal Processing Graphics (3.0.9)
  • Pyanodons Fusion Energy (3.0.17)
  • Pyanodons Fusion Energy Graphics (3.0.4)
  • Pyanodons High Tech (3.0.18)
  • Pyanodons High Tech Graphics (3.0.3)
  • Pyanodons Industry (3.0.20)
  • Pyanodons Industry Graphics (3.0.3)
  • Pyanodons Modpack (3.0.0)
  • Pyanodons Petroleum Handling (3.0.22)
  • Pyanodons Petroleum Handling Graphics (3.0.5)
  • Pyanodons Post Processing (3.0.42)
  • Pyanodons Raw Ores (3.0.25)
  • Pyanodons Raw Ores Graphics (3.0.4)
  • Rail Signal Planner (2.0.3)
  • Rate Calculator (3.3.8)
  • Resource Monitor (1.6.2)
  • What is it really used for? (1.8.0)
a month ago

I have not been able to reproduce this with any of the saves I have... yet. If you're on discord you can hit me there.

Is the blueprint in the games library, or the players library? If in the game library could you provide the save game with the offending blueprint? If it's in the players library, could you provide the blueprint-storage file that contains the offending blueprint.

Was this a blueprint book something you pasted in? Was it from Factorio 1.x? Was it one that was already in your BP book and it migrated from 1.x -> 2.0? Any chance you can provide the blueprint-storage file the offending blueprint book is in?

New response