Navigation

    forum

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

    Topics created by hesto2

    • Error Launching Server
      Private servers • • hesto2

      4
      4
      Posts
      7271
      Views

      It seems that you have very outdated server version. Actually I believe this version should have not been released even. Could you please tell what’s the contents of your D:\Games\Steam\SteamApps\common\Screeps\server\package.json file? And please re-install your Steam Screeps package after that.
    • API
      Feature Requests • • hesto2

      1
      1
      Posts
      2805
      Views

      No one has replied

    • Adjacent Rooms
      Help • • hesto2

      2
      2
      Posts
      4554
      Views

      You could make a function that determines adjacent rooms based on the room name. If you take North and East as positive axis, South and West as negative you could give each room a x,y coordinate (e.g. W10N5 = -10,5). Now you can simply calculate "coordinations" of adjacent rooms and convert it back to a name.
    • CPU Optimization
      General Discussion • • hesto2

      7
      7
      Posts
      11817
      Views

      It seems to me that a flowfield would be more beneficial during attacks with larger groups of units. If you have a few units it probably wouldn't be worth the CPU but as your attack formations become larger I think a flowfield would be more beneficial over multiple path calculations. I'm currently switching most of my expensive CPU calls into a message based system: whenever a creep needs a new path, it posts a message to the back of the command queue. When I'm done with all work and still have CPU left I'll calculate a new path for the creep. The creep won't post a 'requestPath' command whenever there's one in the cache it can use.