Missing TCL packages can result in a failed Armour load or unexpected behaviour. In some cases, a partial load can result in a half-initialised Armour, with some users opting to start over.
Loading all packages early and catching errors can prevent these issues. Currently, this is only done for some packages.
Detail
Load all packages in arm-01_depends.tcl:
tcl 8.6
http
dns
sqlite3
md5
http
tls
json
sha1*
sha256*
Output errors to ./armour/<botname>.log
Kill the bot (via die) with helpful message
Considerations
Include suggested package based on the OS the bot is installed on.
Overview
Missing TCL packages can result in a failed Armour load or unexpected behaviour. In some cases, a partial load can result in a half-initialised Armour, with some users opting to start over.
Loading all packages early and catching errors can prevent these issues. Currently, this is only done for some packages.
Detail
arm-01_depends.tcl
:Output errors to
./armour/<botname>.log
Kill the bot (via
die
) with helpful messageConsiderations
Include suggested package based on the OS the bot is installed on.