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
      6636
      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
      3813
      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
      7104
      Views

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

      4
      4
      Posts
      5788
      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
      5540
      Views

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

      6
      6
      Posts
      4648
      Views

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

      2
      2
      Posts
      3218
      Views

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

      3
      3
      Posts
      4382
      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
      6233
      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
      3107
      Views

      No one has replied

    • Spawn.prototype problems
      • chris

      1
      1
      Posts
      3382
      Views

      No one has replied

    • Player's informations stored in cookies
      • Kotaw

      3
      3
      Posts
      4307
      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
      9464
      Views

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

      19
      19
      Posts
      19826
      Views

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

      2
      2
      Posts
      3759
      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
      2617
      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
      3116
      Views

      No one has replied

    • catalyzed ghodium alkalide not reducing damage
      • chris

      3
      3
      Posts
      4829
      Views

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

      6
      6
      Posts
      7937
      Views

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

      1
      1
      Posts
      3016
      Views

      No one has replied

    Move Topic