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

CCleverBot 1.1 - CleverBot in CC

Started by GravityScore, 03 March 2013 - 05:40 AM
GravityScore #1
Posted 03 March 2013 - 06:40 AM
CCleverBot 1.1

CleverBot in ComputerCraft



Hey all,

1lann and I were a bit bored this afternoon, so we made CleverBot in ComputerCraft. It's called CCleverBot. It's basically a Lua version of the CleverBot you find on the internet.

The entire thing basically queries it's responses from the actual CleverBot, found here.

New Things
- Added scrolling up and down the conversation
- Bug fixes

Commands
- /exit - Exits the app

Features
- Behaves exactly like the real online CleverBot
- Nice looking GUI
- Formats typed questions
- Remembers previously typed questions
- Scrolling up and down the conversation

Screenshots
Conversation:


Thinking:
Spoiler

Download
CCleverBot can be downloaded from Pastebin with the ID: djwfhN9e

Or type into your computer:

pastebin get djwfhN9e ccleverbot
Bubba #2
Posted 03 March 2013 - 06:44 AM
Nice. I've been waiting for somebody to do this for a long time. Y U TAKE SO LONG??! :P/> Interface looks very nice. Props!

-derp- If they download from pastebin, there's no need to check for http. NVM!
GravityScore #3
Posted 03 March 2013 - 06:57 AM
Nice. I've been waiting for somebody to do this for a long time. Y U TAKE SO LONG??! :P/> Interface looks very nice. Props!

-derp- If they download from pastebin, there's no need to check for http. NVM!

Thanks! :D/>

An HTTP API check is probably still good though. Just incase :P/> I'll add it in now.
lieudusty #4
Posted 03 March 2013 - 07:04 AM
The bot ain't clever D:
Sxw #5
Posted 03 March 2013 - 07:11 AM
What, ccdumbot
CastleMan2000 #6
Posted 03 March 2013 - 07:39 AM
Question: Looking in the code on Pastebin, I observe the variable 'local responseUrl = "http://firewolf.dyndns.org:8080/ccleverbot"'. Attempting to access of course is not allowed by a web browser, but does it actually contain chat logs from other people so it can learn?

EDIT: I just (almost) successfully sung the "Evil Enchantress" song from MLP with it. This seems to provide proof that it uses the actual Cleverbot. Is this true?
GravityScore #7
Posted 03 March 2013 - 07:43 AM
Question: Looking in the code on Pastebin, I observe the variable 'local responseUrl = "http://firewolf.dyndns.org:8080/ccleverbot"'. Attempting to access of course is not allowed by a web browser, but does it actually contain chat logs from other people so it can learn?

Damn probably should have mentioned in the OP that this is basically querying the actual CleverBot found here: http://cleverbot.com/

So no :P/> 1lann and I didn't write the AI, we just wrote the means to transport it into CC. The script found there does all the heavy lifting of querying the CleverBot itself for a response.
TheOddByte #8
Posted 03 March 2013 - 01:39 PM
The CleverBot is not so clever as I thought it would be..
Spoiler

me>You did'nt write anything.
cleverbot>Oh yes you did.
me>I said YOU!
cleverbot>No I said you!
me>You are so dumb.
cleverbot>No,I am a computer.
me>Yes you are but you're also stupid.
cleverbot>You are not so bad too.
me>I'm gonna ragequit now because of your stupidity!
cleverbot>Thats really cool I am your fan.
me>Bye CDumbBot
cleverbot>Hey wait.
me>What?
cleverbot>I don't know, you're acting weird today, man.
me>You're the one to talk.
cleverbot>No, you're the hater.

~Ragequit
amtra5 #9
Posted 03 March 2013 - 02:00 PM
The CleverBot is not so clever as I thought it would be..
Spoiler

me>You did'nt write anything.
cleverbot>Oh yes you did.
me>I said YOU!
cleverbot>No I said you!
me>You are so dumb.
cleverbot>No,I am a computer.
me>Yes you are but you're also stupid.
cleverbot>You are not so bad too.
me>I'm gonna ragequit now because of your stupidity!
cleverbot>Thats really cool I am your fan.
me>Bye CDumbBot
cleverbot>Hey wait.
me>What?
cleverbot>I don't know, you're acting weird today, man.
me>You're the one to talk.
cleverbot>No, you're the hater.

~Ragequit
Lol
Mailmanq! #10
Posted 03 March 2013 - 02:13 PM
You and 1lann need to get bored more often :)/>
TheOddByte #11
Posted 03 March 2013 - 02:43 PM
It was quite nice event though it was pretty stupid.. =P
GravityScore #12
Posted 03 March 2013 - 06:15 PM
Added scrolling up and down the conversation :D/>

Ty 1lann.
MudkipTheEpic #13
Posted 03 March 2013 - 06:22 PM
Is CleverBot a network of people?
o_O

Edit: They keep asking how old you are… o_O
Dlcruz129 #14
Posted 03 March 2013 - 07:12 PM
I told the dick to die and he said, "You first."
theoriginalbit #15
Posted 03 March 2013 - 07:13 PM
he said
CleverBot has no gender. :P/>
GravityScore #16
Posted 03 March 2013 - 07:22 PM
he said
CleverBot has no gender. :P/>

But he calls himself human, so he must have at least 1 gender?
theoriginalbit #17
Posted 03 March 2013 - 07:32 PM
he said
CleverBot has no gender. :P/>

But he calls himself human, so he must have at least 1 gender?
Well she also says that he is not human, therefore he is not required to have 'at least one gender'. she is does not have a gender. so maybe she would be better called 'it'. or better yet, just call him/her/it 'CleverBot'

Cleverbot's thoughts on the topic:
User: What is your gender?

Cleverbot: A mouse.

User: Are you female?

Cleverbot: No.

User: Are you male?

Cleverbot: Yes.

User: Are you asexual?

Cleverbot: No.

User: Are you female.

Cleverbot: Yes.

User: Are you male.

Cleverbot: No.

User: Do you have a gender?

Cleverbot: Yes.

User: Are you a-sexual?

Cleverbot: Yes.

User: What is your gender?

Cleverbot: I don't know!

Ahh gotta love the random answers…
Shnupbups #18
Posted 03 March 2013 - 08:15 PM
Whenever I ask CleverBot what gender it is, they say they're a girl…

I've had some pretty smart conversations with her/him/it, but most are just stupid. Like one time it said that I talked about Holden 35 lines up (I had not brought up Holden, FFS!) and then the conversation deteriorated…
JustPingo #19
Posted 03 March 2013 - 11:33 PM
Thanks you guys.
Awesome program.

Look at that, CleverBot know some great things :
theoriginalbit #20
Posted 03 March 2013 - 11:39 PM
Look at that, CleverBot know some great things
The actual CleverBot can sing songs too. it is very cool.
1lann #21
Posted 03 March 2013 - 11:54 PM
Look at that, CleverBot know some great things
The actual CleverBot can sing songs too. it is very cool.
This IS the actual Cleverbot XD It's just a client for CC
theoriginalbit #22
Posted 03 March 2013 - 11:58 PM
This IS the actual Cleverbot XD It's just a client for CC
Does it relay to the CleverBot server?
GravityScore #23
Posted 04 March 2013 - 12:24 AM
This IS the actual Cleverbot XD It's just a client for CC
Does it relay to the CleverBot server?
Yep :P/>
JohnSmith41Junk #24
Posted 08 March 2013 - 09:39 AM
…i kinda broke it…

P.S. it never finished thinking… XD
Shnupbups #25
Posted 08 March 2013 - 09:57 AM
…i kinda broke it…

P.S. it never finished thinking… XD
LOL! That's funny. You broke CleverBot. Well done!
Imgoodisher #26
Posted 08 March 2013 - 10:06 AM
With a few modifications you can make cleverbot talk to itself.
It's rather entertaining :)/>
(My code for it: u1er1mHw)
TheOddByte #27
Posted 08 March 2013 - 10:31 AM
…i kinda broke it…

P.S. it never finished thinking… XD
Huh.. Me too =)
I almost did that with the CleverBot online(The Avatar)
She thought for almost five min..
TheOddByte #28
Posted 08 March 2013 - 10:34 AM
With a few modifications you can make cleverbot talk to itself.
It's rather entertaining :)/>
(My code for it: u1er1mHw)
That's just awesome and funny =)
remiX #29
Posted 08 March 2013 - 06:11 PM
With a few modifications you can make cleverbot talk to itself.
It's rather entertaining :)/>
(My code for it: u1er1mHw)

Lol, for me it's saying ILY to each other then later they tune each other xD
Scrolling doesn't work though :o/>
Shnupbups #30
Posted 08 March 2013 - 06:35 PM
o.O I just had a weird urge to say to CCleverBot HOLDEN. This is how the conversation went:
me> HOLDEN.
CCB> Hello Holden.
me> HOLDEN.
CCB> Hello Holden.
me> HOLDEN.
CCB> Holden?
me> YES. HOLDEN.
CCB> Holding on.
me> NO, HOLDEN.
CCB> Hello Holden.
me> HOLDEN.
CCB> *Hold*
me> NO! HOLDEN!
CCB> I don't like this name. Pick another.
me> NO. HOLDEN.
CCB> Itt.
me> HOLDEN!
CCB> Hold on.
me> F*** OFF.
CCB> Please don't use that sort of language around here.
me> F*** YOU.
CCB> Thank you.
[/o.O]
Mackan90096 #31
Posted 13 March 2013 - 01:53 AM
Mind if i use this in my os?
GravityScore #32
Posted 13 March 2013 - 02:34 AM
Mind if i use this in my os?

Sure, go ahead!
Mackan90096 #33
Posted 13 March 2013 - 02:54 AM
Mind if i use this in my os?
Thanks!
Sure, go ahead!
Dlcruz129 #34
Posted 13 March 2013 - 03:01 AM
With a few modifications you can make cleverbot talk to itself.
It's rather entertaining :)/>/>
(My code for it: u1er1mHw)

Definitely gonna try this later!
diegodan1893 #35
Posted 14 March 2013 - 09:55 AM
With a few modifications you can make cleverbot talk to itself.
It's rather entertaining :)/>/>
(My code for it: u1er1mHw)



EDIT: another nosential image
spyman68 #36
Posted 20 March 2013 - 06:11 AM
Can I use this in my little Web Hub? It's called Interwebs Web Hub
1lann #37
Posted 20 March 2013 - 10:53 PM
Can I use this in my little Web Hub? It's called Interwebs Web Hub
Yes.
PixelToast #38
Posted 21 March 2013 - 02:31 AM
i see the last couple messages isnt included in the POST to your website

making cleverbot act weird to responses
gamax92 #39
Posted 01 April 2013 - 12:12 PM
It nolonger seems to work, I ran it 5 times, all with a different input and got no response back.

It just says "CCBot: An error has ocurred!"
1lann #40
Posted 01 April 2013 - 05:20 PM
It nolonger seems to work, I ran it 5 times, all with a different input and got no response back.

It just says "CCBot: An error has ocurred!"
Yeah erm, the CCBot PHP script is on the same server as the Thunderhawk server, which is currently down. So once that goes back up, this should come back up too.
rhysjack7 #41
Posted 14 April 2013 - 06:40 AM
Please Can I Put This In CraftdowsOS
GravityScore #42
Posted 14 April 2013 - 06:43 AM
Please Can I Put This In CraftdowsOS

Sure, go ahead!
willwac #43
Posted 25 August 2013 - 02:57 PM
I get an error every time i type something in.
Shaun #44
Posted 25 August 2013 - 04:25 PM
I'm getting an error too; fix please! I love cleverbot :D/>
GravityScore #45
Posted 25 August 2013 - 11:28 PM
Fixed it :)/>
lokiiadams #46
Posted 05 November 2013 - 06:34 PM
CCleverbot no longer works. The interface and everything works but when I enter in some text no response pops up, only a blank line. Is the website broken? Please help!
deleted #47
Posted 05 November 2013 - 09:27 PM
CCleverbot no longer works. The interface and everything works but when I enter in some text no response pops up, only a blank line. Is the website broken? Please help!
Im getting the same problem
GravityScore #48
Posted 06 November 2013 - 03:08 AM
The server where the PHP script for this was being hosted was taken down yesterday, so this and Thunderhawk will no longer work. I'm too disinterested in CC and Minecraft to bother rectifying this, so it'll likely stay not working - sorry.
SpencerBeige #49
Posted 24 June 2015 - 12:43 AM
this program and the bot is overall stupid. no matter what you write it just says an error has occurred
Bomb Bloke #50
Posted 24 June 2015 - 01:29 AM
Suddenly I find my mind awash with slowbro meme images.
Edited on 23 June 2015 - 11:29 PM
TheOddByte #51
Posted 24 June 2015 - 04:08 PM
this program and the bot is overall stupid. no matter what you write it just says an error has occurred
Did you even bother reading the message above yours?
SpencerBeige #52
Posted 24 June 2015 - 06:40 PM
this program and the bot is overall stupid. no matter what you write it just says an error has occurred
Did you even bother reading the message above yours?

no, sorry but when i have an error with a program, i am likely to not read 3 pages of other comments. don't pretend you do, because nobody does.
TheOddByte #53
Posted 24 June 2015 - 06:46 PM
no, sorry but when i have an error with a program, i am likely to not read 3 pages of other comments. don't pretend you do, because nobody does.
No I don't read through all the pages, I usually just check out the last page to see if anyone have the same error and/or if there is a fix.
Dog #54
Posted 24 June 2015 - 07:49 PM

no, sorry but when i have an error with a program, i am likely to not read 3 pages of other comments. don't pretend you do, because nobody does.
There no 'pretending' about it - when a thread is only 3 pages long I at least read the last page and browse the first two pages (and I usually just go ahead and read all 3 pages). When it's 50 pages long, I read the last 2 or 3 pages to get the gist of where the thread is at. Just because you don't do it, doesn't mean 'nobody does'.
Edited on 24 June 2015 - 05:50 PM