This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
remiX's profile picture

What should I code :?

Started by remiX, 26 October 2012 - 08:47 PM
remiX #1
Posted 26 October 2012 - 10:47 PM
Hey guys :D/>/> I'm getting quite bored here and wondering if anyone has any ideas of what I could code. I have no ideas in my brain and I'm just blank :X Just wanna test my lua knowledge lol
Doyle3694 #2
Posted 26 October 2012 - 10:50 PM
make a turtle eslling system where you select a item in a computer, how many you want of it, and if you wanna buy or sell. then have this computer send rednet messages to the turtles which handle the buys and sells. to pay you throw a item into a transposer. The items get throwed out by another transposer
ChunLing #3
Posted 26 October 2012 - 10:52 PM
Make a master controller that coordinates a bunch of turtles to carry out a single large blueprint.

Or, just a building from blueprint program for a single turtle, people have been asking for that one.
Kingdaro #4
Posted 26 October 2012 - 11:14 PM
Make a turtle that digs a turtle and places a turtle that digs a turtle and places a turtle that digs a turtle and places a turtle that digs a turtle and places a turtle that digs a turtle and places a turtle that digs a turtle and places a turtle that digs a turtle and places a turtle that digs a turtle and places a turtle that digs a turtle and places a turtle that digs a turtle and places a turtle that digs a turtle and places a turtle that digs a turtle and places a turtle that digs a turtle and places a turtle that digs a turtle and places a turtle that digs a turtle and places a turtle that digs a turtle and places a turtle that digs a turtle and places a turtle that digs a turtle and places a turtle that digs a turtle and places a turtle that digs a turtle and places a turtle that digs a turtle and places a turtle that digs a turtle and places a turtle that digs a turtle and places a turtle that digs a turtle and places a turtle that digs a turtle
remiX #5
Posted 26 October 2012 - 11:30 PM
Nice one Kingdaro :D/>/> that will work great!

Well, I kind of dislike turtles and dislike making codes for them. Any computer-related idea's.
tom2018 #6
Posted 27 October 2012 - 12:11 AM
making a machine that will automatically copy from one disk to another eject the second disk wait for another disk to be entered and repeat.
(i tried making one of these but gave up because i made a small error that screwed it all up.)
Doyle3694 #7
Posted 27 October 2012 - 08:59 AM
a advanced login system with multiple users, different permisssions for different users, saving all users, their passwords and their permisssion in a file. then have very many menus with all a user can do etc
darkrising #8
Posted 27 October 2012 - 01:07 PM
Make a giant mail system, so you can send faxes from one house to another :D/>/>
remiX #9
Posted 27 October 2012 - 01:23 PM
making a machine that will automatically copy from one disk to another eject the second disk wait for another disk to be entered and repeat.
(i tried making one of these but gave up because i made a small error that screwed it all up.)

How could an error screw it all up? :D/>/> Could you give me the code and I'll carry it on from there and help

a advanced login system with multiple users, different permisssions for different users, saving all users, their passwords and their permisssion in a file. then have very many menus with all a user can do etc

Hmm, sounds good. I already have a multiple user login system so shouldn't be to bad. Just need to add permissions.
tom2018 #10
Posted 27 October 2012 - 03:05 PM
How could an error screw it all up? :D/>/> Could you give me the code and I'll carry it on from there and help
I pmed you it
remiX #11
Posted 27 October 2012 - 09:27 PM
How could an error screw it all up? :D/>/> Could you give me the code and I'll carry it on from there and help
I pmed you it

Cool :)/>/>

Quick noob question: How the hell do you set a label to a drive?

I've tried label set left test, but it says no disk in the left drive. But there is :|
tom2018 #12
Posted 27 October 2012 - 09:28 PM
Cool :D/>/>

Quick noob question: How the hell do you set a label to a drive?

I've tried label set left test, but it says no disk in the left drive. But there is :|
http://computercraft.info/wiki/index.php?title=Disk_(API)
hope that helps
remiX #13
Posted 27 October 2012 - 09:52 PM
I know that but how do I set it from the computer terminal :D/>/>

Edit: That isn't working either :/


input = read()
disk.setLabel("left", input)

Is this disk API available in v1.33? This is the version I'm using ><

The only one that I can confirm is disk.isPresent() and disk.eject() that is working for me :/
tom2018 #14
Posted 27 October 2012 - 10:03 PM
hmm re-install your apis folder see if it works
remiX #15
Posted 27 October 2012 - 10:18 PM
hmm re-install your apis folder see if it works

DIdn't work :/
Tiin57 #16
Posted 27 October 2012 - 10:21 PM
Stop using Tekkit. :D/>/>
remiX #17
Posted 27 October 2012 - 10:23 PM
Stop using Tekkit. :D/>/>

It's so much better then original minecraft :)/>/>

Edit:

I was using the wrong floppy disk XD
Doyle3694 #18
Posted 28 October 2012 - 01:11 AM
waht do you mean with so much better then original minecraft? You can mod your minecraft without using permissionlacking modpacks :D/>/>
And oh, no flamewars please
873Project #19
Posted 30 October 2012 - 06:17 PM
Make a computer locking system with 2 computers with a program that randomly generates a 4 digit code. You would have a labeled one in you inventory and you would place it down and put a modem on it and it would find the 4 digit number the computer controlling the door is currently on and use the same program to make the next code. Each code would last for 30 seconds. Or make a computercraft version of "Goto My PC". :P/>/>
remiX #20
Posted 30 October 2012 - 06:27 PM
Make a computer locking system with 2 computers with a program that randomly generates a 4 digit code. You would have a labeled one in you inventory and you would place it down and put a modem on it and it would find the 4 digit number the computer controlling the door is currently on and use the same program to make the next code. Each code would last for 30 seconds. Or make a computercraft version of "Goto My PC". :P/>/>

Sounds confusing ;D After reading your thread I'm attempting this Goto My PC but I'll probably take a while for me as I'm not that experienced.
873Project #21
Posted 31 October 2012 - 01:47 PM
Make a computer locking system with 2 computers with a program that randomly generates a 4 digit code. You would have a labeled one in you inventory and you would place it down and put a modem on it and it would find the 4 digit number the computer controlling the door is currently on and use the same program to make the next code. Each code would last for 30 seconds. Or make a computercraft version of "Goto My PC". :P/>/>

Sounds confusing ;D After reading your thread I'm attempting this Goto My PC but I'll probably take a while for me as I'm not that experienced.

Yeah I'm going to have a go at both and see if can do it.
Harcole #22
Posted 31 October 2012 - 01:53 PM
Music Computer - Not sure if possible but play a tune using the computer and noteblocks?
remiX #23
Posted 31 October 2012 - 08:39 PM
Oh wow, Noteblocks - I suck at using these :/
Pedroc1999 #24
Posted 31 October 2012 - 10:02 PM
make a ultra high security door lock with 1obsidian layer, i diamond layer and and a cobblestone layer and stick gold and diamonds on the inside, also make the lock so you need 3 specific floppy disk in the correct drive and if you get it wrong the floor blows up with tnt(not the safe because of obsdian
remiX #25
Posted 31 October 2012 - 10:32 PM
make a ultra high security door lock with 1obsidian layer, i diamond layer and and a cobblestone layer and stick gold and diamonds on the inside, also make the lock so you need 3 specific floppy disk in the correct drive and if you get it wrong the floor blows up with tnt(not the safe because of obsdian

Lol then it blows up everything (pc, diamond blocks) And then you can't use it again :X What if you, the owner, type the password incorrectly by mistake =)
Pedroc1999 #26
Posted 31 October 2012 - 10:37 PM
no because the diamond will be between the obsidian and cobblestone,
pc would be protected with thw obisdian block under it. also it only takes 1 attempt at a safes password and if you get it wrong the police are informed!!!
ChunLing #27
Posted 31 October 2012 - 10:50 PM
Three strikes rule. Also, floor pull into pit (with TNT mines and or lava at the bottom). Use turtles to "pull" obsidian floor.
Pedroc1999 #28
Posted 31 October 2012 - 11:44 PM
sorry but what?
remiX #29
Posted 01 November 2012 - 12:15 AM
Three strikes rule. Also, floor pull into pit (with TNT mines and or lava at the bottom). Use turtles to "pull" obsidian floor.

Don't sticky pistons work with obsidian?
ChunLing #30
Posted 01 November 2012 - 05:17 PM
Nope. Design decision to avoid "abuse". I honestly don't get it, personally. But there you have it.

You also want to put a redstone circuit on the back of the wall that has the computer behind it so you can detect and punish attempts to break through that way. Oh, there's so many good tricks to add to a password door.

Of course, the best trick of all is that the door itself is a fake, it just leads to an even more devious deathtrap, and the real entrance is completely secret.
remiX #31
Posted 01 November 2012 - 11:48 PM
Nope. Design decision to avoid "abuse". I honestly don't get it, personally. But there you have it.

You also want to put a redstone circuit on the back of the wall that has the computer behind it so you can detect and punish attempts to break through that way. Oh, there's so many good tricks to add to a password door.

Of course, the best trick of all is that the door itself is a fake, it just leads to an even more devious deathtrap, and the real entrance is completely secret.
Nope. Design decision to avoid "abuse". I honestly don't get it, personally. But there you have it.

You also want to put a redstone circuit on the back of the wall that has the computer behind it so you can detect and punish attempts to break through that way. Oh, there's so many good tricks to add to a password door.

Of course, the best trick of all is that the door itself is a fake, it just leads to an even more devious deathtrap, and the real entrance is completely secret.

Yeah, lol, upon entering a few seconds later you fall into lava :D/>/>
ChunLing #32
Posted 02 November 2012 - 11:57 AM
You use the standard stone pressure plate that everyone always puts just inside an iron door, only it activates a horrible deathtrap from which there is not even the slightest chance of escape. You can put that on a delay, so that the unauthorized person doesn't figure out what they did wrong (ahem, being unauthorized, perhaps?). Yes falling, and yes lava. Oh yes.