Simple Bot Start

by Wannie

A simple mod where you start the game with a basic exoskeleton armor, 1x fission reactor, 2x personal roboports MK2, night vision, 1x exoskeleton and 50 fusion construction robots.

Utilities
4 months ago
2.0
888

g [Fixed] Error on start

4 months ago

The mod Simple Bot Start (1.0.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event SimpleBotStart::on_player_joined_game (ID 49)
SimpleBotStart/control.lua:28: attempt to index local 'inventory' (a nil value)
stack traceback:
SimpleBotStart/control.lua:28: in function 'add_items_to_inventory'
SimpleBotStart/control.lua:167: in function <SimpleBotStart/control.lua:162>

4 months ago

Based on the message the player inventory was not found. Can I ask if it happen in multi or single-player? Also, are other mods installed that might have changed the inventory in some way?

4 months ago

I think I found the issue. The command was only supposed to trigger when a player joins after the game has started. Due to a faulty if-condition, it was triggered before a player was created and hence had no inventory. The issue should be fixed with the next release.

New response