Skip to content

Numerous errors in console #204

@UndefinedCpp

Description

@UndefinedCpp

Issue summary

I copied the main.js file attached to the release into the script bar. Then numerous errors were shown in the console.

Steps to reproduce:

  1. Create a simulation room.
  2. Copy the file into the script bar.
  3. Run the code.

Error message:

...
[11:16:31]ALERT   248 Upgrade site at [[sim, 22, 15]](https://screeps.com/a/#!/room/sim/sim): no batteryPos!
[11:16:31]Cannot read properties of null (reading '1')
...

Or if I'm using it wrongly, please tell me how to use it correctly. Thanx! 😀

Other information:

  • Overmind version: v0.5.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions