Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
Talker Bot v2.0.2 Details »»
Talker Bot v2.0.2
Version: 2.0.2, by eXtremeTim eXtremeTim is offline
Developer Last Online: Feb 2008 Show Printable Version Email this Page

Category: Major Additions - Version: 3.0.0 Rating:
Released: 01-16-2004 Last Update: 01-20-2004 Installs: 144
DB Changes
 
No support by the author.

I will try and support this hack here. For better support use the link I have provided below:
http://www.extremescripts.com/forums/index.php


Version 3.0 is finaly being made. Please go to the link above and put in your feedback on what you would like to see added.

Talker Bot Hack v2.0.2
Hack By: Tim (eXtremeTim) Yarbrough
Website: www.extremechatforums.com
Original: by: C-birch
Credits: Rapid Gaming (for porting it to vb3)

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. I will also be seeing about porting over the teachbot soon.

Some New Features
acp controlled Rate Of Post
ability to post as bot and he will not reply
post count will not go up in forums where post counts are turned off
a few options to turn off and on a few things including the script itself.
Some other stuff i just cant remember

Fixed in 2.0.2:
Go advanced feature works for quick reply.
Bot will no longer reply when post is stopped becuase of an error. (aka floodlimit, to many images, ect)

Fixed in 2.0.1:
Fixed a few minor problems including using the wrong variable in the if statement for the random smilie check.
fixed the install.txt problem used a find code that was from one of my modifications sorry about that.

Upgrading From v2.0.1 Instructions:
These are in the v202 upgrade file

Upgrading From v2.0.0 Instructions:
To upgrade from v2.0 just make your changes to the new _talkerbot.php file and replace the old v2.0 one.


Upgrading From v1 Instructions:
Just use the install.txt and do the forum.php in the acp directory edits.
Add the new phrase and run the query.


Todo List:
Move all settings to acp settings page
fix the floodcheck problem of bot still replying when users post is not made.
Clean up the code more
Figure out more stuff todo.

-=~=-=~=-=~=-=~=-=~=-=~=-=~=-=~=-
-=If You Like This Hack Please Click Install=-
-=~=-=~=-=~=-=~=-=~=-=~=-=~=-=~=-

IMPORTANT INFORMATION

Support for this hack has returned. I will try to give support in this thread. Priority support will be given Here

Just a note I will be starting work on a new version possible as soon as tonight.

If you like this modification please donate to help support the developement process on it.

Show Your Support

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

Comments
  #332  
Old 04-14-2005, 11:25 AM
Ski-Whiz's Avatar
Ski-Whiz Ski-Whiz is offline
 
Join Date: May 2003
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by WhiteOx2
Do you have the bot activated via forum manager? you need to set his percentage of posting.


AHHH, didn't see that!! Thanks a LOT!! I set it to 100, from 0 and not it's working..

I looked for a setting someplace, but didn't think of going there..
Reply With Quote
  #333  
Old 04-14-2005, 01:08 PM
PixelFx PixelFx is offline
 
Join Date: Dec 2002
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does this work with 3.0.7?
Reply With Quote
  #334  
Old 04-15-2005, 12:12 AM
kylek kylek is offline
 
Join Date: Oct 2003
Location: British Columbia, Canada
Posts: 798
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have it installed on vb3.0.6 and the only problem I have is the new thread. Go to start a new thread, submit, this sql error pops up,

Database error in vBulletin 3.0.6:

Invalid SQL: SELECT threadid FROM post WHERE postid=4249
mysql error: Table 'vbulletin.post' doesn't exist

mysql error number: 1146

Date: Thursday 14th of April 2005 08:54:33 PM
Script: xxxxxxxxxxxxxxx/forum/newthread.php
Referer: xxxxxx
Username: xIP Address: xxxxxxxxxx

After hitting back button it shows the new thread post but no reponse from Bot. However any posts added after the initial one works fine and the bot responds to all.
I use a vb3_ prefix for my database so vbulletin.post should be vb3_ post which does exist.
Where do I look to change this, seems it is only in new thread.php
Anyone have any suggestions?
Reply With Quote
  #335  
Old 04-15-2005, 06:20 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kylek
I have it installed on vb3.0.6 and the only problem I have is the new thread. Go to start a new thread, submit, this sql error pops up,

Database error in vBulletin 3.0.6:

Invalid SQL: SELECT threadid FROM post WHERE postid=4249
mysql error: Table 'vbulletin.post' doesn't exist

mysql error number: 1146

Date: Thursday 14th of April 2005 08:54:33 PM
Script: xxxxxxxxxxxxxxx/forum/newthread.php
Referer: xxxxxx
Username: xIP Address: xxxxxxxxxx

After hitting back button it shows the new thread post but no reponse from Bot. However any posts added after the initial one works fine and the bot responds to all.
I use a vb3_ prefix for my database so vbulletin.post should be vb3_ post which does exist.
Where do I look to change this, seems it is only in new thread.php
Anyone have any suggestions?
In your _talkerbot.php file, find:
PHP Code:
        $tinfo $DB_site->query_first("SELECT threadid FROM post WHERE postid=$newpost[postid]");
        
$threadinfo[threadid] = $tinfo[threadid];
    }
    
$pinfo $DB_site->query_first("SELECT max(postid) as pid FROM post WHERE threadid={$threadinfo[threadid]}"); 
And replace by:
PHP Code:
        $tinfo $DB_site->query_first("SELECT threadid FROM " TABLE_PREFIX "post WHERE postid=$newpost[postid]");
        
$threadinfo[threadid] = $tinfo[threadid];
    }
    
$pinfo $DB_site->query_first("SELECT max(postid) as pid FROM " TABLE_PREFIX "post WHERE threadid={$threadinfo[threadid]}"); 
You will find this 2 times in that file, it has to be replaced 2 times.

PS I don't have this mod installed, so it is untested!
Reply With Quote
  #336  
Old 04-15-2005, 08:45 AM
kylek kylek is offline
 
Join Date: Oct 2003
Location: British Columbia, Canada
Posts: 798
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks MarcoH64,
Replaced both times in talkerbot.php and the same database error is still popping up (same one in last post) after starting a new thread, error shows - click refresh, proceeds to show first post in thread, then everything works after that just fine. Must be something in the newthread.php but with my lack of knowledge I do not know what to look for.
Reply With Quote
  #337  
Old 04-15-2005, 09:10 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Confused now because those 2 places are the only ones where this query is being used i think.

Can you please post the EXACT error you are getting now?
Reply With Quote
  #338  
Old 04-15-2005, 07:12 PM
kylek kylek is offline
 
Join Date: Oct 2003
Location: British Columbia, Canada
Posts: 798
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarcoH64
Confused now because those 2 places are the only ones where this query is being used i think.

Can you please post the EXACT error you are getting now?
Here it is, when I go and make a new thread and submit it this is the error;

There seems to have been a slight problem with the Okanagan Watch Forums database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

Database error in vBulletin 3.0.6:

Invalid SQL: SELECT threadid FROM post WHERE postid=4310
mysql error: Table 'vbulletin.post' doesn't exist

mysql error number: 1146

Date: Friday 15th of April 2005 04:09:35 PM
Script: http://www.okanaganwatch.ca/forum/newthread.php
Referer:
Username: xxxx
IP Address: xxxxxxxxxx
Reply With Quote
  #339  
Old 04-15-2005, 09:06 PM
kylek kylek is offline
 
Join Date: Oct 2003
Location: British Columbia, Canada
Posts: 798
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Above problem has been fixed with a big bouquet of thank yous to MarcoH64, the end result was operator error, I had ended up with two talkerbot.php files and had done the changes MarcoH64 posted in the wrong one. Since correcting the right one everything works fine now.
Reply With Quote
  #340  
Old 04-18-2005, 12:43 PM
GLiMerMan GLiMerMan is offline
 
Join Date: Apr 2005
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok now im going nuts, ive spent a good 3 hours total trying to install this thing. Ive followed instructions to the full details however when i get up to the step where you run the botloader.php i get the following error -

Loading startup.xml

Warning: opendir(http://reviewgamer.com/forums/alice/aiml/): failed to open dir: not implemented in /home/reviewga/public_html/forums/alice/src/admin/botloaderfuncs.php on line 531

Warning: readdir(): supplied argument is not a valid Directory resource in /home/reviewga/public_html/forums/alice/src/admin/botloaderfuncs.php on line 532

Warning: closedir(): supplied argument is not a valid Directory resource in /home/reviewga/public_html/forums/alice/src/admin/botloaderfuncs.php on line 540
DONE LOADING
Inserted 0 categories into database

WARNING! You should password protect the admin directory or remove the botloader.php script or people may be able to abuse your server.
Click here to talk to the bot




execution time: 0.041276
Templates per second=0
Templates per minute=0



any ideas guys, would love an answer to get this working!
Reply With Quote
  #341  
Old 04-25-2005, 10:17 PM
WhiteOx2 WhiteOx2 is offline
 
Join Date: Nov 2003
Location: Newcastle, Australia
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you have your rootdir in dbprefs.php set correctly?
PHP Code:
# This is where all the AIML and startup.xml resides
$rootdir="//home//reviewga//public_html//forums//alice//aiml/"
Reply With Quote
Reply

Thread Tools

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 07:30 PM.


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.08800 seconds
  • Memory Usage 2,310KB
  • 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
  • (3)bbcode_php
  • (3)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
  • (2)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