The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
TomBot v1.1 vB AI User Bot Details »» | |||||||||||||||||||||||||
Hi after reading the forums i have seen many people after a hack like this so here it is.
This has been installed and testing on a busy live server and it worked fine thats why im posting it in here right away. I can not hack that much if theres a prob but i try my best to, i also add this is my first time so i have tryed my very best to make the install file easy to follow. all the files you need are in the zip file just unzip it to your pc keeping the lay out how it is in the zip file and then following the install text file. What does this hack do? Basicy it add's a chat bot to a forum on your board that will reply to users posts. if you wish the bot not to reply to a post inside of the forum its set up to reply in just add ### anywhere in your post and it will stop the bot from replying. You may give the bot its own profile on the board eg av and sign to make it fit in abit better. The bot will also learn things has it gets used more but if it gets to a point where it trys taking over the wrold please dont sue me. ======= Add On's ======= [vB v2.2.8] vBTeachbot 1.0: Click Here By Martin64 ===== Update ===== Added more aiml files for clean install's so the bot knows more information from the start. Bot also recall's your name now Updated the Zip File Below http://www.ultimatepop-network.com/TomBot v1.2.zip Show Your Support
|
Comments |
#92
|
||||
|
||||
Yep, a huge botloader alright. Can you please add the right file in post 1? Tnx.
|
#93
|
|||
|
|||
its added everything it needs to the database but its still taking crap.
|
#94
|
|||
|
|||
just smilies
|
#95
|
||||
|
||||
As mentioned before, how did you get it to work on that forum in the first post? Just smileys is fun for one or two times but Alice has warning points already
|
#96
|
|||
|
|||
ok prob is botloader.php when its installed the database made the bot id 2 the hack it self is calling for bot id 0
|
#97
|
||||
|
||||
The smiley array comes from the tomstalker.php and that part is working good. To good. Under that array are the other ones, tbb etc. Maybe there is a part that can not connect to de db?
|
#98
|
|||
|
|||
Quote:
|
#99
|
|||
|
|||
this is my tomstalkerbot.php file can anyone see where it says where to call the bot and its id number?
<?php // this is a percentage, determining how often the bot makes a reply. 100 means it will reply every time // 50 means it will reply half the time $ttb_weighting = 100; $ttb = 1; // change to 0 to turn off; $ttb_memberid = 2171; $ttb_username = "TomBot"; $ttb_forumid = 144; $ttb_alicelocation = "http://www.ultimate-forums.co.uk/forums/alice/src/talk.php"; // END CONFIG if ($ttb==1 AND rand(1,100)<=$ttb_weighting AND $forumid==$ttb_forumid AND $bbuserinfo[userid]!=$ttb_memberid) {gottb();}; function gottb() { global $message, $DB_site,$ttb_memberid, $ttb_username, $threadid, $visible, $foruminfo, $ttb_alicelocation; $emot = array("","",":xmas:","",":baaa:","",": rolleyes:",":mad2:"); $emoticon = " " . $emot[rand(0,7)]; $ttb_message = $message; $ttb_message2 = $ttb_message; // can't be bothered to code correctly, no preg for you people $ttbc = $message; $ttbc = str_replace("[/quote]","",$ttbc); $tthc = $message; $tthc = str_replace("###","",$tthc); if ($tthc != $ttb_message) {return true;}; if ($ttbc != $ttb_message) { // get rid of quotes which will confuse the bot $ttb_message2 = preg_replace("#(\[quote\].*\[/quote\])#ies","",$ttb_message); $ttb_message2 = preg_replace("#(\[quote.*\].*\[/quote\])#ies","",$ttb_message2); $ttb_message2 = preg_replace("#(\[.+\])#ies","",$ttb_message2); } if (strlen($ttb_message2)>10) { $rss = preg_replace("#^(.*)\[/quote\]#ies","",$message); $ff = fopen($ttb_alicelocation . "?input=" . urlencode($rss),"r"); $response = fread($ff,10000); fclose($ff); $ttb_time = time() + rand(1,5); $ttb_message = " Quote:
$DB_site->query("INSERT INTO post (postid,threadid,title,username,userid,dateline,at tachmentid,pagetext,allowsmilie,showsignature,ipad dress,iconid,visible) VALUES (NULL,'$threadid','".addslashes(htmlspecialchars(" "))."','".addslashes($ttb_username)."','$ttb_membe rid','".$ttb_time."','1','".addslashes($ttb_messag e)."','1','1','666.666.666.666','10','1')"); $postid=$DB_site->insert_id(); indexpost($postid,1); if ($visible) { if ($threadinfo[replycount]%10==0) { $replies=$DB_site->query_first("SELECT COUNT(*)-1 AS replies FROM post WHERE threadid='$threadid'"); $DB_site->query("UPDATE thread SET lastpost='".time()."',replycount='$replies[replies]',lastposter='".addslashes($ttb_username)."' WHERE threadid='$threadid'"); } else { $DB_site->query("UPDATE thread SET lastpost='".time()."',replycount=replycount+1,last poster='".addslashes($ttb_username)."' WHERE threadid='$threadid'"); } } $DB_site->query("UPDATE forum SET replycount=replycount+1,lastpost='".time()."',last poster='".addslashes($ttb_username)."' WHERE forumid IN ($foruminfo[parentlist])"); $DB_site->query("UPDATE user SET ".iif ($foruminfo[countposts],"posts=posts+1,","")." $dotitle"."lastpost='".time()."' WHERE userid='$ttb_memberid'"); } } ?> |
#100
|
|||
|
|||
im guessing its indexpost($postid,1);
|
#101
|
|||
|
|||
I think ive found the problem . I must run botloader.php again however, ill report back in 30 minutes
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|