Spidertron squad control [0.5.0 BETA RELEASE]


adds a spidertron squad remote so you don't have to use 100 remotes to control your spider army. also adds a follow mode for your spider army. And a better entity-follow tool that doesn't require you to link every single spidertron individually Beta versions available on GitHub for testing: https://github.com/npc-strider/spidertron-squad-control/releases

Utilities
3 years ago
1.0 - 1.1
6.22K

b Crashes when using vanilla remote after just installing the mod

3 years ago

Just installed the mod. loaded my save, brought out the remote I had for one of my Spiders in order to bring it to me, and it crashed as soon as I clicked. Brought up a message saying:

The mod Spidertron squad control (0.3.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Spider_Control::on_player_used_spider_remote (ID 166)
Spider_Control/control.lua:141: attempt to index local 'd_' (a nil value)
stack traceback:
Spider_Control/control.lua:141: in function <Spider_Control/control.lua:130>

It then booted me to the main menu.
Loading the game up again and making a new vanilla remote, pairing it, and using it caused the same crash. tried again with a new spider and new remote. still crashes.

Loaded back in and tried playing with the squad remote and follow buttons, and it crashed after hitting the follow button with no squad selected:

The mod Spidertron squad control (0.3.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Spider_Control::on_lua_shortcut (ID 34)
Spider_Control/control.lua:197: attempt to index field '?' (a nil value)
stack traceback:
Spider_Control/control.lua:197: in function 'squad_leader_state'
Spider_Control/control.lua:208: in function <Spider_Control/control.lua:205>

Creating a squad with the squad remote and playing with it somehow made my vanilla remotes work again but when I started to deconstruct the squad spidertrons it crashed again:

The mod Spidertron squad control (0.3.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Spider_Control::on_nth_tick(20)
Spider_Control/control.lua:63: attempt to index field '?' (a nil value)
stack traceback:
Spider_Control/control.lua:63: in function 'validate_spiders'
Spider_Control/control.lua:76: in function 'spiderbot_designate'
Spider_Control/control.lua:295: in function <Spider_Control/control.lua:284>

3 years ago

I think I fixed the first crash (someone else reported it), not sure if the next one is though. if you get the crash in the next release please let me know

New response