Jump to content




[Beta] Cc-Irc

computer media networking

  • You cannot reply to this topic
30 replies to this topic

#1 Tripy998

  • Members
  • 104 posts
  • LocationIn Front of Computer

Posted 23 July 2013 - 10:37 AM

Posted Image

Credits:

Before I begin, I wanna thank 1lann for giving me the ability to make this.

He made the simplest Chat program he could think of that is very buggy and glitchy.

If you want to see it the pastebin is below.

Spoiler


About:

1lann made V.1 but in a few days I will be releasing V.2!

The only limit to this is the max RedNet Signal.

It looks a lot like MineCraft chat.

If you have an Idea about this just post it in the replies.


Important:

I really do not know what to add. :P

Please just tell me some ideas after trying out the Beta one made by 1lann.

1lann!!! I would love a response from you!



#2 Zudo

  • Members
  • 800 posts
  • LocationUK

Posted 23 July 2013 - 10:41 AM

I thought this was a real IRC client :wacko:

#3 Tripy998

  • Members
  • 104 posts
  • LocationIn Front of Computer

Posted 23 July 2013 - 10:49 AM

View PostZudoHackz, on 23 July 2013 - 10:41 AM, said:

I thought this was a real IRC client :wacko:
Lol......I could make one ...........

#4 Sammich Lord

    IRC Addict

  • Members
  • 1,212 posts
  • LocationThe Sammich Kingdom

Posted 23 July 2013 - 10:50 AM

View PostTripy998, on 23 July 2013 - 10:49 AM, said:

View PostZudoHackz, on 23 July 2013 - 10:41 AM, said:

I thought this was a real IRC client :wacko:
Lol......I could make one ...........
Then make one. I'm interested in seeing what you're able to come up with.

#5 Tripy998

  • Members
  • 104 posts
  • LocationIn Front of Computer

Posted 23 July 2013 - 10:52 AM

View PostSammich Lord, on 23 July 2013 - 10:50 AM, said:

View PostTripy998, on 23 July 2013 - 10:49 AM, said:

View PostZudoHackz, on 23 July 2013 - 10:41 AM, said:

I thought this was a real IRC client :wacko:
Lol......I could make one ...........
Then make one. I'm interested in seeing what you're able to come up with.
Thanks! I will try to make one after i finish at least v.3 of this program

#6 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

Posted 23 July 2013 - 11:07 AM

as always, my eyes are bleeding, instead of my normal rage ill try to be constructive on the way too common failures in peoples code

no tabbing 3:
rednet.open("top")
you should really auto detect a modem, and print an error if the computer doesnt have one
print("What is your name?")
local name = read()
whoops, accidentally pressed enter twice when running the program, now i have no name
rednet.broadcast("$CCU-CHAT * "..name.." has joined the chat!")
your broadcasting, use channels instead (my channels are 13<program number>)
os.queueEvent("rednet_message",0,"$CCU-CHAT * "..name.." has joined the chat!",0)
why not just insert it into the chat table?
local _, msg = rednet.receive()
local rMsg = msg:match("^%$CCU%-CHAT(.+)")
dont localize things within a loop, just dont
print("--------------------------------------------------")
write("<" .. name .. "> ")
why is this after a while true do end? WHY?
if sendMsg == "/exit" then
term.clear()
error()
end
needs to tell the chat that you left

might add some more later
also, i already made a real IRC client i used kilobytes peripherals
dont want to release it because its way to powerful ;_;

if im breaking (im not) the license, i would love to hear from your lawyer :)

#7 Tripy998

  • Members
  • 104 posts
  • LocationIn Front of Computer

Posted 23 July 2013 - 11:14 AM

View PostPixelToast, on 23 July 2013 - 11:07 AM, said:

as always, my eyes are bleeding, instead of my normal rage ill try to be constructive on the way too common failures in peoples code

no tabbing 3=
rednet.open("top")
you should really auto detect a modem, and print an error if the computer doesnt have one
print("What is your name?")
local name = read()
whoops, accidentally pressed enter twice when running the program, now i have no name
rednet.broadcast("$CCU-CHAT * "..name.." has joined the chat!")
your broadcasting, use channels instead (my channels are 13???)
os.queueEvent("rednet_message",0,"$CCU-CHAT * "..name.." has joined the chat!",0)
why not just insert it into the chat table?
local width, height = term.getSize()
why are you localizing this within a looping function?

adding more stuff, just wanted to save
Before you do that, That is 1lann's SIMPLE EXAMPLE to me so i can learn to make one :P I will consider what you said and will add it to V.2.

#8 Tiin57

    Java Lunatic

  • Members
  • 1,412 posts
  • LocationIndiana, United States

Posted 23 July 2013 - 11:21 AM

He's not breaking your license. It's quite obvious that it's your code he's quoting. And he's allowed to quote code as long as he attributes it to you.
Edit: You didn't make this program. Unless 1lann specifically says that you own the code and have the right to put a license on it (which is silly for a CC program, by the way), then you cannot enforce a license which the creator did not put in place on his code.

#9 Tripy998

  • Members
  • 104 posts
  • LocationIn Front of Computer

Posted 23 July 2013 - 11:26 AM

View Posttiin57, on 23 July 2013 - 11:21 AM, said:

He's not breaking your license. It's quite obvious that it's your code he's quoting. And he's allowed to quote code as long as he attributes it to you.
Just relized that what i said make no sense! Thank again Tiin57!

#10 Pinkishu

  • Members
  • 484 posts

Posted 23 July 2013 - 11:27 AM

Oh please...
You now have your own little thing to copyright and you're all hyper about it, good, but stop waving it around.

@others: its possible to make a "real" irc client in CC, without peripherals

#11 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

Posted 23 July 2013 - 11:30 AM

yes but it would require a bouncer of sorts, unless the irc server has their own, it would be hard to keep it up because you can get the IP banned via ban evading, etc

unless you mean a simple cross-server / world irc, wich is pretty simple

#12 Tripy998

  • Members
  • 104 posts
  • LocationIn Front of Computer

Posted 23 July 2013 - 11:33 AM

I know
I just tested to see how to actually Format everything to make a copyright for a website.
I will remove it now.
Sorry for any trouble
Oh and Tiin, PixelToast (No offense) Can be a jerk. :P

#13 Pinkishu

  • Members
  • 484 posts

Posted 23 July 2013 - 11:36 AM

View PostPixelToast, on 23 July 2013 - 11:30 AM, said:

yes but it would require a bouncer of sorts, unless the irc server has their own, it would be hard to keep it up because you can get the IP banned via ban evading, etc

unless you mean a simple cross-server / world irc, wich is pretty simple

A "real" IRC client is any client that implements the IRC protocol.

The RFC just specifies: A client is anything connecting to a server that is not another server.
thus even a "rednet based" client would be a "real" one

#14 Tripy998

  • Members
  • 104 posts
  • LocationIn Front of Computer

Posted 23 July 2013 - 11:41 AM

Um...Just a question, why don't guests jsut get a freaking forum account. :/

#15 Sammich Lord

    IRC Addict

  • Members
  • 1,212 posts
  • LocationThe Sammich Kingdom

Posted 23 July 2013 - 11:44 AM

View PostTripy998, on 23 July 2013 - 11:41 AM, said:

Um...Just a question, why don't guests jsut get a freaking forum account. :/
They may have an account but just couldn't be bothered logging in again.

#16 Tripy998

  • Members
  • 104 posts
  • LocationIn Front of Computer

Posted 23 July 2013 - 11:46 AM

View PostSammich Lord, on 23 July 2013 - 11:44 AM, said:

View PostTripy998, on 23 July 2013 - 11:41 AM, said:

Um...Just a question, why don't guests jsut get a freaking forum account. :/
They may have an account but just couldn't be bothered logging in again.
Good point.

#17 Tripy998

  • Members
  • 104 posts
  • LocationIn Front of Computer

Posted 23 July 2013 - 11:50 AM

Hey, Um Pixel Toast, How do you disable Titles like "Script Kiddie"?

#18 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

Posted 23 July 2013 - 11:52 AM

i changed it from "Lua god" before they started restricting every single godamn thing on the forums

#19 Tripy998

  • Members
  • 104 posts
  • LocationIn Front of Computer

Posted 23 July 2013 - 11:54 AM

View PostPixelToast, on 23 July 2013 - 11:52 AM, said:

i changed it from "Lua god" before they started restricting every single godamn thing on the forums
Oh :P Hey sorry about earlier. Just abit tired and annoyed at keehl. He can be annoying. (No offense keehl)

#20 Tripy998

  • Members
  • 104 posts
  • LocationIn Front of Computer

Posted 23 July 2013 - 12:11 PM

Pinkishu, Do you mean a IRC in CC that will read/send data to Web-based IRC?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users