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

    • No stack trace for some type errors
      • sparr

      2
      2
      Posts
      3519
      Views

      another example: TypeError: Cannot read property 'toUpperCase' of undefined at module.exports (arbitrage:38:27) Here's a call that produces that error:   Game.map.getRoomLinearDistance(undefined,undefined)   Shouldn't it give me a more verbose trace?
    • [closed]Minor bug? Market history of energy (avg ± stddev)
      • n0ne

      5
      5
      Posts
      5078
      Views

      Maybe a new marked-resource could be used, where people are only able to create "sell" deals to beg for credits. (trade without reward) That way people can still give their credits to another person and the histories wouldn't be screwed.  
    • Script execution has been terminated due to a fatal error: Error: Invalid room name
      • NihilRex

      2
      2
      Posts
      4526
      Views

      There was an issue on attempts to pathfind out of the map borders (i.e. into rooms with 71+ coordinates). It is fixed now.
    • Error: Could not load terrain data
      • sparr

      5
      5
      Posts
      6516
      Views

      This must be fixed now, thank you for reporting.
    • Uncaught throw terminates script silently?
      • Helam

      3
      3
      Posts
      5123
      Views

      It is generally accepted that you throw Errors; the cost of instantiating an Error is far less impactful than that of triggering the exception mechanism, so it is in your best interest to do so. Also, http://www.devthought.com/2011/12/22/a-string-is-not-an-error/.
    • notifyWhenAttacked(enabled) should not be const (0.2 CPU)
      • Voronoi

      4
      4
      Posts
      6353
      Views

      Prime's solution is the cleanest imho.
    • Link doesn't fill up target link, stuck at 799
      • Puciek

      10
      10
      Posts
      14451
      Views

      Say I have two links with 600 energy in them, and I would like for one of them to have 800 in it.Currently I can send 200, and 194 gets there, 6 eaten by the fee, so now I've got 400 and 794. That could still work exactly as it does now.If I try to send 207 now, I get an error, because 207 is more than will fit in the target. But that's silly, because not all 207 is going to make it to the target. Instead, an attempt to send 207 should work, and I should end up with 393 and 800 in the links.
    • PathFinder tries to go through unavailable rooms
      • sparr

      1
      1
      Posts
      2724
      Views

      No one has replied

    • Getting email alerts from Source Keeper attacks
      • deadlypineapple

      5
      5
      Posts
      6839
      Views

      ho well, this is also the reason of my post about notification cost.
    • Creep.moveTo returns -9 which is not documented
      • Admiral

      4
      4
      Posts
      6192
      Views

      Moving towards the goal if there is no full path is basically the default behavior. ERR_NO_PATH is returned when there is really no path steps available, e.g. when a creep is surrounded by obstacles. Could you provide an isolated test case using bare PathFinder (without Room methods involved) that doesn’t match this behavior?
    • Cannot convert Circular structure to JSON
      • t3jem

      5
      5
      Posts
      7725
      Views

      A stack trace would have shown that it was failing while trying to stringify memory rather than a console.log a circular reference though (which I've done before and had a similarly difficult time tracking down).   Errors like this should always provide a stack trace to help point to where the error is (whether it's bad stored data, or a bad log).
    • Minor visual bug for flags with secondary color
      • Bleem

      2
      2
      Posts
      2998
      Views

      see http://screeps.com/forum/topic/695/Secondary-flag-colors-breaking
    • Remove memory watch
      • QzarSTB

      5
      5
      Posts
      8044
      Views

      It does not matter if that object exists or not, I already tried to delete my local storage with the mozilla dev tools. But it does not fix it. I can add new ones, but never delete old ones, unless i clear local storage.
    • CPU constantly higher after switching to newly cloned branch
      • WASP103

      1
      1
      Posts
      2558
      Views

      No one has replied

    • Lose code when switch to world view
      • MaximumPeaches

      4
      4
      Posts
      5801
      Views

      woops, wrong thread
    • Possible deserialization problem in sim
      • sparr

      1
      1
      Posts
      2656
      Views

      No one has replied

    • Mineral extraction/harvesting
      • Admiral

      2
      2
      Posts
      4743
      Views

      StructureExtractor has no mineralAmount, so yes, you cannot mine from it - in other words, you cannot lower its mineralAmount.
    • All flags in specific room became invisible
      • Lupus

      5
      5
      Posts
      7692
      Views

      "Are you sure they are enabled in the room display preferences?" Yes. "Were there any errors in the browser console when you open this room?" I don't know cause I'm using steam client. I can try to reproduce this in browser later.
    • Broken SK Rooms
      • deadlypineapple

      8
      8
      Posts
      9812
      Views

      Thank you for reporting, this bug is fixed now.
    • [GUI] Powerspawn has "Add memory to watch" - powerspawners have no memory
      • Dissi

      2
      2
      Posts
      1649
      Views

      Thanks, this is fixed now.

    Move Topic