Jump to content

ComputerCraft eMail

computer wireless networking

33 replies to this topic

#1 PCKid11

  • Members
  • 20 posts

Posted 17 June 2012 - 04:40 PM

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: 2012-06-17_17.40.05.png
  • Attached Image: 2012-06-17_17.40.17.png
  • Attached Image: 2012-06-17_17.40.27.png

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

#2 rbasset

  • New Members
  • 14 posts

Posted 18 June 2012 - 03:52 AM

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?

#3 rbasset

  • New Members
  • 14 posts

Posted 18 June 2012 - 04:45 AM

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

#4 Klausar

  • Members
  • 110 posts

Posted 23 June 2012 - 07:31 PM

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"

#5 tommyroyall

  • Members
  • 136 posts

Posted 23 June 2012 - 08:25 PM

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.

#6 Klausar

  • Members
  • 110 posts

Posted 24 June 2012 - 05:32 AM

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

#7 Exerro

  • Members
  • 796 posts

Posted 25 June 2012 - 11:13 AM

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...

#8 PCKid11

  • Members
  • 20 posts

Posted 26 June 2012 - 02:38 PM

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.

#9 kazagistar

  • Members
  • 365 posts

Posted 26 June 2012 - 03:24 PM

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.

#10 PCKid11

  • Members
  • 20 posts

Posted 29 June 2012 - 02:34 PM

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

#11 Exerro

  • Members
  • 796 posts

Posted 29 June 2012 - 05:54 PM

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

#12 TCGM

  • Members
  • 33 posts

Posted 06 July 2012 - 09:29 AM

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:

mailserv is the server program, mail is the client.

#13 Guapers

  • New Members
  • 1 posts

Posted 04 September 2012 - 04:28 AM

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.

#14 basdxz

  • Members
  • 116 posts

Posted 05 September 2012 - 04:05 PM

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

#15 PCKid11

  • Members
  • 20 posts

Posted 13 September 2012 - 03:22 PM

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.

#16 RayceFarelle

  • New Members
  • 4 posts

Posted 12 November 2012 - 06:29 PM

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.

#17 PCKid11

  • Members
  • 20 posts

Posted 19 November 2012 - 08:04 AM

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

#18 PCKid11

  • Members
  • 20 posts

Posted 19 November 2012 - 08:20 AM

A sneak peak of the "sendmessage" code:


#19 PCKid11

  • Members
  • 20 posts

Posted 19 November 2012 - 10:06 AM

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.

#20 remiX

  • Members
  • 2,076 posts
  • LocationSouth Africa

Posted 19 November 2012 - 10:03 PM

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

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users