Navigation

    forum

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

    Topics created by seancl

    • Market.deal occasionally fulfills amount-1 instead of amount
      Technical Issues and Bugs • • seancl

      1
      1
      Posts
      2933
      Views

      No one has replied

    • Make Market prototype accessible to players
      Feature Requests • • seancl

      3
      3
      Posts
      4693
      Views

      I see, thanks - I incorrectly assumed that the Market object was implemented as a class.     I had tried your suggested approach earlier, but it didn't work - it turns out this is because I was setting the function outside of the main loop.  This tactic works for modifying other prototypes like the Creep that persist in the global scope, but functions I attached to Game.market outside of the loop do not appear to persist.  Presumably this means that Game.market is created anew each tick and does not persist in the global scope like the prototypes on Creep or Room.   Moving the function definition into the main loop solved my issue.  Thanks for the helpful response, and sorry for the false alarm!
    • Creeps walking through Room Protection walls
      Technical Issues and Bugs • • seancl

      2
      2
      Posts
      3434
      Views

      This bug has been in effect for a few hours after the patch and is already fixed. Sorry for that.