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:
Create a simulation room.
Copy the file into the script bar.
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! 😀
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:
Error message:
Or if I'm using it wrongly, please tell me how to use it correctly. Thanx! 😀
Other information: