I feel ya. Feels like most bugs are ignored and the shards are over populated with no where to code/play without getting murdered.
CrAzYDubC
@CrAzYDubC
Posts made by CrAzYDubC
-
RE: Quiting screeps
-
RE: energyAvailable wrong - shard1
I wrote my own function to fix this since it's been months with no response. Hit me up on slack on CrAzYDubC and I will help ya out.
-
Negative Pixels
Logged in an saw that I had negative pixels. Here is what I think occurred but I am unable to verify it in my market logs.
My code executed on two shards at once and ran a deal for 500 pixels on each shard thus throwing it into the negative. Is there anyway to filter out my historical orders for Pixels to try and narrow down this bug for yall?
-
Decayed structures do not call event log.
Decayed structures that get destroyed do not call an EVENT_OBJECT_DESTROYED room log. I believe this is where it should be added. Without it, there is no way for the user to easily see a structure was destroyed by decay.
Edit. It would seem calling destroy() on it also does not call for the room log.
-
RE: Ability to pass custom heuristic formula to pathfinder.search
@o4kapuk Well, damn. Then a custom A* is the answer. Thanks man!
-
RE: energyAvailable wrong - shard1
I reported this bug months ago with no response via ticket.The work around is to pass the active extensions via
energyStructures
https://docs.screeps.com/api/#StructureSpawn.spawnCreep or destroy the inactive structures. -
RE: Ability to pass custom heuristic formula to pathfinder.search
Yes. Read the attached article.
heuristicWeight
equal to the 'scale' listed in the article. I am asking to overwrite the existing A* formulaF = G + weight * H
, with a different one. I wrote my own A* function, but it will always be slower than pathfinder due to server side caching. -
Ability to pass custom heuristic formula to pathfinder.search
As described. It would be nice to be able to pass a custom heuristic to pathfinder as a function.
http://theory.stanford.edu/~amitp/GameProgramming/Heuristics.html