Script is ignored again on CPU limit
-
Whole script gets ignored again on hitting the CPU limit.
-
I concur -- I think this has been true for a day or two. I've never seen it work properly since the null-length bug was fixed.
-
Do you have any 100% reproducible scenario of this? Our quick tests worked fine.
-
If I test with this very simple script:
Game.creeps.Alice.move(TOP);
console.log("foo");
while (true) {}It works maybe 90% of the time, but on some ticks I won't see "foo" on the console and Alice won't move. It seems to be very random when it does and doesn't work, I can't find any simple changes that appear to influence it.
With my actual full script running, I think it works much less than 90% of the time, but it's hard to measure.