Navigation

    forum

    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    1. Home
    2. Technical Issues and Bugs
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes

    Technical Issues and Bugs

    • creep.moveTo (almost) always returning -2.
      • met4000

      5
      5
      Posts
      5673
      Views

      HI I just started playing today and this has been happening to me in the newbie zone for the last few hours, i finally gave up and decided it's not my fault and found this. check JSON.stringify(Game.rooms.E23N57.lookAt(22, 14)); I've spent a while implementing my own hardcoded path finding
    • Solved Healers made with "Create an Invader" tool die as soon as they are made.
      • ElaborateDesigns

      2
      2
      Posts
      2836
      Views

      This is intended. Healer invaders suicide themselves when no other invaders left in the room.
    • Unsolved Creep.transfer returns wrong value
      • MrFasolo97

      1
      1
      Posts
      2995
      Views

      No one has replied

    • Unsolved PTR: No tick progress
      • AlphaOrder

      1
      1
      Posts
      2255
      Views

      No one has replied

    • Forum login page could be more helpful
      • ElaborateDesigns

      3
      3
      Posts
      3369
      Views

      I think this is a bug in the forums. When I pull it up in Chrome in private mode, I get some errors in the browser console output. Uncaught TypeError: Cannot read property '0' of null at main.js:61 at dispatch (jquery.js:5206) at g.handle (jquery.js:5014) at Object.trigger (jquery.js:8201) at jquery.js:8269 at Function.each (jquery.js:362) at v.fn.init.each (jquery.js:157) at v.fn.init.trigger (jquery.js:8268) at r (ajaxify.js:202) at ajaxify.js:279
    • In-game editor wipes any unsaved code changes if you click the "World" button.
      • ElaborateDesigns

      1
      1
      Posts
      2255
      Views

      No one has replied

    • PTR shard 1: huge energy regeneration times
      • JBYoshi

      3
      3
      Posts
      4411
      Views

      Thanks, we'll take a look
    • Memory doesn't persist between ticks
      • fihercho

      2
      2
      Posts
      3448
      Views

      Most likely the problem is related to your code, since we don't observe any issues with memory at the moment. If you are absolutely sure it is not related to your code, please try to create a minimal isolated reproducible test case. It's very hard to tell anything based on the output of a real script.
    • Cool-down inconsistency
      • SteveTrov

      2
      2
      Posts
      4907
      Views

      Yes, this is bugging me for a long time now, too. Thanks for posting this A mineral extractor should be harvestable every 5 ticks or we should change the documentation to 6 seconds. One could argue that harvesting every 6 ticks in valid with a 5 tick cooldown. But labs, for example, can react every 10 ticks for a 10 tick cooldown reaction. Consistency in any way would be fine, really.
    • Getting 30 second room loads on shard0
      • shedletsky

      2
      2
      Posts
      3878
      Views

      Isn't this a duplicate of your previous topic?
    • Could not find an object with ID on Shard0
      • demawi

      2
      2
      Posts
      3288
      Views

      This is usually caused by usage of undocumented features in your script. Does it work with an empty main() loop? If yes, you might want to debug it step by step starting from there.
    • Unsolved Black window on startup
      • Dragonisser

      9
      9
      Posts
      15571
      Views

      @artch said in Black window on startup: This is very interesting. Anyway, it seems to be an issue with NW.js itself, we're unable to help here. I would recommend sending this to NW.js issue tracker. There is a similar issue on their github already https://github.com/nwjs/nw.js/issues/6152. Gonna try and see if they can sort out this bug. Thanks for the help tho.
    • CPU distribution issue
      • fihercho

      1
      1
      Posts
      2796
      Views

      No one has replied

    • This topic is deleted!
      • demawi

      1
      1
      Posts
      2
      Views

      No one has replied

    • This topic is deleted!
      • demawi

      1
      1
      Posts
      2
      Views

      No one has replied

    • Unsolved Waiting for Data Too Many Tabs Open
      • shedletsky

      1
      1
      Posts
      3849
      Views

      No one has replied

    • Solved WebAssembly Setup Issue
      • letsil

      2
      2
      Posts
      3134
      Views

      Thanks for reporting, this issue is fixed now.
    • Unsolved 10+ second page loads of world map on Shard0
      • shedletsky

      4
      4
      Posts
      5689
      Views

      @shedletsky Yes, rooms images, user badges and stats are loaded as separate requests, so your browser may throttle them. We have plans to revamp this UI using PixiJS, it should help. No ETA though.
    • ERR_NO_PATH when creep moveTo flag in another room
      • xoposhiy

      17
      17
      Posts
      30490
      Views

      I solved the issue with this code, and I hope it costs less CPU than the method using maxOps. if (creep.moveTo(pos) == ERR_NO_PATH) { if (this.pos.x <= 1) { if (this.move(RIGHT) == OK) { return } } if (this.pos.x >= 48) { if (this.move(LEFT) == OK) { return } } if (this.pos.y <= 1) { if (this.move(BOTTOM) == OK) { return } } if (this.pos.y >= 48) { if (this.move(TOP) == OK) { return } } } It seems like when a creep is not on the room border, the creep can find a path.
    • Unsolved [Forum] Error on profile page join date
      • Davaned

      2
      2
      Posts
      3535
      Views

      Thank tou for you report, we'll take a look

    Move Topic