Code Monkey home page Code Monkey logo

dog's People

Contributors

fatboychummy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ashleyscott1

dog's Issues

Avoiding (pathfinding around) certain blocks

In some modded instances, the turtle is unable to mine more blocks than just bedrock. Because of this, the turtle can get stuck underground. We can currently exclude these blocks, but the turtle will not actively avoid them.

I would like to avoid adding a pathfinding algorithm into this project, as it'll be a fair amount of extra code and complexity for very little usage. I can probably add it in such a way that it won't actively effect anything unless you include the avoid flag, but at this moment I'm unsure how much it's even needed.

If there's enough support I will definitely look into adding this, but for now I will wait.

Testing: Test with Plethora's Block Scanner

This so far works for the geoscanner from Advanced Peripherals, but I have yet to test this with Plethora's block scanner.

It would be good to test this soon, as I do want this program to work for both systems.

Resuming from shutdown

I would like to be able to resume the program from a shutdown (ie: if the chunk unloaded then reloaded, or server restarted, or etc.).

I have a bit of this implemented already, but it's currently just "dead code" hanging there doing nothing.

I have an ideas for implementation, but I'm not sure how much I like it. A lot can go wrong and data can be lost.

It would first move any startup.lua, startup, and startup/ files/folders into a temporary directory. From there, it would create a new startup file that just runs dog with some specific arguments.

On program completion, it would restore the old files. Perhaps even reboot again so other startup files can run when the turtle returns.

Another idea would be to simply create (or enter) a startup folder and create something like 00_dog.lua which just runs the dog program. This can run into other issues though, if for example the user has some kind of operating system that runs from the main startup.lua, causing dog to never be rerun.

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.