Creep stuck



  • I've got a creep that can't move, it returns the -4 error code but it isn't being spawned anymore. Any clue how this is possible?



  • Update: Just tried to suicide the creep but this also returns -4



  • Update 2: I think it might have something to do with the initial ramparts around your HQ when you spawn and reaching controller level 2 where go from 0 hitpoints to 1M hitpoints.



  • Update 3: After eventually dying because of aging, the creeps remain in the Game.creeps object



  • I have these creeps 4!
    I could not find them in the room. I looked coordinates. Creeps out there, but there are spawn.



  • for(var name in Game.creeps) {
    var creep = Game.creeps[name];
    console.log(creep.name + ': ' + creep.ticksToLive);
    }

    [08:45:00]
    Victoria: undefined <- bug
    [08:45:00]
    Alexis: undefined <- bug
    [08:45:00]
    Samuel: undefined <- bug
    [08:45:00]
    Cameron: undefined <- bug
    [08:45:00]
    Owen: 191
    [08:45:00]
    Ruby: 224
    [08:45:00]
    Josiah: 278
    [08:45:00]
    Leah: 415
    [08:45:00]
    Lauren: 466
    [08:45:00]
    Adalyn: 520
    [08:45:00]
    Ian: 570
    [08:45:00]
    Caden: 672
    [08:45:00]
    Caroline: 781
    [08:45:00]
    Liam: 814
    [08:45:00]
    Anna: 847
    [08:45:00]
    Hannah: 1075
    [08:45:00]
    Savannah: 1129
    [08:45:00]
    Harper: 1162
    [08:45:00]
    Gavin: 1216
    [08:45:00]
    Penelope: 1270
    [08:45:00]
    Jacob: 1306
    [08:45:00]
    Arianna: 1342
    [08:45:00]
    Parker: 1415
    [08:45:00]
    Jason: 1451
    [08:45:00]
    Isaac: 1505
    [08:45:00]
    Adam: 1559
    [08:45:00]
    Caleb: 1613
    [08:45:00]
    Sarah: 1658
    [08:45:00]
    Scarlett: 1694
    [08:45:00]
    Jasmine: 1730
    [08:45:00]
    Isabelle: 1781
    [08:45:00]
    Bella: undefined <- spawning



  • console.log(Game.creeps.Alexis.pos.x + 'x' + Game.creeps.Alexis.pos.y);
    [08:49:52] 31x28
    console.log(Game.spawns.Spawn1.pos.x + 'x' + Game.spawns.Spawn1.pos.y);
    [08:50:21] 31x28

    Bug with spawns?



  • You see dead creeps? This might help



  • They have not yet been born!))


  • Dev Team

    Thanks for reporting, fixed.