Navigation

    forum

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

    s00ner

    @s00ner

    3
    Posts
    809
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    s00ner Follow

    Posts made by s00ner

    • RE: Code that works in game give error in simulation

      I'm running this in the console not in game. I meant to specify that in my post but it looks like I forgot that part.

      posted in Technical Issues and Bugs
      s00ner
    • RE: Code that works in game give error in simulation

      Messed up the formatting and can't edit. Should be:

      Code:

      for(var name in Game.creeps) { var creep = Game.creeps[name]; }

      Error:

      SyntaxError: Unexpected token for
      at Object.c.runCode:5:34191

      posted in Technical Issues and Bugs
      s00ner
    • Code that works in game give error in simulation

      Just a basic for loop. Works fine in game but gives an error in the simulation.

      Code:
      `for(var name in Game.creeps) { var creep = Game.creeps[name]; }

      Error:
      'SyntaxError: Unexpected token for
      ` at Object.c.runCode:5:34191

      posted in Technical Issues and Bugs
      s00ner