jerroydmoore / screeps-ai Goto Github PK
View Code? Open in Web Editor NEWMy personal Screeps AI repository
Home Page: http://screeps.com
License: MIT License
My personal Screeps AI repository
Home Page: http://screeps.com
License: MIT License
Hello, Still learning screeps and thought I would give this code a go to try and learn more about the starter mechanics. It looks very detailed and the automated nature of it is interesting to me.
I did notice that when the miners get spawned the logic goes down the role.upgrader 'default catch all' mechanics but because they spawn with no carry due to the idea of them is sitting directly on the containers this doesn't appear to work and they get stuck at the spawner saying "ERR_NOT_EN" I am going to look through the code and attempt to learn from it but thought I would raise it as an issue.
The console says "#28671285[2] [creep Miner28670051] [room W31S58 pos 18,23] could not perform upgradeController: ERR_NOT_ENOUGH_ENERGY" and
#28671295[2] ERROR [creep Miner28669901] TypeError: Cannot convert undefined or null to object
at Function.keys ()
at RoleMiners.run (role.miner:24:25)
at Object.runSingeCreep (creep-manager:23:12)
at Object.values.forEach (creep-manager:15:51)
at Array.forEach ()
at Object.runAll (creep-manager:15:27)
at Object.module.exports.loop (main:86:16)
at __module (__mainLoop:1:52)
at __mainLoop:2:3
at Object.exports.evalCode (:15845:76)
This looks like some good places for me to start tracing the code.
Thank you for your work in this so far, my code has been a lot more basic than this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.