Git Product home page Git Product logo

minebot's People

Contributors

epixsim0n avatar iamrinzler avatar michaelzangl avatar opticyclic avatar promofaux avatar vaccinate 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  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  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  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

minebot's Issues

Facing

Is there any way to change the facing of the bot?
There is a option to walk
for example:
minescript.doStrategy(minescript.strategyWalkTowards(minescript.getPlayer().x + 0, minescript.getPlayer().z + 9));
but is there also a option to change the facing like

minescript.doStrategy(minescript.strategyFacingEast(minescript.getPlayer().f + 80, minescript.getPlayer().f + 9));
or .getLocation().getDirection()
or something else?

And is there an option to port away if an other player is nearby?

Lumberjack: Destroying Dirt

With "/minebot lumberjack" there is an issue, when the bot lumberjack a oak wood tree with 4 wood inside. It destroys sometimes the dirt under the tree.

Suggestion: Use of enchanted items for different blocks

How about making the bot select different types of tools according to the block it mines? Not sure if this is possible but an example could be: Do /minebot mine diamond_ore, the bot will mine with a standard diamond pickaxe to the diamond ore, and once it gets to the diamond ore, it changes to a enchanted diamond pickaxe (with fortune and unbreaking enchants), and when finished it changes back to the normal pickaxe and goes to the next ore. Another example could be mining obsidian, in which it could change to a efficiency enchanted pickaxe. Ps: Love your bot :)

Plant saplings

Plant all saplings. Should support:

/minebot plant sapling
/minebot plant spurce
/...

Dont break blocks with the wrong tools

The bot break blocks with wrong tools, if the normal tool is not in the hotbar (dirt with axe, wood with pickaxe). Its not faster to break blocks with wrong tools as with hands or items.

Map icons

We should provide a nice set of map icons:

  • in yellow and pink (or just in white, then set color using Java)
  • 32px x 32px
  • One for death positions
  • Some more custom shapes (circle/octagon/diamond/...)

Minebot can't fly

When I'm in creative mode or just flying and type /minebuild build, minebot throws error "Cannot navigate to next build task", and stops.

/minebot airbridge using 'WIDTH

It seems that there is a bug using /minebot airbridge with the 'width' parameter.

Currently the function only works using SMALL (1 wide). The Function does work flawlessly with 1 wide airbridges.

changing the parameter to WIDE, WIDER, or MAXIMUM yields the "You must be standing on a half-slab" text.

EDIT: I figured it out. for /minebot airbridge WIDTH one needs to start the first row of blocks. I had been trying to do /minebot airbridge maximum while standing on a 1x1 area of slab. Thus for maximum width stand on a 1x7 platform of slabs placed on the lower half. The run /minebot airbridge maximum

Further EDIT: One needs to stand on the 'middle' block of the 1x7 platform or the bot throws the Stand on a half slab error. The bot needs to be able to see half slab on both sides of the player position to use the width parameter.

Note: Need to edit the helpText for airbridge.

Minebot disabling minimap

I was using xaeros_minimap_v1.7.8_Forge_1.8 before I installed Minebot. when I did the mini was gone. it is running cause I still use the in world waypoints...

running minebot .43 in minecraft 1.8....

/minebot fill block_type

opposite of /minebuild clear

to combat vclipping on factions servers we need to make really thick walls/floors/ceilings. It would be nice if we could automate this task a bit.

For a cube 16x15x16
/minebuild pos1 ~16 ~15 ~16
/minebuild pos2
/minebuild fill obsidian

This would also be really good for building large sandwalls.

Can't run scripts using /minebot js path

When I try to run script it throws error (shown in launcher):

[23:13:14] [Client thread/INFO] [STDOUT]: [net.famzangl.minecraft.minebot.ai.command.CommandRegistry:interceptCommand:226]: Minebot handling command: /minebot js C:\Users\User\Desktop\minebot\test.txt
[23:13:14] [Client thread/INFO] [STDOUT] [net.famzangl.minecraft.minebot.settings.MinebotSettings:getDataDir:75]: Data directory: C:\Users\User\AppData\Roaming.minecraft\minebot
[23:13:14] [Client thread/INFO] [STDOUT]: [net.famzangl.minecraft.minebot.ai.AIController:requestUseStrategy:350]: Request to use net.famzangl.minecraft.minebot.ai.scripting.CommandJs$RunScriptStrategy@2a769291
[23:13:14] [Client thread/INFO] [STDOUT]: [net.famzangl.minecraft.minebot.ai.AIController:onPlayerTick:156]: Using new root strategy: net.famzangl.minecraft.minebot.ai.scripting.CommandJs$RunScriptStrategy@2a769291
Exception in thread "Thread-22" [23:13:14] [Thread-22/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: java.lang.NullPointerException
[23:13:14] [Thread-22/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.famzangl.minecraft.minebot.ai.scripting.CommandJs$ScriptRunner.run(CommandJs.java:97)
[23:13:14] [Thread-22/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.Thread.run(Thread.java:745)

Walking

I have another question. After a chat message the bot should move x + 10 but i always get this error:
[Minebot] JS Error: null
But i cant find the issue =(
http://pastebin.com/vVE6fVe

Non-destructive lumberjack mode

There should be a mode where the lumberjack only destroys logs, leaves and possibly one other sort of block it uses for going upwards.

Alpha Build

Hey dude,

Just spent over an hour trying to compile this mod for 1.8.0 and gradle keeps throwing me errors. I can't think of how to get hold of you, so apologise for using this system. Would you be willing to compile this into a .jar for us?
Thanks for all your help,
Will

Make walking more smooth

Currently, when there are multiple moveTo-tasks after each other, the bot always stops at the reference points. We can walk or even sprint through them if the trajectory of the player does not change to much. But we need a lookahead (like blockbreak already does) for it.

Suggestion: Sugar cane farming

For example, when I do /minebot plant, the bot should break the 2nd layer of sugar canes, and place sugar canes in dirt/sand next to a water source.

Branch Mining

Branch / strip mining or tunnel mining - like tunnel, but the bot collects all (or whichever) exposed ores. If it is impossible to check if ores are exposed to air, this won't work, obviously. Making a strip mine (long tunnel with perpendicular tunnels every 6 or so) to go through manually later would still be helpful though.

Lumberjack should collect saplings

Implementation plan:

-> Create a new item scanner that scans the world for items and their positions
-> Add item positions to the target positions of the lumberjack
-> Try to walk through items when walking to the next tree.

/minebot craft 1 (item) not working in creative

Whenever I try the command /minebot craft 1 (any item) the bot don't manage to craft the item. Sometimes the player even walks to the crafting table, but then an error message appears (an other strategy took over) or even the "invalid item move specification" appears when it tries to create a coal block.

Create Documentation

There should be a basic documentation of all important commands (how and when to use them and their limitations)

The commands include:
/minebot plant
/minebot mine
/minebot mine nearby
/minebot tunnel

/minebot run (and /minebuild load), with some nice examples

/minebot fish
/minebot feed
/minebot kill

/minebot settings edit

Handling wolves:
/minebot sit (and unsit)
/minebot tint
/minebot feed

Storage management:
/minebot store
/minebot get
/minebot craft

You can use the in-game help (/minebot help ) or the class list to get a list of parameters.

A few images for AimBow would also be nice.

McMMO - Repair

  • Repair tools with McMMO Anvil
  • Don't break the tools when tools durability is near ZERO

/minebuild clear logic

Hi Michael,

First of all, excellent work on this bot!

I've noticed that when doing /minebuild clear, the bot doesn't really seem to have much logic about where it goes. I have set random to 0, but there are all sorts of anomalies that happen, including:
Digging up, below or around the clear area to get to a block it was stood right next to.
Suffocating in gravel.
Just stopping and staring at a block for a long time, until the mouse is wiggled...

Is there any way to get this to clear a hole in a more logical pattern? Like from the top down, up and down in lines until it needs to do the next layer?

I'm not so hot on my java, but I will be taking a look a the source at some point to see if I'm missing something!

Any tips are greatly appreciated!

Cheers

Adam

Auto fish

Just encountered a bug while auto fishing with multiple accounts.

When auto-fishing with multiple accounts, if they are both in the same chunck, both accounts will retract their fishing rod. One of the accounts caught a fish and the other one didn't. Afther that they just continue as normal.

Break ore with wrong pickaxe

v0.4b3

/minebot mine
/minebuild clear

Minebot break the iron ore with stone pickaxe but my hotbar has iron pickaxe

No /minebot run command in 1.8

I've always had trouble running javascript files, so i just use /minebot run to run text files, However, in 1.8 release, the /minebot run command is gone. How do you use buildscripts in 1.8?

[Edit] I found the command, it has been moved to /minebuild load [file]

Minebot Mine not working correctly.

Version: 1.8 Liteloader 1.8 FML 8.0.20.1023
Issue: When going to activate mine by typing /minebot mine the bot will do nothing. It'll slow down and lag the client and then say action was interrupted. If you have a torch in your main hand it will place one down on the ground below you go into the lag state and then say the same thing.

Farming Bot

It works very well and and as you have already marked for an update about the sugar cane breaking the second one, but I would find it very useful for it to have an option for it to do /sell all when the inventory has reached its capacity for a server with essentials

Fishing Bot

I love the everything on the bot but i did notice that there was a fishing bot with it and that it could only use 1 rod, It would be nice to see it have the ability to switch the rod at like 5 hits left and go to another rod so that on servers with ranks you can /fix the rods when you get back

Add chat commands support in API

I don't know how to suggest a feature so I suppose I'll put it here, I'd like for the ability to run a constant loop searching chat for a specific variable and then run a strategy based on that command.

This being included in the API, not the general /minebot commands. (Unless you want to)

Preferences

We should improve the central preference system. We might want to change the file type to something more useful than simple java properties (e.g. json/gson)

Those item types need to be supported:
-> A list of (factor, distance)-touples for each block
-> A list of blocks (including blocks with meta value)
-> float, int, boolean
-> A nice map for those on_damage_... values

-> Settings for walk/destruction lookahead and task prefetching.

Current file:
https://github.com/michaelzangl/minebot/blob/master/Minebot/resources/net/famzangl/minecraft/minebot/settings/minebot/minebot.properties

Minebuild can't pickup items from creative

When I'm in creative mode, minebot keeps asking me for specific blocks instead pick them from creative. Right now I'm on MP server which allows me to store creative items only in hotbar, not in inventory and this asking every couple blocks is driving me mad.

Autocomplete on /mine...

Currently, only autocomplete of parameters is supported. Hook into the network listener to change 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.