Menu

#15 Initial POE::Component::IRC support

open
nobody
None
5
2010-08-19
2010-08-19
Anonymous
No

This is very very rough. It'll connect to the server and that's about it. I'm working on getting it to automatically join channels currently, but there's a TON of stuff left to do still. As such, it does work. This is a diff against SVN.

Discussion

  • Tim Riker

    Tim Riker - 2010-08-19

    Do you have an account on SF directly? We could create a branch in SVN and work on the POE support there. There are others interested in helping out, but nobody else is currently working on it as far as I know.

    Thanx!

     
  • Tim Wojtulewicz

    Tim Wojtulewicz - 2012-03-18

    This is Tim again (posting from my sourceforge account now). I finally got back to working on this. I forgot I made this originally and started over from scratch. I have a new version of the patch that will connect to a server (SSL supported), along with supporting the karma command at the very least. I haven't gotten it automatically joining channels, but /invite works and the bot will join a channel without errors.

    I made a separate feature request (again, I forgot I posted this one 2 years ago) as #3470671. Should I post the new patch under that? Also, a new branch in SVN would be the most ideal way of working on this, so that I don't have to worry about everything being only on my machine.

     
  • Tim Wojtulewicz

    Tim Wojtulewicz - 2012-03-18

    Thanks, I'll look into that. That might reduce the code a little too. The other thing I haven't figured out how to duplicate yet is the scheduling system. There's POE::Component::Schedule, but I don't know if it will work for what infobot does.

     
  • Tim Wojtulewicz

    Tim Wojtulewicz - 2012-03-18

    I'm basically just wanting to duplicate whatever the current infobot is doing with all of the $conn->schedule calls.

    Should I post this patch as it is currently? Do you want to make an SVN branch that I can work off of?

     
  • Tim Wojtulewicz

    Tim Wojtulewicz - 2012-04-14

    I committed first hunk of it. Here's what currently works:

    - Connecting to servers
    - Setting the master password
    - Joining channels on the first connection
    - Some of the commands (karma works, at least, as does setting factoids)

    Here's what I know doesn't work:

    - DCC (chat fails completely, haven't tried other modes)
    - Some of the CTCP commands (normal ping works, ctcp ping doesn't)
    - Joining channels after a disconnect/reconnect (gives me an error about a null channel)

    Here's what I haven't tested:

    - A lot of the infobot modules
    - A lot of the CTCP stuff
    - Channel settings (from the config file)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.