Iyouboushi's Home

イヨウボウシの宅

Archive for the ‘Kon’ Category

Posted by Iyouboushi on March - 11 - 2016 Comments Off on Kon version 1.5.4

Version 1.5.4 is now available for download!

For some reason I forgot to release version 1.5.3 so this post will serve as a way to talk about what I did in that version as well.

For version 1.5.3 I did the following:

  • Added the USER LEVEL command: !haiku This command will cause the bot to attempt to create a haiku using the 5/7/5 syllable structure. It’s not perfect and the counts will often be a little off but it’s a start. Needs the LB Brain to be on in order to work properly.
  • Changed the “Answer Search” code slightly so that it tries to find more than one answer to the same line. This may or may not help/improve anything.
  • Changed the LB brain so that it stores the starting lines in memory instead of loading them every single time something is added to the brain file.
  • Changed the way the filter works slightly so that when it adds things to the LB and basic brains it can run one of the same functions. This reduces code a little and makes it cleaner.
  • Fixed the Twitter aspect so that it works with the 1.1 OATH system.

It wasn’t a lot, but it was just minor improvements to try to improve the way the bot works (especially loading all the starting lines, as a huge brain file makes the bot pretty slow).

Version 1.5.4 was simply another fix to Twitter, as I was having some issues with it working reliably.  It now uses the CoreTweets.dll which is soooooo much nicer.

As always, the source code is a horrible mess.  Kids, don’t use this project as a way to actually learn how to program or hold it up to some high standard.  I’m honestly surprised this bucket of bolts even works with the way I’ve jerry-rigged it all together.  Having said that, it does work so feel free to download and enjoy.

DOWNLOAD
Binaries
Source

Categories: Featured, Kon, Programs
Posted by Iyouboushi on August - 11 - 2013 Comments Off on Kon SVN Updated

Hey everyone! This is just a quick post to say that I’ve gotten around to updating my C# Chatterbot, Kon, and posted the updates to the SVN I set up for it.

This update fixes Twitter so that it works again (due to Twitter changing their API a little), adds a !haiku command (which works..okay but not great) and changed the “Answer Search” code slightly so that it tries to find more than one answer to the same line.  This may or may not  help/improve anything.

The bot is occasionally unstable though.  I seriously need help in recoding the entire thing. I just don’t know who can help me do it though lol.  No one on my message board knows C# and I imagine it’s going to require a lot of work to fix up as I’m sort of learning as I go here.

If anyone sees this and is interested please e-mail me (iyouboushi (at) gmail dot com)

Categories: Kon, Programs
Posted by Iyouboushi on February - 1 - 2012 Comments Off on Kon’s Second Song: Jolly Roger Military

The awfulness continues!

I had Kon the C# Chatterbot write some more lyrics and put it with some more awful music. This one is a 58 second long metal song entitled Jolly Roger Military.

Good luck understanding SHOUTY (the name of the voice) in this one.

Categories: Kon, Music
Posted by Iyouboushi on January - 27 - 2012 Comments Off on Kon’s First Song: Yo Dawg!

What happens when a C# Chatterbot writes a song? Well, I’ll tell you this: it isn’t a masterpiece!

Using my C# Chatterbot, Kon, to write all the lyrics and the tone of the song, I have created an awful 52 second-long “rap” entitled: Yo Dawg! Click here to download it

I would say “enjoy!” but I’m not sure that’s possible. XD

Categories: Kon, Music
Posted by Iyouboushi on December - 15 - 2011 Comments Off on Kon version 1.5.2

Version 1.5.2 is now available for download!

As mentioned, I’ve added the auto perform stuff to this version. Since making that preview post, I’ve actually added a little more to it. The commands recognized are: JOIN, MSG, SAY, RAW and WAIT. Also, if you use MYBOTNAME (in all caps like that) it will replace it with the bot’s current nick on the server.

Other things added/updated/fixed in this version: The bot can now recognize multiple admins in the config file (just add more <admin> than one like you do with <user>), two new admin level commands (!msg and !raw), the filter was updated a little, and I fixed two bugs relating to RandomTalk.

Overall I’m pretty proud of this version. Hopefully Kon will continue to improve.

DOWNLOAD
Binaries
Source

Categories: Featured, Kon, Programs
Posted by Iyouboushi on December - 2 - 2011 Comments Off on Auto Perform In Kon 1.5.2

This is just a quick update to let everyone know that I have added the auto perform code into Kon. This post will be a short explanation of how it works so that when the version is released you’ll know how to do it.

Right now the commands will be read from perform.kon which is a plain text file that can be opened in any plain text editor (notepad works fine for it). The commands that are recognized for the auto perform are: JOIN, SAY, MSG and WAIT.

JOIN – Joins a channel
SAY and MSG both work the same way here and lets you have the bot send a message to someone or say something to a channel when the bot joins the server.
WAIT – This command causes the bot to pause for a few seconds inbetween commands. Use this if you have a lot of commands set in the auto perform so that the bot doesn’t flood the server and get booted off.

So what you’ll do is open kon.perform in your favorite plain text editor and add a command one to a line. For example:

JOIN #KonBot
MSG NICKSERV identify mypassword
WAIT
SAY #KonBot hello all my peeps!

And then save it. When the bot is run the next time, it’ll automatically do all of those commands. I’ll include a perform.kon.example file that will basically show exactly that in case you forget.

I’m not sure when I’ll release this update. I want to test it a little while longer and make sure there’s no issues with it before I do. But I’m sure it’ll be soon. :)

Categories: Kon, Programs
Posted by Iyouboushi on November - 28 - 2011 Comments Off on Kon version 1.5.1

Hey everyone!

Kon version 1.5.1 is now up and ready for anyone who wants to download it. This version doesn’t add a whole lot but it fixes an issue with the ident and Real Name of the bot. The only other thing it does is add a /MSG command that allows the bot owner to message a non-channel (i.e. Chanserv, Nickserv, other users, stuff like that).

Kon seems to be attracting a lot more attention lately. I first just want to say thanks to everyone who has downloaded and tried it out. Thanks to those who sent me email with suggestions on what to do with the bot. I do appreciate it. With that said, I just wanted to say real quick that the IRC side of Kon is pretty lacking. When I first wrote the bot I never imagined it to be on par with something like mIRC or any other full IRC client. It was really just programmed to be a chatterbot. So please keep that in mind when you find that the bot is lacking something on the IRC side (like being able to auto-perform commands). I’ll add what I can when I have the time.

In the next version I’d like to add some kind of perform that will let the bot automatically join a bunch of channels and perform commands (like identifying to chanserv and nickserv). I don’t know when the next version will come though, so please be patient. :)

With all that said, here’s the links:

DOWNLOAD
Binaries
Source

Categories: Featured, Kon, Programs
Posted by Iyouboushi on November - 18 - 2011 1 COMMENT

I have decided to go ahead and release what I’ve been working on with Kon. This version is similar to the last version of Kon Offline that I released in that it combines the two lb brain files back into one file and utilizes kon.brain for its “Answer Search”.  For the change log for this version and the download links, continue after the cut.

Read the rest of this entry »

Categories: Kon
Posted by Iyouboushi on September - 6 - 2011 Comments Off on Kon Offline Version 1.2.0

Kon Offline version 1.2.0 has finally been released. Sorry that it took so long. I kept testing the Kon 1.5.0 engine. While it’s not perfect, it’s probably as good as I’m going to get it for a while (interest in this project is a bit waning as of late).

I’ve redone the way the LB Brain stores things drastically. Before it was split–questions in one file, everything else in another. That’s no longer the case. It’s all back down to one lb.brain file. This version also has what I call “Answer Search.” This uses the kon.brain file. Basically both files are now required to make Kon work (if you use that new function).

Basically “Answer Search” tries to find the appropriate answer to something that you’re saying. It doesn’t always work, and sometimes it has to be pretty specific, but eh.

You: My skills with a sword are highly venerated.
Kon: Too bad they’re all fabricated.
You: I can’t rest ’til you’ve been exterminated.
Kon: Then perhaps you should switch to decaffeinated!
You: I’ll leave you devastated, mutilated, and perforated!
Kon: I’ll leave you devastated, mutilated, and perforated.

Binaries: Download

Categories: Kon, Kon Offline, Programs
Posted by Iyouboushi on July - 7 - 2011 Comments Off on Kon version 1.5.0 in the works

I’m currently working on Kon version 1.5.0 and Kon Offline version 1.2.0.

I’ve redone the way the LB Brain stores things drastically. Before it was split–questions in one file, everything else in another. That’s no longer the case. It’s all back down to one lb.brain file. Also, I’m working on something I call “Answer Search.” This uses the kon.brain file. Basically both files are now required to make Kon work (if you use that new function).

Take this example conversation we had with Kon last night:

[00:34] Kon: My skills with a sword are highly venerated.
[00:34] Iyouboushi: lol
[00:34] Smz: kon: Too bad they’re all fabricated
[00:34] Smz: XD
[00:34] Kon: I can’t rest ’til you’ve been exterminated.
[00:34] Smz: kon: Then perhaps you should switch to decaffeinated
[00:34] Kon: I’ll leave you devastated, mutilated, and perforated!
[00:34] Smz: LOL
[00:35] Smz: kon: Your odor alone makes me aggravated, agitated, and infuriated
[00:35] Iyouboushi: XD
[00:35] Kon: Your odour alone makes me aggravated, agitated, and infuriated.
[00:35] Smz: XD
[00:35] Smz: kon: You lose!
[00:35] Kon: That was too close You were almost a Jill sandwich.

As you can see from the quote in the above post, it sort of works. Kon was able to continue insult sword fighting for a few lines before it started to parrot.

Unfortunately I foresee two problems with this.

#1. It won’t be quite as random. In order to make the bot more coherent and appear smarter, the randomness has to be toned down. It’s still more random than using AIML though.

#2. As the brain grows, the “answers” it’ll find and give back to the user are probably going to be a jumbled mess. But time will tell. Right now I’m testing on a brain that contains 3000 lines. That’s pretty small considering the last brian, before I wiped it, contained 300,000 lines or so.

More testing is needed and I’m sure I’ll have to wipe it out and try a few more things before it’s all said and done.

The release date on both of these are still up in the air. I need to test more and fine-tune before I decide to let it loose upon the public. But if you can’t wait to try it out, I’ll keep Kon in #Kyoto on irc.esper.net. Feel free to come chat with him there.

Categories: Kon, Kon Offline, Programs

Featured Posts

Battle Arena 4.0 – Release

Version 4.0 has been in development for almost three full years but it’s finally ready to be officially released. As you can imagine it’s full of additions, changes and fixes. Look after the jump for the changelog and the download link. Moving forward I am not sure if I’ll continue to post “full versions” here […]

Battle Arena 3.2 – Release

It took over a year but it’s finally here! Battle Arena 3.2 is done and is now available for download.  As usual it’s chalk full of additions, changes and fixes — most of which will be listed after the jump.  Hope everyone has happy holidays.  See you in 2017.

Battle Arena version 3.2 Is Almost Done!

It’s been nine long months and Battle Arena has undergone a lot of various new additions, changes and fixes.  The final release of version 3.2 is drawing closer but still has a little ways to go.  As it stands today, here’s some of the main highlights:   ADDITIONS: Added the Supply Run type battle. In […]

Bleach 666 – EMPTY HALL OF THE PUPPET TEMPLE

Chapter 666 – EMPTY HALL OF THE PUPPET TEMPLE [Unix] [MangaStream] The chapter was released a day earlier than usual! Woohoo! Though, was it really a chapter to get excited over? Click the read more and see the summary and some thoughts (as usual).

Search my site

Twitter Updates