Navigation

    forum

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

    Topics created by Durzo

    • First attempt at logic to automate creep creation
      Help • • Durzo

      4
      4
      Posts
      6674
      Views

      And don't forget. This script is running EVERY Game Tick. So you have to store your vars "hc" "uc" "bc" somewhere else. Maybe in the memory Object of the room Alternatively don't give names or use a random number.
    • Silly question for you pros
      Help • • Durzo

      4
      4
      Posts
      5029
      Views

      You're not calling the memory. try console.log(Game.creeps.Worker1.memory.role);
    • New to everything
      Help • • Durzo

      4
      4
      Posts
      5809
      Views

      This depends how far developed your knowledge is. non-screeps related: 1) get a knowledge of the (programming/javascript) basics: The Mozilla Developer Network is a very comrehensive source for the whole range of programmers from beginners up to pros. 2) get into Object oriented programming and javascript's prototypal nature 3) read about the module programming pattern and node.js screeps related: 1) read the introduction to understand how screeps works. ( especially try to graps the tick based architecture ). 2) Have a look at the example code, THINK ABOUT IT, try to reproduce it, don't proceed to the next step until you got the concept. 3) make extensive use of the screeps help section and especially the API Reference