Zoom Based Exoskeleton Speed


Adjusts exoskeleton speed based on player zoom level.

Utilities
10 months ago
2.0
1.17K
Transportation Armor

b [Fixed] LuaItemStack API call when LuaItemStack was invalid for read

10 months ago

When I insert an exoskeleton in an armor the game crashes with:

Exception at tick 8425: The mod Zoom Based Exoskeleton Speed (1.0.2) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event zoom-based-exoskeleton-speed::on_equipment_inserted (ID 185)
LuaItemStack API call when LuaItemStack was invalid for read.
stack traceback:
        [C]: in function '__index'
        __zoom-based-exoskeleton-speed__/control.lua:185: in function <__zoom-based-exoskeleton-speed__/control.lua:178>
10 months ago
(updated 10 months ago)

You use any none standard equipment or gear mods?

10 months ago

Nope, apparently this happens in editor mode when inserting from the editor inventory into the armor in the character.

10 months ago

I cant recreate this, used editor and no crashes when insterting exoskeletons into armor.
Need more info.
What editor you using, list of mods etc.

10 months ago
(updated 10 months ago)

Combination: Factorio 2.0.32 with Space Age, Elevated Rails and Quality
Mod: Scorpio_King's Zoom Based Exoskeleton Speed v1.0.2

Steps:
1. Create new game
2. Enter editor
3. Place a spidertron
4. Insert exoskeleton in the spidertron

I mentioned character because I was using Editor Extensions to enter the editor fast. With those steps you'll reproduce it.

10 months ago

Fixed.

Version: 1.0.3
Date: 07. 03. 2025
Fix:
- Added event.equipment.prototype null check before accessing type
- Enhanced player validity checks in loops
- Added grid existence check (armor.grid and)

10 months ago

Excellent.

New response