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 !
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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 ??
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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 !
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.
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
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 !
You're very welcome :)
Enjoy it!
Ciprian M.
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.
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 ??
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.
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?)
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.