Navigation

    forum

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

    Topics created by Cae

    • Spawn recycling unbuilt creep
      Technical Issues and Bugs • • Cae

      2
      2
      Posts
      3569
      Views

      Fixed in this commit.
    • The purpose of visibility?
      General Discussion • • Cae

      5
      5
      Posts
      6528
      Views

      I believe that would also have serious implications in the server-side code. Right now, all objects available to the user at all are created beforehand, and used to populate an internal "register" as well as all the find caches / Game.structures / Game.spawns / etc. Game.getObjectById is literally a function `return _register[id];`.   If _all game objects_ were made available, this architecture would definitely have to change - creating one copy of every single game object per user per tick would be, well, very expensive. What the replacement would be, I don't know, but it would probably incur some additional performance costs, both with Game.getObjectById and other functions which use the internal register to validate things.   The solution I would favor would be something like Game.inspectPlayer(player) to get GCL and a list of rooms with RCLs next tick, usable once per tick, as well as a Game.inspectRoom(room) function giving RCL, controller sign, owner, and a 50x50 grid of enemy/road/wall/empty squares (similar to the view on the world map). inspectRoom would also be usable once per tick, and would give results the next tick.
    • Increase max simulation speed
      Feature Requests • • Cae

      3
      3
      Posts
      5924
      Views

      Awesome! Thanks, stybbe.