Jump to content




Turtle Butler


14 replies to this topic

#1 nitrogenfingers

    Lua Professor

  • Members
  • 436 posts
  • LocationCanberra, ACT

Posted 04 August 2012 - 03:38 PM

I've never really understood forums.

Anyway, as a bit of a test of the new 1.4 features I developed a robot butler. The code for his movement is quite ad hoc so I've uploaded the world file (http://www.mediafire...t1ks256pd5rz12k) rather than the uselessly applied code for the system. In it, if you can find the villa, you'll find a robot butler you can command. He can:
- Store anything you put in the first 4 slots of his inventory
- Fetch items when commanded by the terminal in the bedroom
- Craft tools and bake bread, and deliver them to the bedroom
- Smelt iron and gold in the furnaces in the hypocaust- after putting stuff down there he'll check it back whenever he has free time
- Respond to storage mine carts arriving- take and store anything on them, optionally fill them with coal, and then send them the way they came.

Most operations can be done from the command terminal in the bedroom, except for context-sensitive ones like mine carts arriving- these are done automatically. I made a video of it in action- you can watch it here:


The crafting approach is probably the most interesting, and ostentatious in the program. As I couldn't figure out how to have a turtle with both wireless and a crafting bench the turtles communicate rather how people in the academy in Gulliver's Travels did- they carry with them everything they need and point to what they mean for the other turtle to know. It's exceeding error prone and quite fiddly- certainly not a safe system, but in an enclosed environment and without intervention it does work.

That's sort of it. The code is pretty hideous so I don't know if it'll be of much help, but it's kind of cool requesting fresh bread be delivered to my bedchamber. Sort of a powertrip thing, I guess.

#2 Cruor

  • Members
  • 402 posts
  • LocationNorway

Posted 04 August 2012 - 04:05 PM

Nice work ;)/> love your videos nitrogen, You should note that a computer -counts- as a bundledcable, meaning you can comunicate via the redstone API like that. Atleast you have inspired me to take my ideas to the next step, turtle buttlers is the future :P/>

#3 max1220

  • Members
  • 24 posts
  • LocationGermany

Posted 04 August 2012 - 04:13 PM

Coool. :P/>

#4 nitrogenfingers

    Lua Professor

  • Members
  • 436 posts
  • LocationCanberra, ACT

Posted 05 August 2012 - 12:01 AM

Yeah in hindsight I'd have used a different kind of communication than that. I suppose the reason I went with a inventory based approach was that was sort of the mindset I was already in- turtles need to keep inventory of what they're putting away on hand so it seemed logical to keep using inventory comparisons to identify objects throughout the system.

But using bundled cables or maybe a Morse code-style redstone system would certainly have been better. Hindsight is 20/20- I'll remember that next time I expect.

#5 mtemple12

  • New Members
  • 6 posts

Posted 15 August 2012 - 05:24 PM

If you download the world file and you have the turtles set to not need fuel, then you need to change line 630-something of the script in the butler turtle. And also, I found a bug where the butler gets stuck above the minecart when trying to fill/empty it. I made no modifications to the code other than commenting out the refuel part of the code (this would cause an error in the program since my turtles don't need fuel).

#6 Steelsouls

  • New Members
  • 5 posts
  • LocationSouthern California

Posted 04 September 2012 - 06:17 AM

Your turtle butler is so wonderful! I love the user interface on your command computer and the crafting turtle. Also as a side note, you have a great building style. I really like the hypocaust. Didn't know what it was so I looked them up and I'm going to start incorporating them into my builds.

#7 chemboy11

  • New Members
  • 1 posts

Posted 16 October 2012 - 09:32 PM

Could you please make a .zip file? thanks!

#8 Ralnick

  • New Members
  • 32 posts
  • Locationthe lighter side of Hell -- South Dakota

Posted 17 October 2012 - 12:39 AM

great Vid, thanks for that... I guess i have different IDs for the CC blocks. bother PCs and Turtles are not there.. and when I click on the space they should be the game crashes.

any chance of getting the programs? and how to install them (in what PC or turtle?) or how to get them from the world save?

#9 ChunLing

  • Members
  • 2,027 posts

Posted 17 October 2012 - 12:56 AM

Look under ".minecraftsavesWorld_namecomputerID" where World_name is the name of the world and ID is the numerical ID of the computer/turtle.

#10 Ralnick

  • New Members
  • 32 posts
  • Locationthe lighter side of Hell -- South Dakota

Posted 17 October 2012 - 01:40 AM

thanks, for the info. ChunLing :D/>

#11 cheekycharlie101

  • Members
  • 231 posts

Posted 21 October 2012 - 04:55 PM

dude ive seen ur videos, there amazing. keep up the good work :)/>

#12 raywave

  • New Members
  • 7 posts

Posted 06 January 2013 - 08:53 AM

how is it that you get turtles to put coal in a furnace?

#13 Radsail

  • Members
  • 4 posts

Posted 14 April 2013 - 10:46 PM

Hey cool video
My ids are conflicting so I dont have the cc and turtles. Is there a way how I can get the programs to put it on manually
Thanx

#14 Bill4788

  • Members
  • 46 posts

Posted 15 April 2013 - 02:41 AM

This is Amazing!

#15 LoneRangerGuy

  • Members
  • 10 posts
  • LocationCalifornia near the 101

Posted 17 April 2014 - 09:30 PM

I love the villa, very nice! Unfortunately, I don't get computers or turtles either. :( Perhaps you could edit your original post and give the specific version(s) of Minecraft it is known to work with and/or post the code to pastebin so they can be recreated in more modern versions.
Also, kudos for the Turtle Inventory Tutorial, so maybe I should work on my own version of a turtle butler.

Thanks :)





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users