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

[1.45]Aperture science jukebox! Colour and clicks!

Started by basdxz, 26 November 2012 - 04:10 PM
basdxz #1
Posted 26 November 2012 - 05:10 PM
Aperture Science Computer Controlled jukebox!

What does it do?

Play (almost)all of the Minecraft and portal songs!

Display all of them in a neat ASII coloured list!

You need to CLICK! Not type but CLICK!

How do I get this awesome program?!

Get a wireless turtle, a modem a disk drive and an advanced computer. Place the computer down, put the modem on the back. Place the turtle nearby, put a disk drive in front of it.

Download pastebin get nPCMhk1L startup on the computer and change turtleid = (turtle id here). Download pastebin get a0PRskft startup on the turtle change idcon = (computer id here).
Put all of the disks in the turtle in order of the songs listed in the computer when you load it. Enjoy!


Upcoming features and planed stuff

Make the code neater.

Move some buttons around.

Make turtle read and send what disks it has.

Fix bugs.


Bugs:

Please find me some!


Screenshots:

Main GUI:


Turtle with disks:


My testing area:



Notes:

This was made using FTB, please use this with the

portalgun mod before saying that Valve songs don't work!

You need HTTP API = true to use pastebin get !

I am working on a big improvement, it is quite hard as

I need to learn more LUA to do it so it will take time :)/>.



Downloads:

Recommended



Outdated:

zekesonxx #2
Posted 28 November 2012 - 03:54 AM
Get a wireless turtle, a modem a disk drive and an advanced computer. Place the computer down, put the modem on the back. Place the turtle nearby, put a disk drive in front of it.

Download pastebin get nPCMhk1L startup on the computer and change turtleid = (turtle id here). Download pastebin get a0PRskft startup on the turtle change idcon = (computer id here).
Put all of the disks in the turtle in order of the songs listed in the computer when you load it and put fuel in the bottom right slot!. Enjoy!
There you are.

Also, what license are you putting this out under? I would recommend the MIT or AOL licences.
tesla1889 #3
Posted 04 February 2013 - 06:51 PM
he cant license it lol

Aperture Science is kinda Steam's property
Dlcruz129 #4
Posted 04 February 2013 - 06:55 PM
he cant license it lol

Aperture Science is kinda Steam's property

Also all computercraft programs must be open-source. It's in a disclaimer somewhere, but I'm too lazy to look it up. :P/>
tesla1889 #5
Posted 04 February 2013 - 08:54 PM
–snip–
Also all computercraft programs must be open-source. It's in a disclaimer somewhere, but I'm too lazy to look it up. :P/>

im not sure thats correct

i thought closed source was allowed

if it is, its kinda pointless anyway, as decompiling Lua is REALLY easy
PixelToast #6
Posted 05 February 2013 - 03:15 AM
takes around 20 seconds of fake loading to get to a menu
i still cant figure out how to work it ._. i entered the turtle id and computer id but it wont play
EDIT:
rednet wasnt open, derp
EDIT2:
plays disks fine
Dlcruz129 #7
Posted 05 February 2013 - 05:18 PM
–snip–
Also all computercraft programs must be open-source. It's in a disclaimer somewhere, but I'm too lazy to look it up. :P/>/>

im not sure thats correct

i thought closed source was allowed

if it is, its kinda pointless anyway, as decompiling Lua is REALLY easy

That might've been what I was thinking of.
Cranium #8
Posted 06 February 2013 - 03:52 AM
Lua License here: http://www.lua.org/license.html
Dlcruz129 #9
Posted 07 February 2013 - 04:30 AM

I was talking about CC
anonimo182 #10
Posted 07 February 2013 - 09:51 AM
Some screenshots would help
basdxz #11
Posted 07 February 2013 - 04:20 PM
The closed-source was my way of saying don't copy, I misunderstood the meaning of the word :P/>. Removed that and added screenies!
AkaZombie #12
Posted 15 February 2013 - 04:15 PM
Aperture Science Computer Controlled jukebox!

What does it do?

Play (almost)all of the Minecraft and portal songs!

Display all of them in a neat ASII coloured list!

You need to CLICK! Not type but CLICK!

How do I get this awesome program?!

Get a wireless turtle, a modem a disk drive and an advanced computer. Place the computer down, put the modem on the back. Place the turtle nearby, put a disk drive in front of it.

Download pastebin get nPCMhk1L startup on the computer and change turtleid = (turtle id here). Download pastebin get a0PRskft startup on the turtle change idcon = (computer id here).
Put all of the disks in the turtle in order of the songs listed in the computer when you load it. Enjoy!


Upcoming features and planed stuff

Make the code neater.

Move some buttons around.

Make turtle read and send what disks it has.

Fix bugs.


Bugs:

Please find me some!


Screenshots:

Main GUI:


Turtle with disks:


My testing area:



Notes:

This was made using FTB, please use this with the

portalgun mod before saying that Valve songs don't work!

You need HTTP API = true to use pastebin get !

I am working on a big improvement, it is quite hard as

I need to learn more LUA to do it so it will take time :)/>.



Downloads:

Recommended



Outdated:

Nope
just type

rom/programs/http/pastebin
and How to terminate if set as startup D:
remiX #13
Posted 15 February 2013 - 06:07 PM
I made a similar thing which plays portal songs but gets the list of songs from the turtle, it doesn't just print all the names out :P/>
What if the turtle doesn't have one of the songs anymore!
PixelToast #14
Posted 16 February 2013 - 04:34 AM
wheres C418 - wait
it was added in 1.4.6 i believe
basdxz #15
Posted 16 February 2013 - 05:48 AM
wheres C418 - wait
it was added in 1.4.6 i believe
Yes, it's actually my favorite vanilla one. But as I did say almost all of em!
jesusthekiller #16
Posted 18 June 2013 - 10:26 AM
80% of your code is
Spoiler

leep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 1%  XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 7%  XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 11% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 18% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 23% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 29% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 34% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 39% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 45% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 48% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 52% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 57% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 63% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 67% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 72% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 78% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 81% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 87% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 95% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loaded 100% XM@MH; =;")
sleep(2)
term.setTextColour(colours.lime)
term.clear()
term.setCursorPos(1,1)
print("GlaDoS 4.3 Successfuly booted")
sleep(2)
print("Loading music addon...  [==	    ] 23%")
sleep(0.5)
term.setCursorPos(1,2)
term.clearLine()

function gg()
term.setBackgroundColour(colours.green)
term.setTextColour(colours.blue)
end

print("Loading music addon..   [====	  ] 43%")
sleep(0.5)
term.setCursorPos(1,2)
term.clearLine()
print("Loading music addon...  [======    ] 67%")
sleep(0.5)
term.setCursorPos(1,2)
term.clearLine()

function cc()
term.setBackgroundColour(colours.cyan)
term.setTextColour(colours.lime)
end

print("Loading music addon..   [========  ] 85%")
sleep(0.5)
term.setCursorPos(1,2)
term.clearLine()
print("Loading music addon...  [========= ] 93%")
sleep(0.5)

function bl()
term.setBackgroundColour(colours.blue)
term.setTextColour(colours.lime)
end

term.setCursorPos(1,2)
term.clearLine()
print("Loaded music addon.	 [==========] 100%")
sleep(2)
print("Connecting to rednet... [==	    ] 22%")
sleep(0.5)
term.setCursorPos(1,3)
term.clearLine()
print("Connecting to rednet... [====	  ] 43%")
sleep(0.5)
term.setCursorPos(1,3)
term.clearLine()
print("Connecting to rednet... [======    ] 67%")
sleep(0.5)
term.setCursorPos(1,3)
term.clearLine()
print("Connecting to rednet... [========  ] 85%")
sleep(0.5)
term.setCursorPos(1,3)
term.clearLine()
print("Connecting to rednet... [========= ] 93%")
sleep(0.5)
term.setCursorPos(1,3)
term.clearLine()
print("Connected to rednet.    [==========] 100%")
rednet.open("back")
sleep(3)

Have you EVER heard about loops? O.o
basdxz #17
Posted 18 June 2013 - 03:12 PM
80% of your code is
Spoiler

leep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 1%  XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 7%  XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 11% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 18% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 23% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 29% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 34% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 39% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 45% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 48% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 52% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 57% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 63% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 67% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 72% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 78% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 81% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 87% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loading 95% XM@MH; =;")
sleep(0.5)
term.setCursorPos(1,12)
term.clearLine()
print("	  /MMMM@MMH/.	  Loaded 100% XM@MH; =;")
sleep(2)
term.setTextColour(colours.lime)
term.clear()
term.setCursorPos(1,1)
print("GlaDoS 4.3 Successfuly booted")
sleep(2)
print("Loading music addon...  [==		] 23%")
sleep(0.5)
term.setCursorPos(1,2)
term.clearLine()

function gg()
term.setBackgroundColour(colours.green)
term.setTextColour(colours.blue)
end

print("Loading music addon..   [====	  ] 43%")
sleep(0.5)
term.setCursorPos(1,2)
term.clearLine()
print("Loading music addon...  [======	] 67%")
sleep(0.5)
term.setCursorPos(1,2)
term.clearLine()

function cc()
term.setBackgroundColour(colours.cyan)
term.setTextColour(colours.lime)
end

print("Loading music addon..   [========  ] 85%")
sleep(0.5)
term.setCursorPos(1,2)
term.clearLine()
print("Loading music addon...  [========= ] 93%")
sleep(0.5)

function bl()
term.setBackgroundColour(colours.blue)
term.setTextColour(colours.lime)
end

term.setCursorPos(1,2)
term.clearLine()
print("Loaded music addon.	 [==========] 100%")
sleep(2)
print("Connecting to rednet... [==		] 22%")
sleep(0.5)
term.setCursorPos(1,3)
term.clearLine()
print("Connecting to rednet... [====	  ] 43%")
sleep(0.5)
term.setCursorPos(1,3)
term.clearLine()
print("Connecting to rednet... [======	] 67%")
sleep(0.5)
term.setCursorPos(1,3)
term.clearLine()
print("Connecting to rednet... [========  ] 85%")
sleep(0.5)
term.setCursorPos(1,3)
term.clearLine()
print("Connecting to rednet... [========= ] 93%")
sleep(0.5)
term.setCursorPos(1,3)
term.clearLine()
print("Connected to rednet.	[==========] 100%")
rednet.open("back")
sleep(3)

Have you EVER heard about loops? O.o
Yeah, I know what a for loop is now lol XD.
jesusthekiller #18
Posted 19 June 2013 - 06:01 AM
Use it then… And you make users wait 23 seconds to a lunch it… You still wonder why users prefer pixeltoast?