rom1504 / rbot

bot made with mineflayer which can do task
MIT License
89 stars 25 forks source link

a craft command / cget #6

Open rom1504 opened 11 years ago

rom1504 commented 11 years ago

should be a generated task : if it doesn't have the needed block, it should go get them (or craft them), so it needs to generate dependencies.

rom1504 commented 11 years ago

need https://github.com/superjoe30/mineflayer/issues/125 and https://github.com/superjoe30/mineflayer/issues/127 to progress on this one

rom1504 commented 11 years ago

the craft command now works, but I intend to do a more sophisticated craft command which will craft the needed block or possibly get them

rom1504 commented 11 years ago

cget command do that. What's missing from cget :

A cool objective for this command would be for the bot to start with nothing (no items) then for cget 1 swordDiamond to work.

rom1504 commented 11 years ago

cget now works better : the bot gets stuck less often : I have been able to collect 30 diamonds, 30 obsidian and 110 logs without too much problems Main problems left :

Once craft will work reliably I can use cget in smove so that the bot can be even more autonomous

andrewrk commented 11 years ago

I tried this today and it is really fun! It will be very cool when it can figure out how to complete complicated recipes

rom1504 commented 9 years ago

Craft is now fixed in mineflayer :)

So all these ideas up there can now be implemented.

rom1504 commented 9 years ago

Problem identified : cget 100 stone continue forever since the bot doesn't get stone, he gets stonebrick. cget 100 stonebrick doesn't get anything since it doesn't know how to get "stonebrick".

Possible fix : have a correspondence list between stone -- stonebrick and similar things.