Sashenka now has integrated support for 'help' commands on a servlet by servlet basis. The container itself now requires Java 1.4. Also two new bot modules have been added: the FactoidServlet and the SimpleMathServlet. The FactoidServlet operates in a similar manner to infobot, the SimpleMathServlet evaluates and computes complex mathematical expressions using the JEP math library.
ドキュメントが完全に書き直されたのIRCボットサーブレットHOWTOをすぐに含まれている。新しい2つのボット、GoogleServletとDictionaryServlet、追加されました。これらのクエリgoogle.comや単語の辞書の定義を見て、(それぞれ)。の両方を使用して、新しいJ2EEサーブレットモデルとJava SE 1.4の機能(正規表現のパッケージ)。その他のモジュールはまだのみを必要とは、Java 1.3。 1つのサンプルボットのHelloServletは、ドキュメントサポートするために書かれています。
タグ:
Major feature enhancements
The documentation was completely rewritten and an IRC Bot Servlet HOWTO is now included. Two new bots, GoogleServlet and DictionaryServlet, were added. They query google.com and look up the dictionary definitions of words (respectively). Both use the new J2EE Servlet model and Java SE 1.4 features (the Regex package). Other modules still only require Java 1.3. One sample bot, HelloServlet, was written to support the documentation.
The sashenka runtime environment has been refactored to follow the Java J2EE servlet model. The existing example module Weather has been converted rather simply into this new form. Existing modules should have no trouble with conversion. Documentation of how to create modules has not yet been re-written however the process is rather trivial. The bot container is functional.
This release has improved exception handling and more graceful error performance. The BotMaster will no longer crash when errors are not handled by buggy modules. The included (buggy) weather bot module has been modified as well in order to improve stability and give useful error messages.
This release contains a fully functional framework for construction of bots to
be run in a modular environment. Two sample modules are provided. This package
is of no use to non-developers, as the bot modules included serve no real
purpose other than to test and illustrate the framework.