Navigation

    forum

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

    Lolzor

    @Lolzor

    8
    Posts
    1935
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Lolzor Follow

    Posts made by Lolzor

    • Screeps server not working on windows with steam api

      Doesn't seem to run with steam api

       

      Heres the error window:

       

      [Window Title]
      Error

      [Main Instruction]
      A JavaScript error occurred in the main process

      [Content]
      Uncaught Exception:
      Error: Error on initializing Steam API
      at Object.<anonymous> (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\node_modules\@screeps\launcher\electron\main.js:12:11)
      at Module._compile (module.js:556:32)
      at Object.Module._extensions..js (module.js:565:10)
      at Module.load (module.js:473:32)
      at tryModuleLoad (module.js:432:12)
      at Function.Module._load (module.js:424:3)
      at Object.<anonymous> (C:\Program Files (x86)\Steam\steamapps\common\Screeps\server\resources\electron.asar\browser\init.js:171:8)
      at Module._compile (module.js:556:32)
      at Object.Module._extensions..js (module.js:565:10)
      at Module.load (module.js:473:32)

      [OK]

      posted in Private servers
      Lolzor
    • RE: Screeps Server on windows

      EDIT: Please refer to new instructions.

      posted in Private servers
      Lolzor
    • Screeps Server on windows

      EDIT:
      1. Download and install npm
      https://www.npmjs.com/package/npm
      **When installing there will be a option to add to env var make sure its selected

      2. Restart server

      3. From elevated powershell or cmd
      npm install --global --production windows-build-tools

      4. Restart server

      5. From elevated powershell or cmd:
      npm install -g screeps
      cd \
      mkdir .\yourDirHere
      i.e. mkdir .\server

      cd .\yourDirHere
      i.e. cd .\server

      6. Screeps init
      **It will then ask for your web api, copy and paste into power shell or cmd

      7. Screeps start

      And voila you're up and running.

      EDIT EDIT:

      You might have to create inbound/outbound firewall rules for node js

      If you want to start your server up again just go to powershell or cmd, cd to your server dir and run: screeps start

      posted in Private servers
      Lolzor
    • RE: Builders being derpy

      shuffled my code around seems to be ok now 😛

       

      nope just went screwy again

      posted in Private servers
      Lolzor
    • RE: Builders being derpy
      Looks like it is jumbling the array, output of console.log(conSite[0]). Maybe I'm not understanding how the mechanic works or maybe it works diffrently on the private servers compared to the main one. Note that all the construction sites are still unfinished.
       
      Harv: 2/2 Haul: 2/2 Upgrader: 3/3 Builder: 1/1
      [12:55:50 PM]
      [construction site (extension) #8dc6ec0ef9e91b0]
      [12:55:51 PM]
      <-- Home room stuff W8N3 -->
      [12:55:51 PM]
      Harv: 2/2 Haul: 2/2 Upgrader: 3/3 Builder: 1/1
      [12:55:51 PM]
      [construction site (extension) #8dc6ec0ef9e91b0]
      [12:55:52 PM]
      <-- Home room stuff W8N3 -->
      [12:55:52 PM]
      Harv: 2/2 Haul: 2/2 Upgrader: 3/3 Builder: 1/1
      [12:55:52 PM]
      [construction site (extension) #8dc6ec0ef9e91b0]
      [12:55:53 PM]
      <-- Home room stuff W8N3 -->
      [12:55:53 PM]
      Harv: 2/2 Haul: 2/2 Upgrader: 3/3 Builder: 1/1
      [12:55:53 PM]
      [construction site (extension) #8dc6ec0ef9e91b0]
      [12:55:54 PM]
      <-- Home room stuff W8N3 -->
      [12:55:54 PM]
      Harv: 2/2 Haul: 2/2 Upgrader: 3/3 Builder: 1/1
      [12:55:54 PM]
      [construction site (extension) #c297ec12142a286]
      [12:55:55 PM]
      <-- Home room stuff W8N3 -->
      [12:55:55 PM]
      Harv: 2/2 Haul: 2/2 Upgrader: 3/3 Builder: 1/1
      [12:55:55 PM]
      [construction site (extension) #c297ec12142a286]
      [12:55:56 PM]
      <-- Home room stuff W8N3 -->
      [12:55:56 PM]
      Harv: 2/2 Haul: 2/2 Upgrader: 3/3 Builder: 1/1
      [12:55:56 PM]
      [construction site (extension) #c297ec12142a286]
      [12:55:57 PM]
      <-- Home room stuff W8N3 -->
      [12:55:57 PM]
      Harv: 2/2 Haul: 2/2 Upgrader: 3/3 Builder: 1/1
      [12:55:57 PM]
      [construction site (extension) #c297ec12142a286]
      [12:55:58 PM]
      <-- Home room stuff W8N3 -->
      [12:55:58 PM]
      Harv: 2/2 Haul: 2/2 Upgrader: 3/3 Builder: 1/1
      [12:55:58 PM]
      [construction site (extension) #c297ec12142a286]
      [12:55:59 PM]
      <-- Home room stuff W8N3 -->
      [12:55:59 PM]
      Harv: 2/2 Haul: 2/2 Upgrader: 3/3 Builder: 1/1
      [12:55:59 PM]
      [construction site (extension) #c297ec12142a286]
      [12:56:00 PM]
      <-- Home room stuff W8N3 -->
      [12:56:00 PM]
      Harv: 2/2 Haul: 2/2 Upgrader: 3/3 Builder: 1/1
      [12:56:00 PM]
      [construction site (extension) #c297ec12142a286]
      [12:56:01 PM]
      <-- Home room stuff W8N3 -->
      [12:56:01 PM]
      Harv: 2/2 Haul: 2/2 Upgrader: 3/3 Builder: 1/1
      [12:56:01 PM]
      [construction site (extension) #c297ec12142a286]
      [12:56:03 PM]
      <-- Home room stuff W8N3 -->
      [12:56:03 PM]
      Harv: 2/2 Haul: 2/2 Upgrader: 3/3 Builder: 1/1
      [12:56:03 PM]
      [construction site (extension) #c297ec12142a286]
      [12:56:03 PM]
      <-- Home room stuff W8N3 -->
      [12:56:03 PM]
      Harv: 2/2 Haul: 2/2 Upgrader: 3/3 Builder: 1/1
      [12:56:03 PM]
      [construction site (extension) #f14fec0f527da35]
      [12:56:04 PM]
      <-- Home room stuff W8N3 -->
      [12:56:04 PM]
      Harv: 2/2 Haul: 2/2 Upgrader: 3/3 Builder: 1/1
      [12:56:04 PM]
      [construction site (extension) #f14fec0f527da35]
      [12:56:06 PM]
      <-- Home room stuff W8N3 -->
      [12:56:06 PM]
      Harv: 2/2 Haul: 2/2 Upgrader: 3/3 Builder: 1/1
      [12:56:06 PM]
      [construction site (extension) #f14fec0f527da35]
      [12:56:06 PM]
      <-- Home room stuff W8N3 -->
      [12:56:06 PM]
      Harv: 2/2 Haul: 2/2 Upgrader: 3/3 Builder: 1/1
      [12:56:06 PM]
      [construction site (extension) #f14fec0f527da35]
      [12:56:07 PM]
      <-- Home room stuff W8N3 -->
      [12:56:07 PM]
      Harv: 2/2 Haul: 2/2 Upgrader: 3/3 Builder: 1/1
      [12:56:07 PM]
      [construction site (extension) #c297ec12142a286]
      [12:56:09 PM]
      <-- Home room stuff W8N3 -->
      [12:56:09 PM]
      Harv: 2/2 Haul: 2/2 Upgrader: 3/3 Builder: 1/1
      [12:56:09 PM]
      [construction site (extension) #2cb4ec11beec9ef]
      posted in Private servers
      Lolzor
    • RE: Builders being derpy

      The code it self in the post is not formatted but it is fine in the script.

      posted in Private servers
      Lolzor
    • Builders being derpy

      I'm trying to use the same code as i use on the main server but my builders seem to jumble up the array when building.

      var conSite = creep.room.find(FIND_CONSTRUCTION_SITES);

      if(creep.build(conSite [0]) == ERR_NOT_IN_RANGE) {
      if(!creep.fatigue){
      creep.moveTo(conSite [0]);
      }
      }

      So shouldn't it complete site[0] before going to the next site[0]

      posted in Private servers
      Lolzor
    • n00b

      Hiya, I started playing about a week ago and I'm addicted now so just lloking for pointers on my code.

      https://github.com/AVATAR-Phoenix/jeepersscreepers 

      Please and Thank you in advance.

      posted in Help
      Lolzor