Navigation

    forum

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

    Stephane

    @Stephane

    7
    Posts
    997
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Stephane Follow

    Posts made by Stephane

    • StructureObserver should use some energy to observe another room

      It is strange that the StructureObserver is the only one structure in the game that never requires energy to work.

      It should be consistent that this structure also consume energy when working...

      First, the Obeserver should by fed with energy by some creeps, then the observeRoom() function could then work, usign that energy (as the labs do).

      The used energy to observe a room could also depend on the distance between the observer's room and the observed room (exponential value with the linear distance ?)

      posted in Feature Requests
      Stephane
    • How to simulate easily invaders with SIM world ???

      Hello,

      I never find an easy way to test my defense script...

      --> What is your best idea to test an invasion with SIM mode ?

      I think I should use the SIM mode... but how ? Where is the doc ?  How can I copy my current rooms and structures and screeps in the SIM world to test the script with the same environnement ?

       

      posted in Help
      Stephane
    • How to get the transferred quantity with creep.transfer ?

      Hello,

      I'm trying to get the exact energy quantity transferred during a creep.transfer().

      How can I get this value ?

      I tried, without success :

      energy_berfore = creep.carry.energy;
      creep.transfer(...)
      energy_after = creep.carry.energy;

      but both value before and after are always equals... So, it doesn't work ! 😞

       

      posted in Help
      Stephane
    • Minor typo in documentation

      Hello,

      There is a typo in the example Room.serializePath(

      The line

      Memory.path = Room.serializedPath(path);

      should be without the "d":

      Memory.path = Room.serializePath(path);
      posted in Technical Issues and Bugs
      Stephane
    • RE: How much time is needed to spawn a creep ?

      OK, great . 3 ticks/body parts. Didn't see this before 🙂

      posted in General Discussion
      Stephane
    • How much time is needed to spawn a creep ?

      Hello,

      I can't find the information on how many game ticks are needed to spawn a creep with a defined body

      Is it simply 1 tick per body part ? or something more complicated ?

      Example : body = [WORK, CARRY, MOVE, MOVE ] -_> Does this body take 4 game ticks to be spawned ? (when energey is available obviously)

      Thank you

      posted in General Discussion
      Stephane
    • RE: Oddness for fatigued creeps at borders

      I'm also affected by this strange behaviour....

      It is really annoying to have creeps going forward and backward between the rooms, while other are going trough without problem. The issue is the fatigue which is zero when in the wrong room....

      The creep should wait at the border when fatigue is >0 and not changing room back...

      How can this be solved by script ?

      posted in Technical Issues and Bugs
      Stephane