Jump to content




Project Orion (Builder w/Automated Refilling & SmartDig) v0.02a

turtle api

  • This topic is locked This topic is locked
17 replies to this topic

#1 sjones321

  • Members
  • 9 posts

Posted 25 March 2012 - 02:15 PM

Ok so I am releasing the first alpha version of Project Orion, made by myself and EVmaker. The primary reason for this release, is to get you guys the alpha version of our building program. This program as of now will build a house of any(as long as the turtle can enter the chunks) dimension with little to no interaction with you past setup. This most importantly includes the ability to return to a refill location when its running low on materials and trigger either Redpower or Buildcraft systems to refill its inventory. Therein it will return to work on its designated project, continuing to refill as necessary.

That said Project Orion does more than just that. Included as of version .01a is movement code with goto(location) functionality all of which is needed to run the building program. Our movement code is largely “inspired” by a mixture of Cookiebal's and Liraal's early movement code though it has been modified a great deal to suite our needs and truly at this point remains only as an inspiration. If you are a coder your self you are welcome to substitute your own movement and goto functionality or that of someone else in your personal code as long as the turtle remains cable of going to a specific refill location.

Key Features (for now)

1. Build function with automatic refilling station.
2. Movement api that maintains a smart position (still slightly buggy in situations)
3. Smart dig function using the same movement code to drop its inventory at a specified point and return to digging.
4. Other api functions you are welcome to explore on your own that I will work on documenting for you guys.


Video of it refilling.



Planned Features
Spoiler


Downloads
Orion Api v0.01a
http://pastebin.com/TukxbtBk

https://dl-web.dropb....txt?w=336495c7
Orionp Program v0.01a
http://pastebin.com/bB6NUMcK

https://dl-web.dropb....txt?w=b7c83f10

Installation
Spoiler

Usage
Spoiler


License
Spoiler

Credit goes to tomass1996 for the use of two of his stringutil functions. And to Cookiebal for inspiration from his movement code and permanent variable code. And to Liraal for the inspiration for our present movement code and most importantly Dan200 for his wonderful mod.


#2 Wolvan

  • New Members
  • 384 posts
  • LocationIn the TARDIS

Posted 25 March 2012 - 02:35 PM

Just add the code of your api into the program and replace all functions [your API-Name].function1() with function1. Best is using notepad++'s replace function. Just type in search
[Your_API_Name].
and in replace Nothing

#3 sjones321

  • Members
  • 9 posts

Posted 25 March 2012 - 04:39 PM

View PostWolvan, on 25 March 2012 - 02:35 PM, said:

Just add the code of your api into the program and replace all functions [your API-Name].function1() with function1. Best is using notepad++'s replace function. Just type in search
[Your_API_Name].
and in replace Nothing

the problem with that is the api is pretty big covering alot more than turtle functions so yeah thats basically it but have to be more selective. but generally yes.

#4 Wolvan

  • New Members
  • 384 posts
  • LocationIn the TARDIS

Posted 25 March 2012 - 07:26 PM

It doesn't really make a difference if you add the whole API or just a selected part, does it?

#5 sjones321

  • Members
  • 9 posts

Posted 25 March 2012 - 11:33 PM

View PostWolvan, on 25 March 2012 - 07:26 PM, said:

It doesn't really make a difference if you add the whole API or just a selected part, does it?
just in the time it takes me.

#6 hamish1001

  • New Members
  • 75 posts
  • LocationAustralia

Posted 26 March 2012 - 03:32 AM

does this work?

#7 HTxL

  • New Members
  • 16 posts

Posted 26 March 2012 - 04:18 AM

View Posthamish1001, on 26 March 2012 - 03:32 AM, said:

does this work?

Do you see a code?

#8 hamish1001

  • New Members
  • 75 posts
  • LocationAustralia

Posted 26 March 2012 - 06:54 AM

no hahaha :o/>

#9 sjones321

  • Members
  • 9 posts

Posted 27 March 2012 - 12:13 AM

it does work, should have code up later today or tomorrow, sorry been busy lately. good to see people are interested.

#10 Wolvan

  • New Members
  • 384 posts
  • LocationIn the TARDIS

Posted 27 March 2012 - 04:25 PM

And can you create Pics or Vids for this?

#11 sjones321

  • Members
  • 9 posts

Posted 27 March 2012 - 05:03 PM

sure I can work on making a video for it no problem.

#12 Lasere123456

  • Members
  • 30 posts

Posted 29 July 2012 - 11:21 AM

ok... so how do i get it to start?

#13 Bushido

  • New Members
  • 13 posts

Posted 23 September 2012 - 06:04 AM

I have the program in the right folder but it wont start! I want to use this so bad!

#14 Bushido

  • New Members
  • 13 posts

Posted 04 October 2012 - 07:40 PM

Wanting to buy and update?

#15 ikon106

  • Members
  • 23 posts

Posted 09 October 2012 - 07:11 PM

Could you post a mirror of the program? Neither of those sites work in Turkey.

#16 ikon106

  • Members
  • 23 posts

Posted 12 December 2012 - 12:40 AM

I don't know if this is still maintained, but if it is.. How do you download an api from pastebin? is it possible to do within' a computer? if not how would you do it so it isn't called orion.txt?

#17 Toby

  • Members
  • 5 posts

Posted 20 April 2013 - 04:33 AM

It's have some issues
- can't go up when there is a block at the top, even flow of water or lava - it stops
- doesn't select the first inventory slot after drop items - it stops when overflow space in the ninth slot

#18 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 20 April 2013 - 06:58 AM

This is an old topic. Please refrain from reviving such topics from the grave, considering it is no longer updated.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users