bencbartlett/Overmind

Uncaught exception for mining container

MatthewARoy opened this issue · 1 comments

FATAL 15817936 Caught unhandled exception at () => overlord.run():
TypeError
TypeError: Cannot read property 'lookForStructure' of undefined
at MiningOverlord.addRemoveContainer (main:10086:44)
at MiningOverlord.run (main:10372:18)
at try (main:26648:41)
at Overseer.try (main:26356:17)
at Overseer.run (main:26648:25)
at _Overmind.run (main:26955:23)
at Object.main [as loop] (main:27636:14)
at __module (__mainLoop:1:52)
at __mainLoop:2:3
at Object.exports.evalCode (:15990:76): Cannot read property 'lookForStructure' of undefined
[11:45:28 AM][shard2]FATAL 15817936 Caught unhandled exception at () => overlord.run():
TypeError
TypeError: Cannot read property 'lookForStructure' of undefined
at MiningOverlord.addRemoveContainer (main:10086:44)
at MiningOverlord.run (main:10372:18)
at try (main:26648:41)
at Overseer.try (main:26356:17)
at Overseer.run (main:26648:25)
at _Overmind.run (main:26955:23)
at Object.main [as loop] (main:27636:14)
at __module (__mainLoop:1:52)
at __mainLoop:2:3
at Object.exports.evalCode (:15990:76): Cannot read property 'lookForStructure' of undefined
[11:45:28 AM][shard2]Caught unhandled exception at () => overlord.run():
TypeError
TypeError: Cannot read property 'lookForStructure' of undefined
at MiningOverlord.addRemoveContainer (main:10086:44)
at MiningOverlord.run (main:10372:18)
at try (main:26648:41)
at Overseer.try (main:26356:17)
at Overseer.run (main:26648:25)
at _Overmind.run (main:26955:23)
at Object.main [as loop] (main:27636:14)
at __mainLoop:1:52
at __mainLoop:2:3
at Object.exports.evalCode (:15990:76)
Caught unhandled exception at () => overlord.run():
TypeError
TypeError: Cannot read property 'lookForStructure' of undefined
at MiningOverlord.addRemoveContainer (main:10086:44)
at MiningOverlord.run (main:10372:18)
at try (main:26648:41)
at Overseer.try (main:26356:17)
at Overseer.run (main:26648:25)
at _Overmind.run (main:26955:23)
at Object.main [as loop] (main:27636:14)
at __mainLoop:1:52
at __mainLoop:2:3

// Offending line:

Suggested fix (optional):

Other information:

  • Overmind version: {found in package.json or by typing info() into console}
    • Commit hash: {optional, but helpful: include the commit hash (if known)}

Additional details: mining container position is undefined for const containerPos = this.calculateContainerPos();
This might be related to the ramparts over mining spot.