I (a while ago) adapted a acro script (tcl) from a friend that wrote a basis of it, I immediately fell in love with it and promptly took it, worked at it until i had it to a point to actually run on irc and … be enjoyed, this was accomplished, after close to 4 years of off and on attention.
I took the bot down off lagnet ages ago, due to getting bored on irc.
However, since i am back on it, i have had in the back of my mind the intention of putting acro back up! However, to do this, I would want to evolve the bot / script to a more friendly and efficient standard. I have opted to go with Python on this case, two reasons, I think it will be fast and, I would like to learn python.
So, off i go to Google website, start searching for python-irc libraries (as i would NOT be able to accomplish that for a good while) and wanted to see if anything could be utilized for what i am intending doing.
One result came up, python-irclib, I downloaded the code and took a look at the internals and thought that this would work nicely. I fiddled around with the code and sort of changed it a bit to suit my needs, that being, a config file that it would call on with the information within.
So, where i stand at the moment is as follows;
- I have a python-irc testbot connected to freenode network in the channel #acro.
- The bot listens to the following commands
- stats
- disconnect
- die
- dcc
I have yet, to do the following;
- Change python-irc lib code to identify to nickserv
- implement logging
- Interface with users on a more defined level, i.e. accept other commands (based on old acro script)
- generate actual game code and interface with commands
- interface game code into mysql for storing of entries, scores etc
- implement new features requested from old bot (i have to however try and remember these)
- develop a site to display information on the channel, bot and scores
For now, I have setup a temporary wordpress blog where i will detail my ventures on this project, you can find it at www.acrobot.org , you can also leave me comments there on what to implement etc, and if you would like to participate in testing etc, you can join me on freenode in #acro.
I will be moving the bot to run on a local SA server, eventually, preferably lagnet but will keep you updated on that.
I have already had a couple of issues with the library, but you can find details of those on the blog.
yes, the current acro.tcl script works (surprisingly enough) before some ask :)
Comments