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

    • Strange reoccurring error
      • unstoppableCarl

      5
      5
      Posts
      5949
      Views

      One thing they could do to prevent the whole 'forfeit your tick' is by wrapping all console input in a try/catch block. In case an error occurs, display it and then run the regular script code. I tried this and I still get the error.
    • All screps are died (they don't move,work and etc.)
      • 3axap4eHko

      7
      7
      Posts
      7459
      Views

      put a console.log on top of your main.js
    • Simulation room: findClosest no longer works correctly on source
      • DilGaladh

      2
      2
      Posts
      3510
      Views

      WWW SW H W H = harvester W = WALL S = source on wall
    • Email overload
      • hyramgraff

      5
      5
      Posts
      6463
      Views

      Looks broken again today
    • Structure glitches
      • GrandonBroseph

      4
      4
      Posts
      5401
      Views

      Yep, everything's working just fine now. Awesome!
    • Transfering energy to controller
      • Athanasius

      3
      3
      Posts
      4430
      Views

      Hey Athanasius, welcome to the screeps community! Can you please first check if something is perhaps wrong with your code, before flooding the Forum?
    • Comment on last line of code causes errors
      • DXsmiley

      2
      2
      Posts
      3321
      Views

      Huh, never noticed this, but it is correct. Same issue if I try it. Its easy to simply work around though.
    • Room.controller is 'undefined'
      • Athanasius

      2
      2
      Posts
      3666
      Views

      HAH, i figured it out, sorry for the dumbness, I'm kind of new.
    • Game frozen for me but for others not
      • Avicenna

      1
      1
      Posts
      2008
      Views

      No one has replied

    • Actual hit points of creeps not accessible. findClosest fails too.
      • ThN1saHead

      2
      2
      Posts
      2936
      Views

      My bad, I found out that I had overwritten the "hits" property previously to the execution of this code. Can this be prevented by making the "hits" property read-only?
    • Strange error when executing successful command from console.
      • DXsmiley

      6
      6
      Posts
      7516
      Views

      I have exactly the same problem: When executing an console command, I sporadically get an error in a piece of code which works completely fine otherwise! reproductionManager.reproduce.call(creep); TypeError: Cannot read property 'call' of undefined In regular script execution, this code works without problems! Just if I type a console command, I get this error now and then! I guess this has to do with a similar issue (which I already created a post about), that the regular code is not accessible from console anymore (Prototype declarations, enhancements of the global object, etc.)! :-((
    • createCreep called twice in same Game.tick weird
      • DilGaladh

      4
      4
      Posts
      4823
      Views

      Ok, I get it now, thank you for the reminder, it's not a bug then.
    • Two extensions on the same tile
      • Aurel

      5
      5
      Posts
      6520
      Views

      I would like to point out that the defect I observed was resolved with a simple refresh of the page. Obviously not ideal, though might help point to where the issue is occuring
    • Don't add comment on last line.
      • akuukis

      3
      3
      Posts
      4449
      Views

      In my code, I wrap my code within new Function(<code>);. While I use this to keep simple syntax errors out of the code, this also could help avoiding user code doing unexpected things. See https://github.com/avdg/screeps/blob/39d36cf49b358d2615b65ce73131e625a7ab14b4/lib/codegen/extensions.js#L332 On live code, a simple wrapper around the code should be enough be enough. Just make sure that there is a newline behind the code injection. I'm using this wrapper in my code: https://github.com/avdg/screeps/blob/39d36cf49b358d2615b65ce73131e625a7ab14b4/lib/codegen/extensions.js#L193
    • unable to save changes in memory editor or console for rooms
      • chad3814

      2
      2
      Posts
      3219
      Views

      nevermind, I was changing it in a script
    • Newbie walls?
      • GrandonBroseph

      9
      9
      Posts
      10736
      Views

      @GrandonBroseph I completely agree that everything that we can do as human controllers, our Screeps AI ought to be able to do -- including looking at map tiles we don't have a creep on, placing an initial spawn, and reinforcing spawns. The current system rewards those who babysit and penalizes those who code strategy. To think that nobody will use extra accounts to abuse the system is unrealistic; there have already been multiple complaints about it happening. The system has to be built so as not to reward abuse.
    • Can't claim controller
      • Avicenna

      6
      6
      Posts
      7013
      Views

      It would definitely be nice to have more information about it. My guess was based on how different it looked from all the other rooms. The indiegogo page says that 6 were bought out of 10. So far that's the only one i've been able to find that looks intentionally designed so i have no idea where the other five went.
    • What's wrong with findPath?
      • 3axap4eHko

      2
      2
      Posts
      3077
      Views

      Also I'm worried about moveTo method that does not return ERR_NO_PATH for the first case
    • Energy do not collects at one object.
      • Misha

      1
      1
      Posts
      2621
      Views

      No one has replied

    • wrong movement costs
      • chris

      8
      8
      Posts
      8182
      Views

      I've got the same issue in W9S9

    Move Topic