The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Talker Bot v2.0.2 Details »» | |||||||||||||||||||||||||
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
|
Comments |
#2
|
||||
|
||||
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 |
#3
|
||||
|
||||
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?): |
#4
|
|||
|
|||
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. |
#5
|
|||
|
|||
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
|
#6
|
|||
|
|||
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:
|
#7
|
||||
|
||||
Did you ask the original creator (and original vB3 port creator) if you could release this?
|
#8
|
|||
|
|||
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.
|
#9
|
|||
|
|||
Quote:
thanks |
#10
|
|||
|
|||
Ah, sorry, didn't see your post.
Line 168 should be where it is. |
#11
|
|||
|
|||
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 |
#12
|
|||
|
|||
I left it as-is and it seemed to work fine.
|
#13
|
|||
|
|||
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. |
#14
|
|||
|
|||
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 |
#15
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|