Navigation

    forum

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

    JBYoshi

    @JBYoshi

    84
    Posts
    3227
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    JBYoshi Follow

    Posts made by JBYoshi

    • RE: Spawn not refilling energy

      Looks like it's https://screeps.com/a/#!/room/shard3/W3S35.

      Spawns only regenerate energy when the total amount of energy, in all spawns and extensions, is less than 300. Right now, you have exactly 300 energy in your spawns and extensions - five extensions are full with 50 energy each, an extension in the bottom left has 4 energy, and your spawn has 46. That adds up to 300, so energy regeneration stopped.

      posted in Technical Issues and Bugs
      JBYoshi
    • RE: Claiming a controller does/does not disable power

      It's the other way around. Unclaiming the controller (or letting it downgrade to 0) disables power.

      https://github.com/screeps/engine/blob/4a9595940970c5eac711ce045cfa571ba64d46db/src/processor/intents/controllers/tick.js#L54

      https://github.com/screeps/engine/blob/4a9595940970c5eac711ce045cfa571ba64d46db/src/processor/intents/controllers/unclaim.js#L26

      posted in Technical Issues and Bugs
      JBYoshi
    • RE: Season #1 announcement

      From what I can tell, it seems like the way the market will be disabled is just that NPC orders won't be generated. In order to create an order, you need to have some credits, and the only way to get credits is through an order that's already on the market. Without an NPC order to start the cycle, the market won't be active. Is that how it's going to be done?

      posted in News & Announcements
      JBYoshi
    • RE: How to install python package

      JavaScript is the primary programming language used for Screeps. However, if you want to use Python, there are some options available - see this post from a few months ago.

      posted in General Discussion
      JBYoshi
    • RE: Get shard names and decoration manipulation

      For the first one, you can look at Game.cpu.shardLimits. There's a key in there for every shard on the server.

      posted in Feature Requests
      JBYoshi
    • RE: Screeps Arena Preorder

      The alpha isn't currently available (the top post says "our current ETA for Closed Alpha is Q1 2021"), but you can preorder it from https://screeps.com/a/#!/arena if you want it at a discount.

      posted in News & Announcements
      JBYoshi
    • RE: Id<T>

      To fix that, you'll want to change the type of $roomCache.dismantle.ids. It looks like it's a string[] right now; if so, I think you need to change that to Id<Structure<BuildableStructureConstant>>[].

      posted in Help
      JBYoshi
    • RE: Id<T>

      Id<T> is basically an alias of a string. Usually, you can simply replace string with Id<T> wherever you need to.

      posted in Help
      JBYoshi
    • RE: How does each bodypart affect fatigue?

      For clarification, CARRY parts generate fatigue if and only if there is at least one resource in that part. As an example, if a creep has 3 CARRY parts and is carrying 60 energy, two of the three CARRY parts would generate fatigue. (If you start using boosts, the calculations get a bit more complicated, but the principles are still the same.)

      posted in Help
      JBYoshi
    • RE: movement speed - from odd no. of parts

      Your calculations are correct, but the time is always rounded up to the next larger whole number. It's more like the ceil() function than rounding. So your creep would be able to move every 2 ticks.

      posted in General Discussion
      JBYoshi