Menu

Help "plusbot " at phpMyChat ?

Help
ghoboy
2008-06-02
2012-09-14
  • ghoboy

    ghoboy - 2008-06-02

    hi all,

    I really enjoy phpMyChat chat script. But i need you guys help me about : plusbot . After I run bot/botloader.php successful, and then I tried to run bot/talk.php , it says :

    Warning: main(bot/subs.inc) [function.main]: failed to open stream: No such file or directory in /home/dichlyca/public_html/dlcdchat/bot/util.php on line 59

    Fatal error: main() [function.require]: Failed opening required 'bot/subs.inc' (include_path='/usr/lib/php:.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/dichlyca/public_html/dlcdchat/bot/util.php on line 59

    I checked bot/subs.inc again, it already upload toin my server. So, what's wrong ?
    Thank for helping !

     
    • Ciprian Murariu

      Ciprian Murariu - 2008-06-02

      It seems there was a typo in that version (which you didn't mention though). Open bot/util.php and search for this line:
      require_once "bot/subs.inc";
      replace it with:
      require_once "subs.inc";
      Hope it helps :)
      Ciprian M.

       
    • ghoboy

      ghoboy - 2008-06-02

      I got it, run good ! plusbot in /talk.php responding nicely.
      I have one more question. When I come to my chat room and the plusbot doesn't show up in my chat room.
      how can i load or show up plusbot to my chatroom ? I run phpMyChat Plus (1.92-f7).
      I already enable display the name of your bot (if available): show bot name and enable BOT in chat.

      Thanks for helping,
      Rainy

       
    • ghoboy

      ghoboy - 2008-06-02

      hi , i got plustbot running and show up in my chat room

      i use command /bot start , it works ;) .
      Thank a lot and have a good day !

       
      • Ciprian Murariu

        Ciprian Murariu - 2008-06-02

        You're very welcome :)
        Enjoy it!

        Ciprian M.

         
    • Ciprian Murariu

      Ciprian Murariu - 2008-06-02

      Just a hint for all phpMyChat users:

      In order to be a very knowledgeable administrator of your chat, please make sure you read the tutorial, the included help and the entire Admin/Configuration page. There are plenty of hints/advices in order to make your chat as powerful and nice looking as you wish. ;)

      All the best!
      Ciprian M.

       
    • Mendip_Gold

      Mendip_Gold - 2008-08-12

      Once botloader.php has been run, I presume it is using system resources. Can these resources be freed up again easily. Is there an equivalent botunloader ??

       
      • Ciprian Murariu

        Ciprian Murariu - 2008-08-12

        After running the loader, the only resources used by bot is the MySQL space (around 16Mb in 1.92 version and ~24MB in 1.93).
        Rest of the resources are used only depending on how much/often the bot is actually posting messages to your chat (which you could control by stoping the bot at any time, or turn it to private posts only).

        So, the only case you should really worry about it is if your MySQL hosting space is very limited.
        For this case, there is no unloader available as of yet, but you could go to phpmyadmin and empty all the bot_* tables.

        Hope this explanation helps.
        Best regards,
        Ciprian M.

         
    • Mendip_Gold

      Mendip_Gold - 2008-08-13

      Thanks for such a speedy response and the explanation. So am I right in thinking that I can make my bot more intelligent by loading additional AIML files and the only overhead would be my mysql space... (I have yet to readup on and fully understand AIML and the programming of bot's but is my assumption correct?)

       
      • Ciprian Murariu

        Ciprian Murariu - 2008-08-13

        Exactly.

        As of now, the botloader doesn't append only the recordings from the new AIMLs you add, but it actualy adds an extra full load of all the AIML sets found in the bot/aiml directory. Even if you delete the already applied sets, it doesn't fix it - you'll get a new bot loaded, which will have a shorter memory/IQ but a higher db space ocupied. The MySql space will keep increasing drastically with each load (doubling the size each time).

        I recommend these safe steps before adding/appending new AIML sets:
        1. clean up (empty) only the following 4 tables in your database:
        - bot_bot
        - bot_bots
        - bots_patterns
        - bot_templates
        2. if you renamed your bot to anything else than "plusbot", edit the bot/aiml/startup.xml file to rename plusbot to your bot name;
        3. don't delete the previous installed AIML sets, just those you really don't need your bot to learn;
        4. re-run the botloader.php as you did first time.
        That's all.

        Ciprian M.

         

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.