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 |
#12
|
|||
|
|||
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 |
#13
|
|||
|
|||
I left it as-is and it seemed to work fine.
|
#14
|
|||
|
|||
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. |
#15
|
|||
|
|||
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 |
#16
|
|||
|
|||
Quote:
|
#17
|
|||
|
|||
Quote:
|
#18
|
|||
|
|||
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.
|
#19
|
|||
|
|||
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?
|
#20
|
|||
|
|||
Quote:
|
#21
|
||||
|
||||
Nice hack I will be installing it soon I am sure
my question is: is he multilingual? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|