Jump to content




CCleverBot 1.1 - CleverBot in CC

computer lua networking

53 replies to this topic

#1 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

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:
Posted Image

Thinking:
Spoiler

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

Or type into your computer:
pastebin get djwfhN9e ccleverbot


#2 Bubba

    Use Code Tags!

  • Moderators
  • 1,142 posts
  • LocationRHIT

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!

#3 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 03 March 2013 - 06:57 AM

View PostBubba, on 03 March 2013 - 06:44 AM, said:

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.

#4 lieudusty

  • Members
  • 419 posts

Posted 03 March 2013 - 07:04 AM

The bot ain't clever D:

#5 Sxw

  • Members
  • 306 posts
  • LocationWhenever, Wherever!

Posted 03 March 2013 - 07:11 AM

What, ccdumbot

#6 CastleMan2000

  • Members
  • 195 posts
  • LocationThe trashcan where all Undertale trash is

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?

#7 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 03 March 2013 - 07:43 AM

View PostCastleMan2000, on 03 March 2013 - 07:39 AM, said:

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.

#8 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 03 March 2013 - 01:39 PM

The CleverBot is not so clever as I thought it would be..
Spoiler


#9 amtra5

  • Members
  • 166 posts
  • LocationMelbourne, Australia

Posted 03 March 2013 - 02:00 PM

View PostHellkid98, on 03 March 2013 - 01:39 PM, said:

The CleverBot is not so clever as I thought it would be..
Spoiler
Lol

#10 Mailmanq!

  • Members
  • 123 posts
  • LocationI am omnipresent... DUH

Posted 03 March 2013 - 02:13 PM

You and 1lann need to get bored more often :)

#11 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 03 March 2013 - 02:43 PM

It was quite nice event though it was pretty stupid.. =P

#12 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 03 March 2013 - 06:15 PM

Added scrolling up and down the conversation :D

Ty 1lann.

#13 MudkipTheEpic

  • Members
  • 639 posts
  • LocationWhere you'd least expect it.

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

#14 Dlcruz129

    What's a Lua?

  • Members
  • 1,423 posts

Posted 03 March 2013 - 07:12 PM

I told the dick to die and he said, "You first."

#15 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 03 March 2013 - 07:13 PM

View PostDlcruz129, on 03 March 2013 - 07:12 PM, said:

he said
CleverBot has no gender. :P

#16 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 03 March 2013 - 07:22 PM

View PostTheOriginalBIT, on 03 March 2013 - 07:13 PM, said:

View PostDlcruz129, on 03 March 2013 - 07:12 PM, said:

he said
CleverBot has no gender. :P

But he calls himself human, so he must have at least 1 gender?

#17 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 03 March 2013 - 07:32 PM

View PostGravityScore, on 03 March 2013 - 07:22 PM, said:

View PostTheOriginalBIT, on 03 March 2013 - 07:13 PM, said:

View PostDlcruz129, on 03 March 2013 - 07:12 PM, said:

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:

Quote

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

#18 Shnupbups

  • Members
  • 596 posts
  • LocationThat place over there. Y'know. The one where I am.

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

#19 JustPingo

  • Members
  • 108 posts
  • LocationFrance

Posted 03 March 2013 - 11:33 PM

Thanks you guys.
Awesome program.

Look at that, CleverBot know some great things :
Posted Image

#20 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 03 March 2013 - 11:39 PM

View Postpingoleon60, on 03 March 2013 - 11:33 PM, said:

Look at that, CleverBot know some great things
The actual CleverBot can sing songs too. it is very cool.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users