Navigation

    forum

    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    1. Home
    2. xoposhiy
    3. Topics
    • Flag Profile
    • block_user
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Groups
    • Blog

    Topics created by xoposhiy

    • RoomPosition.lookFor("flag") is broken
      Technical Issues and Bugs • • xoposhiy

      4
      4
      Posts
      5027
      Views

      This brings up a flaw in the API that there is no difference between a failed look-up and a search that turns up empty.
    • Custom mode simulation is broken
      Technical Issues and Bugs • • xoposhiy

      1
      1
      Posts
      2854
      Views

      No one has replied

    • Bug: findClosestByPath(exit) returns structure as a result
      Technical Issues and Bugs • • xoposhiy

      1
      1
      Posts
      2826
      Views

      No one has replied

    • Leaderboard sorting is broken
      Technical Issues and Bugs • • xoposhiy

      1
      1
      Posts
      2455
      Views

      No one has replied

    • pos.findClosestByPath(flags) returns not a flag
      Technical Issues and Bugs • • xoposhiy

      4
      4
      Posts
      5684
      Views

      And doublet queries behave that way: Game.rooms['W12S23'].getPositionAt(49, 42).findClosestByPath(3) Game.rooms['W12S23'].getPositionAt(49, 42).findClosestByPath(3) [room W12S23 pos 49,42] [room W12S23 pos 49,42] Game.rooms['W12S23'].getPositionAt(49, 42).findClosestByPath(3) Game.rooms['W12S23'].getPositionAt(49, 42).findClosestByPath(3) [structure (extension) #5610f4e97232cb0022417b4c] [structure (extension) #5610f4e97232cb0022417b4c] Game.rooms['W12S23'].getPositionAt(49, 42).findClosestByPath(3) Game.rooms['W12S23'].getPositionAt(49, 42).findClosestByPath(3) [room W12S23 pos 49,42] [room W12S23 pos 49,42]
    • Wall between novice sector and other world
      Help • • xoposhiy

      4
      4
      Posts
      5524
      Views

      It isn't forever, for example novice area at nord west has ~630200 ticks left before self-destruction of that wall from now (from when i'm writing this) (You can see it by joining any room inside a novice area and looking inside the panel with room's name or joining a room with that wall (at borders of the novice area) and clicking into that wall, you can see "Decay in: a_number"). I think nobody can destroy the novice wall. MrFasolo97 Bye
    • Game.map.findRoute bug. Again!
      Technical Issues and Bugs • • xoposhiy

      3
      3
      Posts
      4168
      Views

      Thanks, fixed. Please use the same forum topic for the same issue.
    • Start to receive email notification of other user
      Technical Issues and Bugs • • xoposhiy

      7
      7
      Posts
      8754
      Views

      Thank you all for reporting. The problem must be solved now.
    • Game.map.findRoute bug
      Technical Issues and Bugs • • xoposhiy

      3
      3
      Posts
      3709
      Views

      Thank you for reporting, fixed.
    • Debug functions for screeps.com console
      General Discussion • • xoposhiy

      2
      2
      Posts
      3330
      Views

      This is very helpful, thank you. Might I suggest adding Game.spaws to the o() function as well? https://gist.github.com/Amadox/74bf94ad0357bcea0cbf
    • ERR_NO_PATH when creep moveTo flag in another room
      Technical Issues and Bugs • • xoposhiy

      17
      17
      Posts
      28732
      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.