Navigation

    forum

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

    Posts made by JEllie

    • RE: room.find(FIND_EXIT)

      *Im not exactly sure if this a bug or a feature...

      also I need an editing function fpr this forum 😄

      posted in Help
      JEllie
    • room.find(FIND_EXIT)

      Hey guys,
      Im not exactly if this a bug or a feature but room.find(FIND_EXIT); returns ALL edge cells instead of the exit cells. Its not a big problem but if it is a bug I reported it 😄

      Reproduction steps (I cant believe I have to do this):

      Game.spawns.Spawn1.room.find(FIND_EXIT);
      
      posted in Help
      JEllie
    • RE: Survival game broken, can't quit

      try refreshing your browser with every new game

      posted in Technical Issues and Bugs
      JEllie
    • RE: pos.findClosest is undefined

      Sorry. The code I use is an altered version of the tutorial code:

      function doJob(creep,spawn) 
      {
           if (creep.energy < creep.energyCapacity)
      
          {
          var source = creep.pos.findClosest(FIND_SOURCES);
      
      creep.harvest(source);
          }
      }
      

      but you can also reprocude it by calling from the console:

      Game.creeps['<creepername>'].pos.findClosest(FIND_SOURCES);
      
      posted in Technical Issues and Bugs
      JEllie
    • pos.findClosest is undefined

      Hey,

      I just saw that the findNearest() method is depreciated and was removed an hour ago but the findClosest() method seems to be gone too. Was this by mistake or intented?

      posted in Technical Issues and Bugs
      JEllie