Giter VIP home page Giter VIP logo

screeps-ai's People

Contributors

dependabot[bot] avatar jerroydmoore avatar jnmoore-intel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

screeps-ai's Issues

Miners logic

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.