Menu

irc

quadraped
2004-11-10
2012-11-16
  • quadraped

    quadraped - 2004-11-10

    Id like to see support for channel based messages as long as the bot's name is in the line of text for irc. Also support for irc.rizon.net would be nice
    (ident server I guess)

    I would work on these myself with the source, but when I use the out of zip src compiled to attempt connection to irc, it gives a debug assertion failed error for dbgheap.c @ line 1044 _crtlsvalicdeappointer(puserdata)

    It only happens if irc is enabled. So I cant really even mess around with the irc stuff at all.

    This is by far the best AIMl bot out there, thanks for the work =)

     
    • quadraped

      quadraped - 2004-11-11

      better yet: forget the support for channel based messages, and just get AIMlpad 1.4 (src) to work on irc.

      I use microsoft visual c++ 6.0 for compilation.

      If ircactive is set to false in the options.ini with AIMLpad-dbg.exe and js32-dbg.dll, it runs completely normal, but if ircactive=true the error listed above appears about 4 seconds after launching the application. Usually before AIMlpad loads completely.
      AIMlpad 1.4 binary from sourceforge runs on irc fine.

      I have not changed any of the src, it is a fresh compile, with all the files other than AIMLpad-dbg.exe and js32-dbg.dll from the binary 1.4 release.

       
    • Stefan Zakarias

      Stefan Zakarias - 2004-11-11

      Hi triped...

      That's strange.  Usually it's the other way around (debug works, binary hosed).

      IRC and the Web Interface were "inherited" from Kino Coursey's "CyN".  I don't know how IRC is used with AIMLpad, and I don't think Gary uses it either...  I just assumed it was working (and I'm guessing Gary did too) because nobody else has mentioned any problems with IRC...  Thank you for the "heads up".

      The v1.4 binary on SourceForge is compiled using the "Enterprise" edition of MSVC++6 with SP6, and using the MS Platform Software Developer Kit - 2003.  Are you using these?  (There might be differences)

      Do you know of an IRC server and channel I could test this on?  (Need server name, port, channel)

      Cheers,
      Stefan.

       
    • Stefan Zakarias

      Stefan Zakarias - 2004-11-12

      After a look at the IRC source code, I am surprised it even works!  It leaks memory badly and it doesn't do proper checks (makes assumptions) for the socket connections...  Definitiely needs a re-work!!!

      Sorry!
      Stefan.

       
    • quadraped

      quadraped - 2004-11-14

      Well my vc++ 6 doesn't say anthing other than vc++ 6.0
      and I am pretty sure I have the latest sp. My compiler can compile CyN fine though.

      Lemme know when you figure out the irc stuff, b/c I got some fun tweaks running on CyN's oooold aimlpad (which isn't as good as aimlpad 1.4) and I am looking forward to transfer them over to aimlpad 1.4.

       
    • Stefan Zakarias

      Stefan Zakarias - 2004-11-14

      OK, I'll letcha know!

      At the moment, I'm looking for an IRC daemon to run on my XP box.  This will (hopefully) allow me to test things without getting kicked, banned, or abused.

      On a side note, you are aware that AIMLpad is *not* user-context-aware.  This means that when many people are talking to it (via Web or IRC) then it does not distinguish between who is talking to it and at what level of depth it is in inside a conversation.

       
    • Stefan Zakarias

      Stefan Zakarias - 2004-11-14

      I've tracked done the problem.  The new files are in CVS.  They files I touched are:

      [core.cpp - v1.14]
      [net.cpp - v1.6]
      [pu.cpp - v1.8]

      These, at least, stop the memory leaks and allow connecting with IRC when using the DEBUG version of AIMLpad.

      Hope it works for you :-)

       
    • quadraped

      quadraped - 2004-11-14

      "On a side note, you are aware that AIMLpad is *not* user-context-aware. This means that when many people are talking to it (via Web or IRC) then it does not distinguish between who is talking to it and at what level of depth it is in inside a conversation."

      Yes, I do know about it, also if anybody else wants this update and is using the 1.4 src release, be sure to grab the pu.h cvs otherwise you get a bunch of errors ;)

      I am mostly using the bot as a "chat buff" at the moment, for more random interjection. I also trimmed out a bit of the conjugated responses, and am adding more straightforward responses to make it seem a bit more chatroom-behavioral. It uses some code based around a random number and chance variable based on questions, emotes and other miscellaneous things enabling it to involve itself in conversations, and withdraw from incoherent ones that it has poor replies for, also it properly addresses individuals by chat nicknames, but sometimes will stay on topic from somebody else's conversation. I will probably try to fix that next after its running stable.

       
    • quadraped

      quadraped - 2004-11-14

      Works fine now, maybe a couple of randomly occuring debug errors, but that may be my code =)
      I will see if I can find the cause.

       

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.