creep-tasks icon indicating copy to clipboard operation
creep-tasks copied to clipboard

Need to update Screep-tasks.js in Example folder to 1.3 (or latest version)

Open nrnoble opened this issue 3 years ago • 0 comments

Description of issue:

creep-tasks/examples/JavaScript/creep-tasks.js is still 1.0.0 rather than the latest version. This caused an exception because Task.chain is missing from 1.0.0

Steps to reproduce:

run the Example code as is and wait for it to create a Patroller

Error message:

// Console output:

    at Object.newTask (role.patroller:11:28)
    at Object.module.exports.loop (main:40:27)
    at __mainLoop:1:52
    at __mainLoop:2:3
    at Object.exports.evalCode (<isolated-vm>:15343:76)
    at Object.exports.run (<isolated-vm>:20768:24)



nrnoble avatar May 27 '21 21:05 nrnoble