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

Notes program

Started by lewisholcombe, 01 April 2013 - 11:32 AM
lewisholcombe #1
Posted 01 April 2013 - 01:32 PM
So hey again.
I just wanna get a small idea on how i can make a notes program for my staff building.
As everyone in it is always doing edit notes then doing print"iuhvioudsb" over and over and it get annoying.
Is there a simple program out there that you can go note add (note)
if so can someone link me to it
If not please can you tell me how to make it so if i go note add it basically acts as me going edit notes + print (note)
Thanks
JokerRH #2
Posted 01 April 2013 - 01:37 PM
Wait…Can you describe it a bit slower? Didn't understand what you want to do…:D/>
BabyCodder #3
Posted 01 April 2013 - 01:42 PM
Are you using a monitor for this? If so, how big is it?

I want to know because then I can create a simple piece of code to do this.
lewisholcombe #4
Posted 01 April 2013 - 01:48 PM
Im sorry.
I got exited :D/> haha…
So let me describe my situation.
I have a staff building in spawn thats 25 floors high and on each floor there are 4 offices with a computer in each.
Offices are asinged to staff and they sit there and take notes and awnser questions on a schedule like a real office.
There is also one person on reception for people who need items or who are new and want to see around.
I have rednet chat installed on all computers so they can all chat to each other in private without regulars bugging them…
There all password protected as well so no one can go on someone else's computer.
What i want to do is add a new program to the computer called Notes.
And what notes does is acts like a simple notepad.
So a member of staff could execute this command to add a note.
note add (Note)
A member of staff could also go
note delete (Number) (Number meaning what number the note is they made)
and note view to view all current notes they have with numbers beside them.

Im not sure if this is easy or extremely hard as im a complete noob with cc and only know print"" (Exaduraton)
Anyone who can help me with this i will love forever :)/>

Are you using a monitor for this? If so, how big is it?

I want to know because then I can create a simple piece of code to do this.
1) Read my last thing to explain what i mean.
2) No they do not use monitors

If your going to create me a program thank you SO much :)/>
oeed #5
Posted 01 April 2013 - 04:33 PM
I would either find a program or make one. Most people don't really like spending hours making a program for you, that you could have done.

But…
If I understand correctly, you essentially want to edit files on a 'server' from lots of computers, or am I wrong?
TheArchitect #6
Posted 01 April 2013 - 05:24 PM
You created a minecraft world. With a building where people go in and work, like what they're trying to avoid when they're playing minecraft.

Yeah. That'll work.
oeed #7
Posted 01 April 2013 - 05:47 PM
You created a minecraft world. With a building where people go in and work, like what they're trying to avoid when they're playing minecraft.

Yeah. That'll work.

I know right :P/>
BabyCodder #8
Posted 02 April 2013 - 01:53 AM
Ok. I'm going to assume you want a notes program on each computer that you type 'add' to add one; 'view' to view them and 'delete' to delete something?

This is what I am starting right now, I am happy to restart it if this does not fit your preferences. Please read my signature :D/>
spyman68 #9
Posted 02 April 2013 - 02:00 AM
Why would anyone really care about your signature? (No offense ofc)
BabyCodder #10
Posted 02 April 2013 - 03:42 AM
Why would anyone really care about your signature? (No offense ofc)

It tells people to like my comment :D/>
Engineer #11
Posted 02 April 2013 - 04:58 AM
Im going to make this for you. Im really bored :P/>

Edit: What I want to do with this is kinda big..
spyman68 #12
Posted 02 April 2013 - 05:08 AM
And lewish, could I join your server that you use this on?
BabyCodder #13
Posted 02 April 2013 - 05:17 AM
And lewish, could I join your server that you use this on?

Same here, it sounds awsome :D/>
lewisholcombe #14
Posted 02 April 2013 - 06:59 AM
You created a minecraft world. With a building where people go in and work, like what they're trying to avoid when they're playing minecraft.

Yeah. That'll work.
Wow dude. Most people who play this game dont tend to have a job and my job is hosting servers.
When i say that I mean im a host i dont pay for servers i host them in Data centres.
1) They asked for it and there staff so its kind of there job on my server.
2) Why has it got anything to do with you.

Ok. I'm going to assume you want a notes program on each computer that you type 'add' to add one; 'view' to view them and 'delete' to delete something?

This is what I am starting right now, I am happy to restart it if this does not fit your preferences. Please read my signature :D/>
Thank you very much and your are 100% correct :)/>
+ I green arrowed you ;)/>

Im going to make this for you. Im really bored :P/>

Edit: What I want to do with this is kinda big..
I dont get you?
lewisholcombe #15
Posted 02 April 2013 - 07:01 AM
And lewish, could I join your server that you use this on?
Sure you can
(Info)
Tekkit 3.1.2
Professionally hosted
Free join
Nice staff

Ip is in my signature (Recommend using the Numbered one not the tekkit.****.** so on as im changing it soon.

And lewish, could I join your server that you use this on?

Same here, it sounds awsome :D/>
Sure you can
(Info)
Tekkit 3.1.2
Professionally hosted
Free join
Nice staff

Ip is in my signature (Recommend using the Numbered one not the tekkit.****.** so on as im changing it soon.
BabyCodder #16
Posted 02 April 2013 - 07:49 AM
And lewish, could I join your server that you use this on?
Sure you can
(Info)
Tekkit 3.1.2
Professionally hosted
Free join
Nice staff

Ip is in my signature (Recommend using the Numbered one not the tekkit.****.** so on as im changing it soon.

And lewish, could I join your server that you use this on?

Same here, it sounds awsome :D/>
Sure you can
(Info)
Tekkit 3.1.2
Professionally hosted
Free join
Nice staff

Ip is in my signature (Recommend using the Numbered one not the tekkit.****.** so on as im changing it soon.

Thanks!

I'm almost done with your notes. If you want I'll install it when I join the server. I can be your little monkey programmer :D/>
lewisholcombe #17
Posted 02 April 2013 - 08:22 AM
And lewish, could I join your server that you use this on?
Sure you can
(Info)
Tekkit 3.1.2
Professionally hosted
Free join
Nice staff

Ip is in my signature (Recommend using the Numbered one not the tekkit.****.** so on as im changing it soon.

And lewish, could I join your server that you use this on?

Same here, it sounds awsome :D/>
Sure you can
(Info)
Tekkit 3.1.2
Professionally hosted
Free join
Nice staff

Ip is in my signature (Recommend using the Numbered one not the tekkit.****.** so on as im changing it soon.

Thanks!

I'm almost done with your notes. If you want I'll install it when I join the server. I can be your little monkey programmer :D/>
Ahaa. Are you doing it over pastebin and dont worry its fine im going to do it all over ftp so i can do all the computers at once :)/>
BabyCodder #18
Posted 02 April 2013 - 08:30 AM
And lewish, could I join your server that you use this on?
Sure you can
(Info)
Tekkit 3.1.2
Professionally hosted
Free join
Nice staff

Ip is in my signature (Recommend using the Numbered one not the tekkit.****.** so on as im changing it soon.

And lewish, could I join your server that you use this on?

Same here, it sounds awsome :D/>
Sure you can
(Info)
Tekkit 3.1.2
Professionally hosted
Free join
Nice staff

Ip is in my signature (Recommend using the Numbered one not the tekkit.****.** so on as im changing it soon.

Thanks!

I'm almost done with your notes. If you want I'll install it when I join the server. I can be your little monkey programmer :D/>
Ahaa. Are you doing it over pastebin and dont worry its fine im going to do it all over ftp so i can do all the computers at once :)/>

I can do it from pastebin, put the file on mediafire I can do anything really.
lewisholcombe #19
Posted 02 April 2013 - 08:52 AM
Pastebin would be great thanks as i have http enabled so it would make it very simple.
Thanks
BabyCodder #20
Posted 02 April 2013 - 11:45 AM
Pastebin would be great thanks as i have http enabled so it would make it very simple.
Thanks

I finished the code. WOW! That was alot harder than I was expected :D/>
I haven't had the chance to test it so please test it through and through and report any bugs if there be any.

http://pastebin.com/UNx6zGTY

or pastebin get UNx6zGTY
lewisholcombe #21
Posted 02 April 2013 - 12:39 PM
Wow great thanks.
I had some problems getting the text to work but i sorted that.
Then it gave me a nil value on line 78 so replaced the ( input ) with ("input") and it worked but when i add a note it doesn't show up?
What shall i do now?
Heres the edited version
http://pastebin.com/MgACRsn0
BabyCodder #22
Posted 02 April 2013 - 12:54 PM
Wow great thanks.
I had some problems getting the text to work but i sorted that.
Then it gave me a nil value on line 78 so replaced the ( input ) with ("input") and it worked but when i add a note it doesn't show up?
What shall i do now?
Heres the edited version
http://pastebin.com/MgACRsn0
I am fixing all of this now. I dont have access to minecraft on this computer but I downloaded a CC Emulator to work it. Also, dont do "input" because then it thinks its a word instead of a string.
lewisholcombe #23
Posted 02 April 2013 - 12:55 PM
Oh sorry :P/>
BabyCodder #24
Posted 02 April 2013 - 12:57 PM
Oh sorry :P/>

Don't worry. If you ever need code written msg me, I love codding for people even though that feature of me can easily be abused. Also, do you own the server this is on? Is it creative or survival?
lewisholcombe #25
Posted 02 April 2013 - 01:07 PM
Yeah man im a host.
Holcombeshost in a Data Center in cardiff i have 2 of 2x8 core 32gb ram ssd power Xeon servers
Im the owner (DarkLightLH) Tekkit 3.1.2 survival
BabyCodder #26
Posted 02 April 2013 - 01:11 PM
Yeah man im a host.
Holcombeshost in a Data Center in cardiff i have 2 of 2x8 core 32gb ram ssd power Xeon servers
Im the owner (DarkLightLH) Tekkit 3.1.2 survival

Do you do the offices all in survival?
BabyCodder #27
Posted 02 April 2013 - 01:17 PM
Yeah man im a host.
Holcombeshost in a Data Center in cardiff i have 2 of 2x8 core 32gb ram ssd power Xeon servers
Im the owner (DarkLightLH) Tekkit 3.1.2 survival
Its 0:22 in the UK. Time for me to goto bed. I'll fix all of this tomorrow.
lewisholcombe #28
Posted 02 April 2013 - 01:19 PM
Im in the uk :)/> im the owner and my staff have gamemode so we all built it.
lewisholcombe #29
Posted 03 April 2013 - 02:15 AM
Is it done?
BabyCodder #30
Posted 03 April 2013 - 03:58 AM
Is it done?

1) As much as I want to I don't get to code 24/7 so no; it is not.
2) Since they have gamemode I presume that they went into creative. I'm downloading technic so we can bug fix together :)/>
Kingdaro #31
Posted 03 April 2013 - 03:58 AM
I went ahead and made my own notes program. It's a nice, simple command-line application.

http://pastebin.com/rMikkFrw