A long time ago I edited some memory properties directly. When something wasn't working I haphazardly ran rawMemory.set({}) which not only didn't solve the problem, but made me realize there were "ghost" creeps.
Inside Game.creeps there are creeps that sometimes have a undefined ticksToLive, and others who have a normal ticksToLive but just don't exist anywhere.
I don't know where they go (Are they being killed somehow?).
If I single them out and run suicide() on them they seem to disappear okay
I also have this problem where no matter what creep I click on, then click view memory, it says invalid memory path.