Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Talkerbot V2.2.3 (AI Posting Bot) Details »»
Talkerbot V2.2.3 (AI Posting Bot)
Version: 2.5.0, by eXtremeTim eXtremeTim is offline
Developer Last Online: Feb 2008 Show Printable Version Email this Page

Category: Major Additions - Version: 3.6.5 Rating:
Released: 09-11-2006 Last Update: 05-15-2007 Installs: 230
DB Changes Uses Plugins
Additional Files  
No support by the author.

Talker Bot Hack v2.5.0
Hack By: Tim (eXtremeTim) Yarbrough
Website: www.extremechatforums.com

What This Hack Does.

This hack add a userlike bot to your forums. You can set which forum he will post in and how often he will reply to poeples posts. He will try and build his replies off the text that they posted. This bot will learn overtime slowly from your users posts.

Whats new in 2.5.0?
Cleanup of the code to allow better support for php5 users.
Simplified the steps to get the bot working.
Improved the code in various spots.
Fixed sloppy coding issues that remained from the original version of the hack.

Whats new in 2.2.4?

Start of php 5 compatibility fixes
Query errors
ajax cosmetics issue (should be fixed now but if not please let me know)
quite a few minor random things.

Whats new in 2.2.3?

Fixed a few bugs (didnt fix the php 5.1 issues yet till i have time to make sure they dont have an undesired effect)
Added code to make bot show up online.
Made bot show up as last poster correctly.
Fixed table prefix issue

Whats new in 2.2.2?

Cleaned up code a bit.
Fixed <br> problem
Improved bots sanity
Fixed alot of stuff.

To Upgrade from 2.2.4:

Upload all files import the new product.

To upgrade from 2.2.3:

Reupload src folder from the alice dir, install the product file, and upload ewt_talkerbot.php.

To upgrade from 2.2.2:

Reupload the src folder from the alice dir and also re upload the ewt_talkerbot.php file. No changes were made to the product file.

To upgrade from 2.2.1:

Overwrite the current product
Overwrite ewt_talkerbot.php


To Upgrade From 2.2.0:

Overwrite the current product. Upload ewt_talkerbot.php


To Upgrade From A Previous Version:

Just follow the install steps in the files becuase yea there was no prior version for vb3.6 so you should have no file edits to redo.

This version is much cleaner overall then all the previous version. I have removed a good deal of the code in the core alice bot that used to cuase errors. I have moved all the control settings into the admincp. Plus many other things including a much cleaner ewt_talkerbot.php file then the original _talkerbot.php file.


About v3

Yes version 3 is being planned out yet again. I had it finished at one point only to lose it when my computer was stolen a while back. So now im planning even more stuff for version 3. I will post information about v3 later.


AIML File:

I need aiml files. If you know where to get them or have a bunch you can send me please contact me via pm on here so I can get the files. (Needing more for the base package and some to start playing with the aiml sharing features of v3 )


Demo: http://www.extremewebtech.com/forums...esting-grounds
User/Pass: test2323/test2323

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #782  
Old 05-03-2007, 12:56 AM
^FalcoN_65^'s Avatar
^FalcoN_65^ ^FalcoN_65^ is offline
 
Join Date: Feb 2002
Location: Tennessee
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you are seeing this then you're probably frustrated. This message is a generic message given by the Bot when there is no pattern in the post he can recognize (IE he can't find your words in his database.

The bot's database is created by building tables in your database during the botloader.php execution. If you're like me then you got it to start loading and then it would stall out. Mine showed loading different .aiml files and then would stop.

If it completes properly it should take a LONG time.... maybe 30 minutes or so. And then after a successful load of all the .aiml files (which build his databse of patterns) the script will return a colored message on your screen and you wil be prompted to try the talkerbot out. If you didn't get this message, then your .aiml files did not completely load.

My problem was timeouts on my server at the host. I even tried breaking up the .aiml files into smaller chunks but still after a minute or so of transfer and maybe a few files, it would quit.

What I ended up doing was editing the botloader.php file and taking out instances of "deletebot" which were basically clearing the tables each time a load started. I thought I was smart at first and I'll simply delete the files it showed that it loaded and then rerun botloader.php......

This was when I found out it was clearing the tables each time it executed. After editing the botloader.php file I was able to do the above method (running, deleteing files, re-running) and the mySQL table named "pattern" finally started growing like it should.

Now my bot actually answers posts instead of saying he doesn't feel well or can't connect to his database.

I hesitate to actually post the modded botloader.php file because I am sure that I did a terrible hack job on it code wise. Also, when the botloader would run, I wondered how muchof the last file it showed actually loaded into the table. So what I did was to delete all but the last one it was working on, that way when I re-ran it , it would start on the last one it was doing (to be sure it gets it all) I believe that this method probably creates redundant entries in the patterns table, but as I said, thsi was a hack-job, quick fix.

Anyway, I exported the "patterns" table from mine into a .sql file from the server and will attempt to post it here. maybe those with "Dumb bot syndrome" can import it via phpmyadmin directly into your dbase and give him an instant education.

Again: this is to solve the problem where the bot responds, but never really says anything except he can't connect with his database. If there is interest, I will also post the modded botloader.php file that prevents it from clearing the tables on each load.

(just noticed max file size prevents me attaching the zipped sql file. I will upload it to my server and try linking it.)

Alright I think it uploaded OK. The zipped file is about 600K and it will unzip to about 6 Megs. It is in .SQL format and you should be able to import it into the "patterns" table. Click here to download.
Reply With Quote
  #783  
Old 05-03-2007, 01:27 AM
^FalcoN_65^'s Avatar
^FalcoN_65^ ^FalcoN_65^ is offline
 
Join Date: Feb 2002
Location: Tennessee
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is the botloader.php file that I spoke of above. It has been modified to prevent the script from erasing the bot tables before writing to them. That way you can write some files until it stops... delete the ones it wrote from the /alice/aiml folder... and then run it again to load more into the database, without it erasing the ones previosuly done.

This is an ugly hack, but it worked for me.

Again this is a quick mod of the code but it seems stable.
Reply With Quote
  #784  
Old 05-03-2007, 01:44 AM
sonichero sonichero is offline
 
Join Date: Jan 2007
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TTG View Post
Which part was confusing
well, you explain more than i need to know. I dont need to know what chmod is i need to know a how to do it... I.E. where do i go to edit the properties, etc.

Quote:
Originally Posted by ^FalcoN_65^ View Post
Here is the botloader.php file that I spoke of above. It has been modified to prevent the script from erasing the bot tables before writing to them. That way you can write some files until it stops... delete the ones it wrote from the /alice/aiml folder... and then run it again to load more into the database, without it erasing the ones previosuly done.

This is an ugly hack, but it worked for me.

Again this is a quick mod of the code but it seems stable.

so if we just use this we dont need the SQL?\

-----

I still get a huge long error when i try to change the rate of posting... and i thought it was because i didnt chmod. But now folder alice is set to 777 and its still not working..

could it be because my tables are prefixed with vb_?

The botloader worked, it finished in almost no time, and i got the talk to bot thing and it worked fine. But what is the problem now?
Reply With Quote
  #785  
Old 05-03-2007, 03:48 PM
^FalcoN_65^'s Avatar
^FalcoN_65^ ^FalcoN_65^ is offline
 
Join Date: Feb 2002
Location: Tennessee
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Correct. Using this botloader file will allow you to upload files until it stalls, delete the ones it did, then urun again to upload more without clearing the patterns table each time.

The SQL file link was for those who wanted a quicker way to do it through mysqladmin.
Reply With Quote
  #786  
Old 05-03-2007, 04:21 PM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to solve the problem with the signs: é,á,ë,ä etc.? When these are present in the aiml the botloader dies with an error.

Also...when certain amount of aiml data is installed, the database goes down for one hour because of a limit set on mysql.

Is this problem solved when there are sql files for all tables as the patterns.sql from falcon 65?
Reply With Quote
  #787  
Old 05-03-2007, 10:58 PM
hotwheels hotwheels is offline
 
Join Date: May 2005
Location: Cheyenne, wy
Posts: 1,380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SteveOh_UK View Post
@ Hotwheels... clicked the link in cpanel and it worked... the url to my botloader was:

http://www.xxxxx.com/forums/alice/sr.../botloader.php the admin has been missing all along...
pheeew.. thanks for your help Hotwheels and Phill2003.... ya got me through it eventually... So far anyways... im not so sure abou the php part....

The bot id needs adjusting to 0 from 1.. in my php by admin I see:


Any one help... i can see light at the end of the tunnel now..
you are very welcomed..........
Reply With Quote
  #788  
Old 05-04-2007, 08:47 PM
Webdude? Webdude? is offline
 
Join Date: Jan 2002
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by eXtremeTim View Post
There is a working learner that I have been installing for people. I just haven't released it yet because people tend to botch the install of it.
Tim,

I had a number of issues installing the bot (currently v2.2.2) to our forums at optiquestsupport.com and others, but I was able to easily work them out. Given that, I'm more than positive if I were able to obtain that learner from you, I would have little trouble getting it to work assuming you have reasonable install instructions for it.

Thanks.
Reply With Quote
  #789  
Old 05-04-2007, 10:50 PM
hotwheels hotwheels is offline
 
Join Date: May 2005
Location: Cheyenne, wy
Posts: 1,380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I feel the same way webdude........ He tried to help me load what he called a learner bot at my site almost 10 months ago, and it never worked. I have been waiting almost a year to see if the learner bot script could be made functional. It used to work on the original talkerbot, and there is a chat program that uses the same exact files......I haven't really messed with the chat alice program yet, that may be something worth looking into.
Quote:
Tim,

I had a number of issues installing the bot (currently v2.2.2) to our forums at optiquestsupport.com and others, but I was able to easily work them out. Given that, I'm more than positive if I were able to obtain that learner from you, I would have little trouble getting it to work assuming you have reasonable install instructions for it.

Thanks.
Reply With Quote
  #790  
Old 05-05-2007, 02:48 AM
foxfirediego foxfirediego is offline
 
Join Date: Aug 2005
Location: Brazil
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works with portuguese brazilian language?
btw thx
Reply With Quote
  #791  
Old 05-13-2007, 06:43 AM
CoolSwede CoolSwede is offline
 
Join Date: May 2007
Location: 56?33.09N - 013?03.90E
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this a realy cool thing. install is easy and working perfect.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:15 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05472 seconds
  • Memory Usage 2,328KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete