Kon version 1.3.0 is now available for download to the general public. Hoozah! Are you wondering what it does? Well, it’s a decent update to the bot and as I mentioned in the last update, it tries to fix a few things that have been bugging me lately.
This version fixes a bug that prevented Kon from seeing every user in the channel. It was previously cutting at least one name off. In the same vein, this update allows Kon to replace multiple UNNAMED_USERs in the same sentence with different names. Before it would replace all instances of UNNAMED_USER with the same nick, potentially making some lines sound very weird. Now it will randomly a random channel user for each one (assuming there’s more than one other person in the channel when it tries). It also attempts to pick a channel user name when updating the twitter feed, if you use that.
This version also says goodbye to the Google Brain. Due to the way Google has changed the way it displays search results this brain no longer functions. At all. No amounts of regex changing will make it work any more and to be quite honest it isn’t really all that great. So it’s time to just remove it and remember it for what it was: a neat idea. Next on the chopping block may be the AIML brain. I personally don’t use it and I feel it’s almost cheating when it comes to trying to make an intelligent bot. However, that decision isn’t final. I’ll make up my mind in the future.
There were quite a few “upgrades” to the LB Brain. If a reply it pulls is too short it will attempt to pull a second, somewhat related, line. This is still in testing and may not be completely right. I tried to improve the “TOPIC SEARCH” function of the LB Brain, to better pull out a topic from a sentence. I also improved the word search function in the LB Brain so that word case shouldn’t matter any more when addressing the bot (“HELLO” is the same as “hello” is the same as “HeLlO” now).
And finally, something that was really needed: I updated the LB Brain Utility to version 1.1.0. This program now contains an option to read a txt file and convert it into Kon’s brain. Make sure the text file is in the same folder as Kon’s brains and the LB Brain Utility. Also make sure that you format the text file so that everything is not just one gigantic paragraph. The program will not split lines based on punctuation, only by forced line breaks. For example:
I went to the park. I walked my dog there.
is not the same as :
I went to the park.
I walked my dog there.
and will be processed differently.
And that’s the general rundown of this version. Overall I feel this is a good step in the right direction and hope to continue improving the bot with further version updates.
Download Binaries: Click here
Downlod Source: Click here (and download all the files)
If you want to see the actual changelog, keep reading.
1.3.0
- Kon should try to pick a random name when posting to twitter instead of posting “UNNAMED_USER” all the time.
- Fixed a bug that prevented Kon from seeing every person sitting in a channel
- Changed the way Kon replaces UNNAMED_USER so that it can use more than one person’s name (randomly).
- Changed the way Kon handles ACTIONs in twitter to replace the “ACTION” with a “*”
- Removed Google Brain. Google has changed the way their searches work and Google Brain is no longer functioning.
- Removed the !toggleGoogle command due to the removal of Google Brain.
- Added a way for Kon to attempt to string two sentences together if the first sentence is too short. Requires LB Brain.
- Added a new command: !toggleDoubleSentences it’s a user-level command and will toggle the two sentences attempt on/off.
- Kon will now attempt to use a simple form of punctuation in replies. It may not always be correct, however.
- Tried to improve the “TOPIC SEARCH” function of the LB Brain, to better pull out a topic from a sentence.
- Improved the Word search function in the LB Brain so that word case shouldn’t matter any more when addressing the bot.
- Updated the LB Brain Utility to version 1.1.0. Now contains an option to read a txt file and convert it into Kon’s brain.
