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

#61 Cookiebal

  • Members
  • 82 posts

Posted 05 March 2012 - 03:13 PM

What's in your waypoints.txt?

#62 Leo Verto

  • Members
  • 620 posts
  • LocationOver there

Posted 06 March 2012 - 12:14 PM

I would like to learn more about your Skynet networking! How about hiding the computers for the network somewhere, so it looks more natural and having passwords for them, so no one could just hack into the network?

#63 Espen

    Curious Explorer

  • Members
  • 708 posts

Posted 06 March 2012 - 12:40 PM

View PostLeo Verto, on 06 March 2012 - 12:14 PM, said:

I would like to learn more about your Skynet networking! How about hiding the computers for the network somewhere, so it looks more natural and having passwords for them, so no one could just hack into the network?
Well you could put them below the the ground, but then it wouldn't be a 'Skynet' anymore, more like a 'Groundnet'? Soilnet?^^
Or you put some blocks around them in the sky, so that it looks like ballons, planes, etc. :unsure:/>

#64 Leo Verto

  • Members
  • 620 posts
  • LocationOver there

Posted 06 March 2012 - 01:37 PM

View PostEspen, on 06 March 2012 - 12:40 PM, said:

Well you could put them below the the ground, but then it wouldn't be a 'Skynet' anymore, more like a 'Groundnet'? Soilnet?^^
Or you put some blocks around them in the sky, so that it looks like ballons, planes, etc. :unsure:/>
Yeah that's true, It's not really nice to have floating turtles everywhere, but since 1.2 they can be hidden very high.

Balloons and planes *dreams of it* the turtles could even build their own ones. B)/>

#65 Espen

    Curious Explorer

  • Members
  • 708 posts

Posted 06 March 2012 - 02:14 PM

View PostLeo Verto, on 06 March 2012 - 01:37 PM, said:

View PostEspen, on 06 March 2012 - 12:40 PM, said:

Well you could put them below the the ground, but then it wouldn't be a 'Skynet' anymore, more like a 'Groundnet'? Soilnet?^^ Or you put some blocks around them in the sky, so that it looks like ballons, planes, etc. B)/>
Yeah that's true, It's not really nice to have floating turtles everywhere, but since 1.2 they can be hidden very high. Ballonos and planes *dreams of it* the turtles could even build their own one. B)/>
Yes, this! Nice idea. I can imagine a turtle launching into the air, building part of a plane, then sinking down into the 'cockpit' and placing the last block, completely disguising itself. Turtles are just the best addition (yet). :unsure:/>

#66 Leo Verto

  • Members
  • 620 posts
  • LocationOver there

Posted 06 March 2012 - 02:21 PM

Project World Eater could become project Turtle Empire with turtles mining, building (also building more turtle factories).
Now we just need an AI to code new turtle programs and plan new buildings. :unsure:/>

#67 Cookiebal

  • Members
  • 82 posts

Posted 06 March 2012 - 09:28 PM

Releasing the Skynet api now, and an IRC thing as an example. I actually wanted an email system but it's about time I release the skynet api but I don't got enough time to make a proper email server, so that will come later.

Skynetapi
Allows you to send long range messages via a network of special wireless repeaters. Note: You have to open the rednet ports separately
Functions are
skynetrepeater() -- Use this to make a turtle/computer act as a repeater.
skynetsendmessage(message, targetid) -- sends the string message to the computer with id targetid (it will only arrive if both computers are connected to the same network).
skynetreceivemessage() -- Waits for a skynet message and returns it.
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.
Spoiler
If you don't understand something you can take a look at the IRC program.

IRC
A basic chat program that uses the skynetapi. First make sure you're connected to a skynet, then make sure there is a computer running the IRCserver program and get its ID. Then you have to open the IRCclient program on your own computer and configure the rednet modem side and server id at the top.
commands are
/quit -- be sure to use this when you stop. It causes you to logout so the server won't send messages to your computer anymore.
/name <name> -- Name yourself.
If you don't type a "/" at the start it will send the message to the IRC server and broadcast it to all connected people.

IRCserver
Spoiler

IRCclient
Spoiler


#68 wolfnether

  • New Members
  • 7 posts

Posted 06 March 2012 - 10:20 PM

you use broacast for send data is not safety !

#69 Ceredorac

  • New Members
  • 2 posts

Posted 07 March 2012 - 10:12 AM

with the turtle factory, how did you get the buildcraft auto-crafting tables to be able to use pickaxes in their recipes?

#70 Cookiebal

  • Members
  • 82 posts

Posted 07 March 2012 - 11:31 AM

View PostCeredorac, on 07 March 2012 - 10:12 AM, said:

with the turtle factory, how did you get the buildcraft auto-crafting tables to be able to use pickaxes in their recipes?

Build a chest with the pickaxes in it next to the autocrafting table.

View Postwolfnether, on 06 March 2012 - 10:20 PM, said:

you use broacast for send data is not safety !

It indeed isn't very secure, but it is convenient. A repeater placed anywhere will work without needing to reconfigure the old ones. I just build my computer close enough to the network (or get an additional repeater between me and the network) and I'm good to go.

#71 Gurax

  • New Members
  • 1 posts

Posted 10 March 2012 - 12:25 PM

how can i instal the skynet?

#72 Cookiebal

  • Members
  • 82 posts

Posted 10 March 2012 - 12:36 PM

You make a file on your computer and call it skynetapi and then put the skynet stuff in it. Do this on each computer/turtle that is going to use skynet.

To make a repeater you just have to place the computer/turtle where you want and give it a startup program like this:

shell.run("skynetapi")
rednet.open("side the modem is on")
skynetrepeater()

To send a message over the skynet you could use a program like this

shell.run("skynetapi")
rednet.open("side with the modem")
print("What do you want to send")
message = read()
print("Who do you want to send it to")
targetid = read()
skynetsendmessage(message, targetid)

An example program to receive and print messages:
shell.run("skynetapi")
rednet.open("side with the modem")
receivedmessage = skynetreceivemessage()
print(receivedmessage)


#73 petrus4

  • New Members
  • 21 posts

Posted 10 March 2012 - 02:50 PM

Out of curiousity, what do you do for wood, Cookie? I'm in the process of writing up some horrifically primitive turtle scripts for lumberjacking; although they're workable, provided I carry the turtles around and place them manually before I do each row. :mellow:/> I probably should just bite the bullet and install Forestry, but it seems far too big for my needs.

#74 Cookiebal

  • Members
  • 82 posts

Posted 10 March 2012 - 03:57 PM

View Postpetrus4, on 10 March 2012 - 02:50 PM, said:

Out of curiousity, what do you do for wood, Cookie? I'm in the process of writing up some horrifically primitive turtle scripts for lumberjacking; although they're workable, provided I carry the turtles around and place them manually before I do each row. :mellow:/> I probably should just bite the bullet and install Forestry, but it seems far too big for my needs.

With the Turtle Factory? Well, I just hope that at some point the turtle swarm will hit a forest. One proper forest will probably support the factory for quite a while. But other than that I got no special stuff for getting wood.

#75 Monochrome

  • Members
  • 11 posts

Posted 12 March 2012 - 01:23 PM

Hi, I'd like to try and build something like your turtle factory, but I'm running in a bit of a problem. What mods are you using, buildcraft + redpower + computercraft? How did you resolve the blockID incompatibility between redpower and buildcraft? Should I really start modifying block ids by hand?

#76 Cookiebal

  • Members
  • 82 posts

Posted 12 March 2012 - 03:12 PM

I did it manually, because I failed at opening RP2s config file D: . But you can just ctrl+f auto assign or auto-assign (not sure which one) in the RP2 config and change the bit behind it. That way it resolves the ids automatically.

#77 petrus4

  • New Members
  • 21 posts

Posted 14 March 2012 - 12:13 PM



:mellow:/>

You will probably also very much like this, Cookie:-
Skynet Tactics

That whole site (http://www.goingfaster.com/term2029/) but particularly the above page, has been an influence on the shell scripting I've done. Christopher Shields is an amazing writer.

#78 Pigbear

  • Members
  • 6 posts

Posted 18 March 2012 - 03:26 PM

I must get the turtle factory!!!!!!!!!! Also the new accelerators will be good for swift making of the turtles.

#79 BigSHinyToys

  • Members
  • 1,001 posts

Posted 21 March 2012 - 07:48 PM

is there any plans for skynet to have security features. right now i could see all traffic by just ruining a print in a loop with a os.pull above it.

#80 Cookiebal

  • Members
  • 82 posts

Posted 21 March 2012 - 08:32 PM

View PostBigSHinyToys, on 21 March 2012 - 07:48 PM, said:

is there any plans for skynet to have security features. right now i could see all traffic by just ruining a print in a loop with a os.pull above it.

Maybe in the future some time, but for now users can use this kind of programs to at least have the message itself encrypted http://www.computerc...__fromsearch__1





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users