Wednesday, January 7, 2009

Kon version 1.1.0 release

I know it's only been a few days since I last released a version of Kon but this update is important. I believe, with the help of Kintora of Esper.net, the reconnect code is working and fixed. It involved a lot of rewriting of Kon's code and adding a whole new thread. That's pretty much all this update includes, so don't look for any improvements on the AI.

I still remind everyone that Kon is not a full IRC client. I'm just trying to get reconnect to work properly so the bot can be left online for a few days without having to restart it manually.

Download Binaries: Click here
Downlod Source: Click here (and download all the files)

Monday, January 5, 2009

Kon version 1.0.11 release

It's the first update of the new year! Happy New Years everyone. May 2009 be good for all.

Now then.

Kon is now version 1.0.11 and has been released. Here's what's new/changed:

  • Fixed a small issue of certain modes not displaying all of the data (such as opping not showing who was opped).
  • Changed the logger and display so that it shows which channel the line appears in. I.e. [#channel] message
  • Fixed an error that would cause the bot to chop off the ":" in an emoticon if that was the first thing said in a line.
  • Added a /CLEAR command to the console. Will clear the window of all text.
  • Worked on the reconnect code...again.
  • Added a check to stop the bot from reconnecting if it reconnects more than 5 times in a session.
  • Added method to handle the appearance of KICK messages.
  • Tried to improve how the LB Brain constructs sentences with a topic.
  • Fixed another small potential bug with !utter
  • Changed the /SAY /PART and /JOIN commands slightly.

The new /SAY, /PART and /JOIN commands are as follows:
  • /SAY #channel message will send a message to the channel you specify
  • /SAY message will try to send the message to the default channel (the one it joins upon startup)
  • /PART #channel will try to leave the channel you specify
  • /PART will try to leave the default channel (the one it joins upon startup)
  • /JOIN #channel still works the same, just some internal things were changed to help with the changes to the other commands.
You may notice that you cannot use /SAY to message people in private query. I'd like to remind everyone that Kon is not meant to be a full standalone IRC client. If you want something like that, use mIRC or any of the other more complete clients. Kon is intended to be a chatterbot. However, I have found times when I needed to message a channel from Kon's end, thus the need for the /SAY change/fix.

As for the reconnect code... well, it SHOULD reconnect now. However, in the event that something goes wrong, it now has a limited number of tries to reconnect. After five attempts it will no longer try to reconnect and will need to be restarted manually. This is to prevent potential errors and potential connect/disconnect flooding to the server.

I'm not sure what the next update of Kon will entail. Maybe trying to improve the way commands are processed and to continue adding more error support. We'll see.

Download Binaries: Click here
Downlod Source: Click here (and download all the files)