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

[advanced]todo List V2.0 (bugfixes And New Features)

Started by masterdisasterHD, 30 September 2013 - 01:04 PM
masterdisasterHD #1
Posted 30 September 2013 - 03:04 PM
Hello people,
As you may know someone already made a todo list like this one,
I went ahead and improved it (just a bit) and here is the result:

Screenshots:
SpoilerTerminal:


Monitors: (multiple)

Remote Usage:
SpoilerIn order to remotely control this you must have a modem on the master terminal

To add an item to the list do this:

rednet.open("side_here")

local tbl = {
["command"] = "add",
["input"] = "remote item!" --This is the text of the item
}

rednet.send(id_here, textutils.serialize(tbl))
OR
rednet.broadcast(textutils.serialize(tbl))

To remove an item from the list do this:

rednet.open("side_here")

local tbl = {
["command"] = "del",
["input"] = "1" --Now this is the number of the task you want to remove
}

rednet.send(id_here, textutils.serialize(tbl))
OR
rednet.broadcast(textutils.serialize(tbl))

Here it is: pastebin get ss1D9dHX todo

Changelog:
Spoilerv2.0:
+Added printer support
*Fixed text wrapping on monitors

V1.0:
+Added multiple monitor support
+Made the code :P/>
+Remote control!

If you want to add a monitor do this:
SpoilerEdit the program

You should see something like this:

local monitors = {

}

Do this (Example):

local monitors = {
"monitor_0"
}
0 here is the number of the peripheral
And the good thing is that you can add infinite (i think) monitors!

If you want to add a printer do this:
SpoilerEdit the program

You should see something like this:

local printers = {

}

Do this (Example):

local printers = {
"printer_0"
}
0 here is the number of the peripheral

Older versions:
Spoilerv1.0: pastebin get tVBaSRSG todo
Zudo #2
Posted 01 October 2013 - 12:35 PM
Is the only new feature remote usage?
masterdisasterHD #3
Posted 01 October 2013 - 02:35 PM
Is the only new feature remote usage?

No, mine can have multiple monitors too
Tjakka5 #4
Posted 02 October 2013 - 09:26 AM
Looks very good, however, my new one will beat this one :P/>
masterdisasterHD #5
Posted 02 October 2013 - 09:43 AM
it probaply will, anyway its working
Tjakka5 #6
Posted 02 October 2013 - 09:45 AM
Hehe, anyways, I really like it :)/>
Zudo #7
Posted 02 October 2013 - 12:04 PM
And the good thing is that you can add infinite (i think) monitors!

No, you can't. Your HDD will get clogged up with region data and then MC will crash :D/>
bluefoxy #8
Posted 07 October 2013 - 03:44 PM
Idea how about u add the ablity to "Print" the list on to like paper or a book useing a printer?
or even print a selection of items to give to diffrent players as a task list?

I did notice a small issue… if the task when u right lick it on the list go to the black screen with the item, it doesnt wrap in the screen it goes off screen XD
fix it?
masterdisasterHD #9
Posted 08 October 2013 - 03:45 AM
Ill see what i can do
bluefoxy #10
Posted 08 October 2013 - 03:48 PM
Ill see what i can do
just the text wrapping with in the monitor size is really the only issue,
not in the list part, but when u select an item on the list the text goes right off screen
masterdisasterHD #11
Posted 09 October 2013 - 10:07 AM
okay
bluefoxy #12
Posted 10 October 2013 - 11:14 PM
im excited for the update "hopeing its going to get done :P/>"
masterdisasterHD #13
Posted 12 October 2013 - 05:48 AM
2.0 is released!
bluefoxy #14
Posted 12 October 2013 - 10:46 PM
getting even better :D/>
masterdisasterHD #15
Posted 13 October 2013 - 06:22 AM
Fixed the printer issue (i think :/, make sure to put in the name correctly!)