Navigation

    forum

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

    Topics created by black0441

    • Unsolved Force a global reset
      Help • • black0441

      17
      17
      Posts
      12406
      Views

      How about this? let reset = false exports.forceReset() = function() { reset = true } module.__initGlobals = function() { if (!reset ) return reset = false throw new Error("boom") } This will throw an exception outside of the regular evalCode wrapper. I think this will make the vm think it threw the exception and reset the global.
    • Only allow 1 order per resource per room on the market
      Feature Requests • • black0441

      8
      8
      Posts
      5008
      Views

      Just wanted to add that if such a limit is added, it has to be at least two orders per resource type. It should be perfectly viable to have both a sell-order and buy-order. That said, I do not think this is a problem.
    • Fantastic Game
      General Discussion • • black0441

      1
      1
      Posts
      1384
      Views

      No one has replied