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
  #2  
Old 01-17-2004, 07:02 AM
SnowBot's Avatar
SnowBot SnowBot is offline
 
Join Date: Jul 2003
Location: Manchester UK
Posts: 631
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

woohoo great mate, i know this will be a hit

1 question

If we have already v1 installed by
Rapid Gaming

where do we start on your version or do we have to reinstall? May be add that to the install txt
Reply With Quote
  #3  
Old 01-17-2004, 07:13 AM
rob_daemon's Avatar
rob_daemon rob_daemon is offline
 
Join Date: Sep 2003
Posts: 197
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having a few slight problems... first off, can you please share what is supposed to be in the `bots` table? I read about the ID having to be 0, yet I don't have any rows in that table....

Next, I get this error (related?):
Reply With Quote
  #4  
Old 01-17-2004, 07:39 AM
leozh leozh is offline
 
Join Date: Mar 2002
Location: NJ, USA
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your directions about the forum.php file are a little off, as the line with the vbphrase is a bit different now.

But otherwise, it seems to be working fine.
Reply With Quote
  #5  
Old 01-17-2004, 10:37 AM
SB2002 SB2002 is offline
 
Join Date: Dec 2002
Location: United States
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah i was just about to post something like that, where is that line now, as i cannot find it for the life of me
Reply With Quote
  #6  
Old 01-17-2004, 10:43 AM
Moonlight Moonlight is offline
 
Join Date: Oct 2001
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is an error regarding the Show Random Smilie option in the code. It is currently using the $botquotepost variable.

Line 88 should be replaced by:
PHP Code:
if ($botuserandsmile== "1") { 
Since you removed the $topicids settings, line 55 can be deleted.
Reply With Quote
  #7  
Old 01-17-2004, 10:45 AM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you ask the original creator (and original vB3 port creator) if you could release this?
Reply With Quote
  #8  
Old 01-17-2004, 11:23 AM
leozh leozh is offline
 
Join Date: Mar 2002
Location: NJ, USA
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 01-17-2004, 11:27 AM
SB2002 SB2002 is offline
 
Join Date: Dec 2002
Location: United States
Posts: 73
Благодарил(а): 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.
you meantioned about the vbphrase line in forum.php being different now, i don't suppose you could give me the line number for the line then could you, because i cannot bloody well find it at all.

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

Ah, sorry, didn't see your post.

Line 168 should be where it is.
Reply With Quote
  #11  
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
  #12  
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
  #13  
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
  #14  
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
  #15  
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
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 03:50 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.05403 seconds
  • Memory Usage 2,349KB
  • Queries Executed 28 (?)
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
  • (1)bbcode_php
  • (2)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
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (15)post_thanks_box
  • (15)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (15)post_thanks_postbit_info
  • (14)postbit
  • (15)postbit_onlinestatus
  • (15)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