Jump to content




Cookiebal's Programs (CookieSystem || Turtle advanced movement || Skynet networking || Project World Eater || And a lot more)


  • You cannot reply to this topic
160 replies to this topic

#141 Cookiebal

  • Members
  • 82 posts

Posted 02 September 2012 - 12:19 AM

Someone requested it recently and now I need it again so I might as well make it public, the download link contains the computer part of the world eater save. Parts of it might not work entirely correctly, but if you have really want to this is the best way to obtain the full set if the world eater project's entire code. It also has a bunch of my skynet related projects though most of it was abandoned near start with the exception of the released skynet stuff.

http://www.sendspace.com/file/il31s8

#142 Cookiebal

  • Members
  • 82 posts

Posted 14 September 2012 - 06:34 PM

Movement System (update)
I added an ui thingy to the movement system that makes it easier to use manually. It will first ask if you want to use the currently saved coordinates, enter them manually or use GPS locating to get them (of course the turtle needs to have a modem and access to some gps hosts). After that you enter the waypoints/destination and type done to send it on its way.

I put all the necessary code in an installer program and uploaded it to pastebin: http://pastebin.com/1vyVpVKq
The main file ("movesys", in the root folder) is what you need to run after installing.
You don't have to worry about anything in the "movementsystem" folder.

I also made some changes to the persistent variables api and movecoord api (different named functions) and put them in the main file.

#143 gknova61

  • Members
  • 74 posts

Posted 20 September 2012 - 01:27 AM

Was wondering if someone could clear this up.
Quote:
"skyneteventmessage() -- This one works more like an os.pullEvent() with an extra event named "skynet" (which has the first parameter as message), so that you can wait for a skynet message or a key press or anything else."

Does this add an event named "skynet" that can be fired or does it not and it was a misinterpretation? What I want to do is substitute the event rednet_message for the "skynet" event I think exists. Also, if it does exist, does it return the same as rednet_message (parameters senderId, message, and distance)?

#144 Cookiebal

  • Members
  • 82 posts

Posted 20 September 2012 - 01:40 AM

It waits until an event is given, if it is a skynet message (over rednet) it will return the string "skynet" (event name) and the message. If any other event happens it returns the event name and the first two parameters, the same thing as a normal os.pullEvent() (as long as it doesn't have three or more additional parameters I guess, so wireless rednet wouldn't give the distance for example).

#145 martejj

  • New Members
  • 1 posts

Posted 11 November 2012 - 08:01 PM

hi i have done all of the installing stuff for the frame engine factory, it shows up in my mining turtle but when i try to run it goes up one block and back 2 and then says" createframeengine:10: attempt to call nil" can someone please if they know whats wrong tell me? thx

#146 Cookiebal

  • Members
  • 82 posts

Posted 11 November 2012 - 10:46 PM

Weird, that error would be at
turtle.suckDown()

But I don't see how that could be a problem.


Does that command work (With the lua thingy you get when you type lua in the shell) if you put a turtle above a chest with items in it?
Maybe you're using an older version of CC than I used and the command wasn't implemented yet? The CC 1.4 patch notes does mention changes to this command.

#147 Ajt86

  • Members
  • 42 posts

Posted 07 February 2013 - 05:57 AM

Do you mind if I attempt to improve some of the latest ComputerCraft programs you made into better programs?
Note that I will give you credit for compiling them.
My idea is for example if they require files to have them automatically created by the programs themselves and can be filled up within the program. Making it easier for people who do not know Lua programming to be able to use these programs.
If you do not authorize it, I do not mind.
If you authorize it, thanks, it will keep me busy.

Ajt86

#148 anonimo182

  • Members
  • 252 posts
  • LocationIn the universe

Posted 07 February 2013 - 01:27 PM

Thanks for reviving this post, as almost any other...
<sarcasm>

#149 adamrocks130

  • Members
  • 5 posts

Posted 17 February 2013 - 07:52 AM

View Postmartejj, on 11 November 2012 - 08:01 PM, said:

hi i have done all of the installing stuff for the frame engine factory, it shows up in my mining turtle but when i try to run it goes up one block and back 2 and then says" createframeengine:10: attempt to call nil" can someone please if they know whats wrong tell me? thx

I'm having issues too and i have no idea how to fix it.

And I'm running ComputerCraft 1.32

#150 adamrocks130

  • Members
  • 5 posts

Posted 18 February 2013 - 02:02 PM

Now I'm having issues with the frame engine on ComputerCraft 1.4
The turtle does an endless cycle through all 16 slots and it doesn't stop.
Please help!

#151 Skullblade

  • Members
  • 470 posts
  • LocationThe Big Apple, NY

Posted 18 February 2013 - 02:20 PM

View Postadamrocks130, on 18 February 2013 - 02:02 PM, said:

Now I'm having issues with the frame engine on ComputerCraft 1.4
The turtle does an endless cycle through all 16 slots and it doesn't stop.
Please help!
Dont bump

#152 Cookiebal

  • Members
  • 82 posts

Posted 21 February 2013 - 01:10 AM

View PostAjt86, on 07 February 2013 - 05:57 AM, said:

Do you mind if I attempt to improve some of the latest ComputerCraft programs you made into better programs?
Note that I will give you credit for compiling them.
My idea is for example if they require files to have them automatically created by the programs themselves and can be filled up within the program. Making it easier for people who do not know Lua programming to be able to use these programs.
If you do not authorize it, I do not mind.
If you authorize it, thanks, it will keep me busy.

Ajt86

With appropriate credits saying that I made my code, sure.

View Postadamrocks130, on 18 February 2013 - 02:02 PM, said:

Now I'm having issues with the frame engine on ComputerCraft 1.4
The turtle does an endless cycle through all 16 slots and it doesn't stop.
Please help!

Is your setup completely right? (contents in the chests and start position/face of the turtle included). If so, on what part of the process does it go wrong? Did it put anything in the inventory when it's cycling trough?

#153 adamrocks130

  • Members
  • 5 posts

Posted 03 March 2013 - 10:32 AM

Sweet it works, thanks

#154 Brodur

  • Members
  • 21 posts
  • LocationCanada, eh?

Posted 08 July 2013 - 05:55 PM

So... I've made a network of relays to host an IRC across server, but after relay 35 the signal no longer get returned, all relays are spaced at 63 blocks apart. relay 35 works to send IRC, 36 does not. It is very odd.
Just had to reboot the server computer to integrate the new relays. Woopsi.

#155 icecube45

  • Members
  • 38 posts

Posted 15 September 2013 - 05:48 PM

View PostCookiebal, on 02 September 2012 - 12:19 AM, said:

Someone requested it recently and now I need it again so I might as well make it public, the download link contains the computer part of the world eater save. Parts of it might not work entirely correctly, but if you have really want to this is the best way to obtain the full set if the world eater project's entire code. It also has a bunch of my skynet related projects though most of it was abandoned near start with the exception of the released skynet stuff.

http://www.sendspace.com/file/il31s8
Cookiebal
I thought you had left, but since I just saw you were active yesterday, I guess I can finally ask this

The file has expired, so I'm wondering if you still have a copy of project world eater, as I would love to utalize it
Thank you!
-ice

#156 Cookiebal

  • Members
  • 82 posts

Posted 19 September 2013 - 06:37 PM

View Posticecube45, on 15 September 2013 - 05:48 PM, said:

View PostCookiebal, on 02 September 2012 - 12:19 AM, said:

Someone requested it recently and now I need it again so I might as well make it public, the download link contains the computer part of the world eater save. Parts of it might not work entirely correctly, but if you have really want to this is the best way to obtain the full set if the world eater project's entire code. It also has a bunch of my skynet related projects though most of it was abandoned near start with the exception of the released skynet stuff. http://www.sendspace.com/file/il31s8
Cookiebal I thought you had left, but since I just saw you were active yesterday, I guess I can finally ask this The file has expired, so I'm wondering if you still have a copy of project world eater, as I would love to utalize it Thank you! -ice

I still check around every once in a while. I also still read every comment posted on my videos, more often than I check these forums.

I couldn't find the files in a quick search, I might have them on another computer or on my external hard drive. Or perhaps on this laptop in some forgotten folder? I'll keep an eye out for it in any case.

I do have something else though, a never finished project, the Advanced Chicken Factory. Basically a giant factory with breeding rooms, chicken teleporters, incinerators, and a chicken transport system.
http://www.sendspace.com/file/won0qe
The factory itself is mostly build, however I kinda forgot about the project in the early stages of programming it.


Recently I've been busy with irl electronics stuff(like two weeks or so) and the Arduino microcontroller (2 days), which is programmable, like a tiny computer.

Posted Image
(This image is a screenshot of a short movie made with my phone.)

#157 icecube45

  • Members
  • 38 posts

Posted 19 September 2013 - 11:47 PM

View PostCookiebal, on 19 September 2013 - 06:37 PM, said:

View Posticecube45, on 15 September 2013 - 05:48 PM, said:

View PostCookiebal, on 02 September 2012 - 12:19 AM, said:

Someone requested it recently and now I need it again so I might as well make it public, the download link contains the computer part of the world eater save. Parts of it might not work entirely correctly, but if you have really want to this is the best way to obtain the full set if the world eater project's entire code. It also has a bunch of my skynet related projects though most of it was abandoned near start with the exception of the released skynet stuff. http://www.sendspace.com/file/il31s8
Cookiebal I thought you had left, but since I just saw you were active yesterday, I guess I can finally ask this The file has expired, so I'm wondering if you still have a copy of project world eater, as I would love to utalize it Thank you! -ice

I still check around every once in a while. I also still read every comment posted on my videos, more often than I check these forums.

I couldn't find the files in a quick search, I might have them on another computer or on my external hard drive. Or perhaps on this laptop in some forgotten folder? I'll keep an eye out for it in any case.

I do have something else though, a never finished project, the Advanced Chicken Factory. Basically a giant factory with breeding rooms, chicken teleporters, incinerators, and a chicken transport system.
http://www.sendspace.com/file/won0qe
The factory itself is mostly build, however I kinda forgot about the project in the early stages of programming it.


Recently I've been busy with irl electronics stuff(like two weeks or so) and the Arduino microcontroller (2 days), which is programmable, like a tiny computer.

Posted Image
(This image is a screenshot of a short movie made with my phone.)

Nice!
Thanks for the chicken farm,
Let me know if you find the files!

#158 Cookiebal

  • Members
  • 82 posts

Posted 09 April 2014 - 10:37 PM

Turtle Platform (More like turtle umbrella)

I made a tiny program using the pocket computer that, at the moment, makes a tiny turtle umbrella above your head that follows you around. The intention was a platform that you could use to get across chasms and such, but I kinda took the wrong approach so I got this instead. Feel free to improve it.

To use it you need a pocket computer with the platform and platformbroadcaster programs and a tiny swarm of turtles with the turtleplatform and the movement system stuff I used and slightly edited. Those turtles need their coordinates set too, you can do it manually in /movementsystem/pervar/ or run movesys and select either manual or locate, when it goes to the next step just reboot and start up turtleplatform.

When you start platform on the pocket computer you get an interface with currently two possible commands: platform (gathers the computers and gives them the offset for a platform above your head (max 9) and start, which starts the coordinates broadcaster that attracts the turtles.

Spoiler

Spoiler

Spoiler

Spoiler

Spoiler


Code: http://www.sendspace...file/d2g69s

There might be a bunch of bugs in it too, didn't test it much + half the code is two years old and my lua knowledge is rusty.

Some tips if you want to make something similar to my original intentions: Don't use offsets like I did, when I move the turtle below me wants to stay right below me and the turtle I just stepped on wants to go forward. Select an unused turtle each time you move to move with you, instead of all turtles.

Edited by Cookiebal, 09 April 2014 - 10:45 PM.


#159 apemanzilla

  • Members
  • 1,421 posts

Posted 10 April 2014 - 12:09 PM

View PostCookiebal, on 09 April 2014 - 10:37 PM, said:

Turtle Platform (More like turtle umbrella)

I made a tiny program using the pocket computer that, at the moment, makes a tiny turtle umbrella above your head that follows you around. The intention was a platform that you could use to get across chasms and such, but I kinda took the wrong approach so I got this instead. Feel free to improve it.

To use it you need a pocket computer with the platform and platformbroadcaster programs and a tiny swarm of turtles with the turtleplatform and the movement system stuff I used and slightly edited. Those turtles need their coordinates set too, you can do it manually in /movementsystem/pervar/ or run movesys and select either manual or locate, when it goes to the next step just reboot and start up turtleplatform.

When you start platform on the pocket computer you get an interface with currently two possible commands: platform (gathers the computers and gives them the offset for a platform above your head (max 9) and start, which starts the coordinates broadcaster that attracts the turtles.

Spoiler

Spoiler

Spoiler

Spoiler

Spoiler


Code: http://www.sendspace...file/d2g69s

There might be a bunch of bugs in it too, didn't test it much + half the code is two years old and my lua knowledge is rusty.

Some tips if you want to make something similar to my original intentions: Don't use offsets like I did, when I move the turtle below me wants to stay right below me and the turtle I just stepped on wants to go forward. Select an unused turtle each time you move to move with you, instead of all turtles.
He's back :o (I hope?)

#160 MineFarms

  • Members
  • 18 posts

Posted 17 June 2014 - 12:24 AM

Hey Cookiebal Your download link for the turtle platform is broken. Please Fix this





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users