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

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
  #12  
Old 01-17-2004, 11:33 AM
SB2002 SB2002 is offline
 
Join Date: Dec 2002
Location: United States
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol, no probs, do i need to change the print_input_row to print_yes_no_row as well, or leave it as is?

EDIT> Nevermind, i just checked it and i see that i don't.

Had a stupid moment there
Reply With Quote
  #13  
Old 01-17-2004, 11:43 AM
leozh leozh is offline
 
Join Date: Mar 2002
Location: NJ, USA
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I left it as-is and it seemed to work fine.
Reply With Quote
  #14  
Old 01-17-2004, 11:45 AM
eXtremeTim eXtremeTim is offline
 
Join Date: Jun 2002
Location: eXtremewebtech.com
Posts: 1,201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for pointing all that out. I will work on fixing all that right away.

rob about your error make sure that you set the correct path to the aiml files and chmoded them all to 777.

assassingod yes i do have permission from both the creator and rapid gaming.
Reply With Quote
  #15  
Old 01-17-2004, 11:45 AM
SB2002 SB2002 is offline
 
Join Date: Dec 2002
Location: United States
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've just updated everything and now whenever someone posts a thread or reply to the bot, they are getting this at the top of the page when it redirects them back to the thread after posting, any clues?

irst("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]}"); $parentid = $pinfo[pid]; $btitle = strlen($newpost['title'])>1 ? addslashes("RE: " . $newpost['title']) : ""; // from functions_newpost.php // ### POST NEW POST ### $DB_site->query(" INSERT INTO " . TABLE_PREFIX . "post (threadid, parentid, title, username, userid, dateline, pagetext, allowsmilie, showsignature, ipaddress, iconid, visible, attach) VALUES ($threadinfo[threadid], $parentid, '" . $btitle . "', '" . addslashes($botname) . "', $botuserid, " . BOTTIME . ", '" . addslashes($botoutput) . "', 1, 1, '" . addslashes("127.0.0.1") . "', $newpost[iconid], 1, 0) "); $botpostid = $DB_site->insert_id(); $DB_site->query(" UPDATE " . TABLE_PREFIX . "forum SET replycount = replycount + 1, lastpost = " . BOTTIME . ", lastposter = '" . addslashes($botname) . "', lastthread = '" . addslashes($threadinfo['title']) . "', lastthreadid = $threadinfo[threadid] WHERE forumid = $foruminfo[forumid] "); $DB_site->query(" UPDATE " . TABLE_PREFIX . "user SET $postsquery lastpost = " . BOTTIME . " WHERE userid = $botuserid "); $DB_site->query("UPDATE " . TABLE_PREFIX . "thread SET replycount=replycount+1, lastpost = " . BOTTIME . ", lastposter = '" . addslashes($botname) . "' WHERE threadid = $threadinfo[threadid] LIMIT 1"); }//end randomcheck } else { //This is the start of the adding when not using the chance of post or if its a threadid in the id list // #### INSERT NEW POST INTO DATABASE ##################################### define("BOTTIME", time()+1); if (!isset($threadinfo["threadid"])) { $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]}"); $parentid = $pinfo[pid]; $btitle = strlen($newpost['title'])>1 ? addslashes("RE: " . $newpost['title']) : ""; // from functions_newpost.php // ### POST NEW POST ### $DB_site->query(" INSERT INTO " . TABLE_PREFIX . "post (threadid, parentid, title, username, userid, dateline, pagetext, allowsmilie, showsignature, ipaddress, iconid, visible, attach) VALUES ($threadinfo[threadid], $parentid, '" . $btitle . "', '" . addslashes($botname) . "', $botuserid, " . BOTTIME . ", '" . addslashes($botoutput) . "', 1, 1, '" . addslashes("127.0.0.1") . "', $newpost[iconid], 1, 0) "); $botpostid = $DB_site->insert_id(); $DB_site->query(" UPDATE " . TABLE_PREFIX . "forum SET replycount = replycount + 1, lastpost = " . BOTTIME . ", lastposter = '" . addslashes($botname) . "', lastthread = '" . addslashes($threadinfo['title']) . "', lastthreadid = $threadinfo[threadid] WHERE forumid = $foruminfo[forumid] "); $DB_site->query(" UPDATE " . TABLE_PREFIX . "user SET $postsquery lastpost = " . BOTTIME . " WHERE userid = $botuserid "); $DB_site->query("UPDATE " . TABLE_PREFIX . "thread SET replycount=replycount+1, lastpost = " . BOTTIME . ", lastposter = '" . addslashes($botname) . "' WHERE threadid = $threadinfo[threadid] LIMIT 1"); } } } ?>

EDIT: may not be a complete grab, as i had to get it during the redirect
Reply With Quote
  #16  
Old 01-17-2004, 11:49 AM
C.Birch C.Birch is offline
 
Join Date: Apr 2002
Posts: 459
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by assassingod
Did you ask the original creator (and original vB3 port creator) if you could release this?
yes he has because both vb2 and vb3 port where by me and scott posted the vb3 port becuase im unable to support it due to time, so i give him the vb3 port code to post.
Reply With Quote
  #17  
Old 01-17-2004, 11:53 AM
eXtremeTim eXtremeTim is offline
 
Join Date: Jun 2002
Location: eXtremewebtech.com
Posts: 1,201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by leozh
Oh, and also, there is still a bug with the bot replying multiple times to replies which didn't go through due to the time between posts limit.
I know im working on finding a good way to fix that.
Reply With Quote
  #18  
Old 01-17-2004, 11:53 AM
SB2002 SB2002 is offline
 
Join Date: Dec 2002
Location: United States
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, i just uploaded the old _takerbot.php file from v1 and it stopped the error, so there is something not right in the _talkerbot.php file.
Reply With Quote
  #19  
Old 01-17-2004, 11:55 AM
eXtremeTim eXtremeTim is offline
 
Join Date: Jun 2002
Location: eXtremewebtech.com
Posts: 1,201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you try uploading the v2 one again. also can you tell me all the settings your using for it so i can see if there is a problem with the code somewhere?
Reply With Quote
  #20  
Old 01-17-2004, 11:57 AM
SB2002 SB2002 is offline
 
Join Date: Dec 2002
Location: United States
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by eXtremeTim
can you try uploading the v2 one again. also can you tell me all the settings your using for it so i can see if there is a problem with the code somewhere?
i modifed it only to add all the relevent information, but i'll upload a freash one and try again
Reply With Quote
  #21  
Old 01-17-2004, 11:57 AM
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack I will be installing it soon I am sure

my question is:

is he multilingual?
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 07:54 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.05589 seconds
  • Memory Usage 2,315KB
  • 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_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
  • (3)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