Navigation

    forum

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

    Posts made by Valerian

    • RE: Useful utilities

      I would like to add this starter project for TypeScript, which is currently actively maintained by a few of us (resir014, Valerian, ViezeVingertjes) 

      https://github.com/screepers/screeps-typescript-starter

      It's initially based on the work of MarkoSulamagi's (https://github.com/MarkoSulamagi/Screeps-typescript-skeleton) and GreatGloop (https://github.com/vanhouc/screeps).

       

      This is a very useful and interesting list, I think it would be nice to also have a list of this kind for people want to publicly share their own complete Screeps scripts or various code snippets.

       

      posted in General Discussion
      Valerian
    • RE: RoomPosition.lookFor(LOOK_TERRAIN) returns a string instead of an array

      @dissi actually I'm just reporting an issue that someone mentioned a few days ago on Slack, and we already suggested him to do that, but thanks 😄

      posted in Technical Issues and Bugs
      Valerian
    • RE: Constant CPU usage on PTR

      Stupid question, but was there any data in Memory? From what I have understood the serialization/deserialization of it is taken in account for your CPU.

      posted in General Discussion
      Valerian
    • RoomPosition.lookFor(LOOK_TERRAIN) returns a string instead of an array

      RoomPosition.lookFor() is supposed to return an array, however in the specific case of using it with LOOK_TERRAIN, it returns a single string containing the type of the terrain.

      All other LOOK_* types seem to properly return an array.

      Room.lookForAt(LOOK_TERRAIN, ...) properly returns an array with a single terrain type as a string inside it, as expected.

       

      posted in Technical Issues and Bugs
      Valerian
    • RE: Wrong type for Flag.color

      The issue is still there, both in normal and PTR API docs

      posted in Technical Issues and Bugs
      Valerian
    • RE: Huge (and unstable) Cpu cost of createFlag() function

      Maybe you should do your own flag name pool system?

      posted in Technical Issues and Bugs
      Valerian
    • RE: attacking with CLAIM

      I think it would be better just to only do something about people who lost everything and can't possibly recover their room, as you suggested in the last paragraph.

      posted in Feature Requests
      Valerian