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

    • attackController exploit
      • fezeral

      5
      5
      Posts
      7236
      Views

      You used claimController along with attackController, right? Then it’s related to this bug and is fixed already.
    • Deleveled my own controller 7 levels by accident
      • CarrotCake

      3
      3
      Posts
      4218
      Views

      Sorry for that, fixed. Also, your controller has been upgraded for 1M energy points for free as a compensation.
    • "repairing" walls and ramparts not counting as construction?
      • gopher

      5
      5
      Posts
      7763
      Views

      excellent, thanks
    • WTF just happened to the spawn I was building?
      • awr000

      4
      4
      Posts
      6295
      Views

      I've scoured my code and I have no instances of ConstructionSite.remove() at all.  Something strange happened.  I rebuilt the spawn but I definitely did not call remove()
    • Creating construction site on ramparts while a creep is present on it yields "ERR_INVALID_TARGET"
      • Dissi

      6
      6
      Posts
      6095
      Views

      This bug is fixed, thanks for reporting.
    • Unable to build road under rampart
      • tedivm

      6
      6
      Posts
      5167
      Views

      This bug is fixed, thanks for reporting.
    • RoomPosition.lookFor - containers?
      • awr000

      2
      2
      Posts
      3473
      Views

      nevermind
    • Power Spawns use expensive utils.checkStructureAgainstController on processPower
      • Hernanduer

      3
      3
      Posts
      4839
      Views

      OK, it is now changed to a simple RCL == 8 check for edge cases when there is only one possible structure per room. Here is function’s source code: exports.checkStructureAgainstController = function(object, roomObjects, roomController) { <span class="hljs-keyword">if</span>(!<span class="hljs-keyword">object</span>.user) { <span class="hljs-keyword">return</span> <span class="hljs-keyword">true</span>; } <span class="hljs-keyword">if</span>(!roomController || roomController.level &lt; <span class="hljs-number">1</span> || <span class="hljs-keyword">object</span>.user &amp;&amp; roomController.user != <span class="hljs-keyword">object</span>.user) { <span class="hljs-keyword">return</span> <span class="hljs-keyword">false</span>; } <span class="hljs-keyword">if</span>(C.CONTROLLER_STRUCTURES[<span class="hljs-keyword">object</span>.<span class="hljs-keyword">type</span>][<span class="hljs-number">8</span>] == <span class="hljs-number">1</span>) { <span class="hljs-keyword">return</span> C.CONTROLLER_STRUCTURES[<span class="hljs-keyword">object</span>.<span class="hljs-keyword">type</span>][roomController.level] != <span class="hljs-number">0</span>; } <span class="hljs-keyword">var</span> objects = _.filter(roomObjects, {<span class="hljs-keyword">type</span>: <span class="hljs-keyword">object</span>.<span class="hljs-keyword">type</span>, user: <span class="hljs-keyword">object</span>.user}); <span class="hljs-keyword">if</span>(objects.length &gt; C.CONTROLLER_STRUCTURES[<span class="hljs-keyword">object</span>.<span class="hljs-keyword">type</span>][roomController.level]) { objects.sort(exports.comparatorDistance(roomController)); objects = _.take(objects, C.CONTROLLER_STRUCTURES[<span class="hljs-keyword">object</span>.<span class="hljs-keyword">type</span>][roomController.level]); <span class="hljs-keyword">if</span>(!_.contains(objects, <span class="hljs-keyword">object</span>)) { <span class="hljs-keyword">return</span> <span class="hljs-keyword">false</span>; } } <span class="hljs-keyword">return</span> <span class="hljs-keyword">true</span>; };
    • Invaders not suiciding when all other creeps dead
      • CursedFlames

      5
      5
      Posts
      6839
      Views

      At this point it feels like we’re playing against you, Artem; not against each other… This is very unusual view point. Well yes, when you fight some NPC monsters in any video game, you play against its creators somehow. These are PvE and PvP aspects of every online game basically. Screeps is not supposed to be PvP-only in that regard.
    • Ramparts can be built on top of invaders
      • hyramgraff

      1
      1
      Posts
      3433
      Views

      No one has replied

    • Spawn.prototype problems
      • chris

      1
      1
      Posts
      3723
      Views

      No one has replied

    • Player's informations stored in cookies
      • Kotaw

      3
      3
      Posts
      4755
      Views

      Ok then I will do that. Thanks for the answer.
    • "TypeError: Cannot read property 'forEach' of undefined" if new PathFinder enabled
      • Mototroller

      5
      5
      Posts
      10436
      Views

      Thanks, fixed.
    • Being limited to 30 CPU instead of 40
      • tedivm

      19
      19
      Posts
      22283
      Views

      Fixed! Bucket is growing as well here.
    • Weird Reservation Timer Drops
      • Amadox

      2
      2
      Posts
      4079
      Views

      na, seems to be my mistake with my graphing, because in the time before the drop, the reservation time is a straight line, not going down.   Edit: yup, my mistake, misshandling of stats tracking while missing visibility; everything is fine : )
    • GCL point increase isn't boosted with boosted creeps
      • Dissi

      3
      3
      Posts
      3019
      Views

      Looks like my logging only logged every other tick... Sorry about this! It works as intended, verified by moving my code from some method to the top of the loop: console.log(Game.time + " - [" + JSON.stringify(Game.gcl) + "]"); Now have the correct results.
    • Materials in storage is deleted if a player respawns
      • wicked

      1
      1
      Posts
      3360
      Views

      No one has replied

    • catalyzed ghodium alkalide not reducing damage
      • chris

      3
      3
      Posts
      5266
      Views

      Thanks for reporting, this must be fixed now.
    • Game.map.findRoute broken
      • Dissi

      6
      6
      Posts
      8711
      Views

      The bug is fixed, new findRoute is enabled again.
    • Room.createConstructionSite allows invalid placement
      • ThyReaper

      1
      1
      Posts
      3274
      Views

      No one has replied

    Move Topic