←  Programs

ComputerCraft | Programmable Computers for Minecraft

»

ComputerCraft eMail

Locked

PCKid11's Photo PCKid11 17 Jun 2012

Hey guys, I made a ComputerCraft eMail system in an afternoon. It took me a while.
-----------------------------------------
Here are the Pastebin links...
Server: http://pastebin.com/FC1Lp6qH
Client http://pastebin.com/peCQzp0E
----------------------------------------
Posted Image

Posted Image

Posted Image

I made this 100% by myself. No help.

[EDIT] The reason it says bbsclient as the eMail clients name in the photo is because I was trying to make a BBS in Computercraft, but I ended up at this somehow.

Attached Thumbnails

  • Attached Image
  • Attached Image
  • Attached Image

Edited by PCKid11, 17 June 2012 - 04:42 PM.
Quote

rbasset's Photo rbasset 18 Jun 2012

This is amazing (just by looking at it lol) just wondering tho how i would incorporate it with my server like i see the 2 pastebin pages, but is there a dedicated computer in tekkit that i would upload the server one on and then the client side goes on other computers for people to use?
Quote

rbasset's Photo rbasset 18 Jun 2012

NVM ive tried it and answered my own question lol, this program is amazing man, its running on my server and the users love it, thanks again
Quote

Klausar's Photo Klausar 23 Jun 2012

Sorry if this question is stupid, but I'm new to computercraft and I don't know how to install it, I tried copying it as startup, but it didn't work, it always stopped at "running email server"
Quote

tommyroyall's Photo tommyroyall 23 Jun 2012

Klausar, you must save both of these files as their own separate programs in your rom/programs.

Also, nice job pckid, keeping it simple and effective, epic for smaller communities.
Quote

Klausar's Photo Klausar 24 Jun 2012

So I have to save the client code and the server code on the computer on my computer, both as programs?
Quote

Exerro's Photo Exerro 25 Jun 2012

I've been trying to make an email program for my os but its rly hard so would it be ok for me to use this in it...
Quote

PCKid11's Photo PCKid11 26 Jun 2012

awsumben13, that would be fine.

You might not see a Version 2, as my mum has banned me from minecraft, probbably forever.
V2 would have brought multi-messages and screen names. So, goodbye. Maybe forever.
Quote

kazagistar's Photo kazagistar 26 Jun 2012

You giving up that easy, brotha? I remember, when I was at your age, sneaking out in the dead of night to play MUDs for hours. And that was just meaningless drivel games. If you are bloody coding then you are learning a life skill that is much more likely to actually pay the bills.
Quote

PCKid11's Photo PCKid11 29 Jun 2012

OK. Version 2 IS coming. I will code it when I am on Minecraft. I will work on it.
Quote

Exerro's Photo Exerro 29 Jun 2012

if you need any help I can do quite a lot of system programming...just not rednet
Quote

TCGM's Photo TCGM 06 Jul 2012

I've done some editing of this program myself; Most notably, I made it automatically grab the computer's label as the "From" field. This shows up both when sending and receiving. Haven't managed to make a capacitor for emails yet though.

DL Link:
http://dl.dropbox.co...ilProgramTC.zip

mailserv is the server program, mail is the client.
Quote

Guapers's Photo Guapers 04 Sep 2012

Sorry for bumping, but how is this installed? I typed it all on Minecraft, but how do I install it for the server? Please give a step-by-step if possible.
Quote

basdxz's Photo basdxz 05 Sep 2012

Uh just use pastebin get FC1Lp6qH and pastebin get peCQzp0E or just type in again in the servers computers....
Quote

PCKid11's Photo PCKid11 13 Sep 2012

Hey guys, V2 is delayed due to 1.3.2. I am going to do it soon, sry i havent kept on top of this.
Quote

RayceFarelle's Photo RayceFarelle 12 Nov 2012

Hey PCKid11, you've made a simple, yet great program, well done indeed. Thanks for sharing it with the rest of us. Your program is currently used at our server and there's a lot of positive responses. Full credits to you of course. Looking forward to V2 of the program to solve the multi-messaging problem (since apparently a lot of the guys can't get more than one email lolz).

Again, thanks for the program and keep up the good work.

Best regards.
Quote

PCKid11's Photo PCKid11 19 Nov 2012

I'll try and make an advanced version (v2c) and the V2 pr tomorrow. And thank you for using my program.
Quote

PCKid11's Photo PCKid11 19 Nov 2012

A sneak peak of the "sendmessage" code:

0110100101100100001011000110110101100101011100110111001101100001011001110110010101101001011001000010000000111101001000000111001001100101011001000110111001100101011101000010111001110010011001010110001101100101011010010111011001100101001010000010100100001101000010100110110101100101011100110111001101100001011001110110010100100000001111010010000001100110011100110010111001101111011100000110010101101110001010000110100101100100001000000010111000101110001000000110110101100101011100110111001101100001011001110110010101101001011001000010110001110010001010010000110100001010011010010110010000100000001111010010000001110100011011110110111001110101011011010110001001100101011100100010100001101001011001000010100100001101000010100111001001100101011001000110111001100101011101000010111001110011011001010110111001100100001010000110100101100100001011000110110101100101011100110111001101100001011001110110010100101110011100100110010101100001011001000100000101101100011011000010100000101001001010010000110100001010011011010110010101110011011100110110000101100111011001010010111001100011011011000110111101110011011001010010100000101001
Quote

PCKid11's Photo PCKid11 19 Nov 2012

Ok, V2 will have a security vulnerability, so DELETE YOUR OLD MAILFILES (if you upgrade)! ie Computer 1 Message 7 will be Computer 17's old mail, because the new file sorting is computer id .. message number. So file 117 would be Computer 1 Message 17.

EDIT: Or just put 1 on the end of all files...
Edited by PCKid11, 19 November 2012 - 10:45 AM.
Quote

remiX's Photo remiX 19 Nov 2012

Could you make it have colour support for new versions of CC? :(/>
Quote
Locked