Navigation

    forum

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

    Nidit

    @Nidit

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

    Nidit Follow

    Posts made by Nidit

    • RE: pos.findPathTo error not respecting roads as it should

      @smokeman It did not solve the problem to put " plainCost: 2, swampCost: 10". Still the same result

      posted in Technical Issues and Bugs
      Nidit
    • pos.findPathTo error not respecting roads as it should

      Hi, I have encountered persisting error on path creation. As far as I know new PathFinder is not enabled. It does not respect roads as it should. I tried to increase maxOps but there is no change. Without range also returns the same result (but in a different place). Maybe I do something wrong here.

      Code that creates path:

      structure = creep.room.controller;
      
       if (structure != null) {
      
          creep.memory.path = creep.pos.findPathTo(structure, { maxOps: 1000, ignoreCreeps: true, maxRooms: 1, range: 2});
      
           Game.rooms[creep.room.name].visual.poly(creep.memory.path, { stroke: '#00ff00', strokeWidth: .1, opacity: .5, lineStyle: 'dashed' });}
      

      With range: 0_1588156383388_a1a8d2d2-3bc9-4a34-972b-1b1ba1cb8787-image.png

      No range or 0: 0_1588158103808_467ff548-e254-4177-93f4-c7619ac7957e-image.png

      posted in Technical Issues and Bugs
      Nidit
    • RE: inactive structure store.getUsedCapacity returns null

      The same issue occurs in TOMBSTONEs.

      • Game.getObjectById("X").store.getUsedCapacity() = null
      • Game.getObjectById("X").store.getUsedCapacity(RESOURCE_ENERGY) = 207

      Hmm..

      posted in Technical Issues and Bugs
      Nidit