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

DJMix OS 1.0

Started by sploders101, 14 May 2013 - 09:52 AM
sploders101 #1
Posted 14 May 2013 - 11:52 AM
It isn't really an OS but I kind of liked the name. Anyway, this is DJ OS, type in the name of any song in minecraft and it will play it as long as you have it.

Setup Instructions:
1. djclient program must be on a computer with a wireless modem on the left. NOW CONFIGURABLE!!!
2. djcomputer must be on a computer with a disk drive under it.
3. djturtle must be on a turtle in front of the disk drive.
4. This was designed to be lightweight so I used a piece of the redpower mod: put a jacketed wire on top of the turtle connecting to the front of the computer.
5. Check the ID of the turtle and change the "computerid" variable to the ID of that turtle. ID now appears on startup of turtle!!!
6. Reboot all of the computers and make sure the client is in range.
7. type in a name and it will play it for you!

I put the code on pastebin so anyone can easily download it on public servers.

djclient (touchscreen): http://pastebin.com/SbPPqAPV
djclient: http://pastebin.com/GSkmAivp
djcomputer: http://pastebin.com/TPW2Dm6Z
djturtle:http://pastebin.com/P3Sg2G0P

Video: (USE THE LAYOUT SHOWN FOR THE DISKS Disk layouts are now configurable!!!)
[media]http://www.youtube.com/watch?v=cNMczuhTkyM[/media]
sploders101 #2
Posted 19 May 2013 - 01:06 PM
Updated to 2.0.
New features
There is now a configuration at the top of every file.
There are now touchscreen controls on the new client.
Coming soon
One single file for clients text based and color alike with buttons to switch back and forth.
No computer or jacketed cable needed
sploders101 #3
Posted 20 May 2013 - 05:06 PM
Updated to 3.0!!!

New features
Computer and Jacketed cable have been eliminated!!! (DJMix OS 3.0 now only requires a wireless turtle in front of a disk drive and a computer of your choice for client with a wireless modem!!!)
H4X0RZ #4
Posted 20 May 2013 - 09:17 PM
A tip:
If you want that your program finds the side where the modem is on, use this:

for k,v in pairs(rs.getSides()) do
if peripheral.isPresent(v) then
if peripheral.getType(v) == "modem" then
rednet.open(v)
end
end
end
sploders101 #5
Posted 22 May 2013 - 09:38 AM
A tip:
If you want that your program finds the side where the modem is on, use this:

for k,v in pairs(rs.getSides()) do
if peripheral.isPresent(v) then
if peripheral.getType(v) == "modem" then
rednet.open(v)
end
end
end

Thanks! I'll import that into the next version. (Don't worry I'll give credit :)/>)
sploders101 #6
Posted 22 May 2013 - 10:14 AM
DJClient touch now works on any computer!!! One client program is all you need!!! It does a gui on color computers and text-based on regular!!! CREDIT TO Freack100 FOR NEW MODEM AUTO-SENSE!!!

Only 2 downloads needed for the whole system!!!

Saves resources, time, and effort!!!

New programs are the ones at the top but you now only need DJTurtle and DJClient (touch)!!!
sploders101 #7
Posted 22 May 2013 - 10:16 AM
DJClient touch now works on any computer!!! One client program is all you need!!! It does a gui on color computers and text-based on regular!!! CREDIT TO Freack100 FOR NEW MODEM AUTO-SENSE!!!

Only 2 downloads needed for the whole system!!!

Saves resources, time, and effort!!!

New programs are the ones at the top but you now only need DJTurtle and DJClient (touch)!!!

p.s. any suggestions I would be happy to hear and would most likely do it!
RatcheT2497 #8
Posted 14 September 2013 - 03:00 PM
Looks cool, but please, for the love of Notch, USE THE EDIT BUTTON.

Dangit, stupid caps lock key.. Always getting stuck >=/