Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
TomBot v1.1 vB AI User Bot Details »»
TomBot v1.1 vB AI User Bot
Version: 1.00, by C.Birch C.Birch is offline
Developer Last Online: Jan 2016 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 01-22-2003 Last Update: Never Installs: 119
 
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #272  
Old 01-26-2003, 07:39 PM
okrogius okrogius is offline
 
Join Date: Dec 2001
Location: USA
Posts: 264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed it all to directions, but it doesn't appear to be any sort of an Artificial [i]Intelligence[i/], more like artificial stupiditiy.

http://www.cgshock.com/ai/src/talk.html

Any ideas what I'm doing wrong?
Reply With Quote
  #273  
Old 01-26-2003, 07:42 PM
ManagerJosh's Avatar
ManagerJosh ManagerJosh is offline
 
Join Date: Feb 2002
Posts: 348
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay I figured a way around the timeouts. Group your files together, and move all the *.amil files to the alice directory. Move like 5-7 files into the aiml directory and run botloaderinc.php

After you are done loading that, there is a link to continue processing...

From there, you move those 5-7 files back into the alice directory and move the next 5-7 files into the aiml directory. Run continue.

This will pretty much prevent timeouts. Keep repeating until you are done.

Note: KEEP STARTUP.XML in AIML NO MATTER WHAT.
Reply With Quote
  #274  
Old 01-26-2003, 07:52 PM
ManagerJosh's Avatar
ManagerJosh ManagerJosh is offline
 
Join Date: Feb 2002
Posts: 348
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by NTLDR
In newthread.php place the code after:

PHP Code:
      // update forum stuff
      
if ($visible==1) {  
        
$DB_site->query("UPDATE forum SET replycount=replycount+1,threadcount=threadcount+1,lastpost='".time()."',lastposter='".add$
      } 
Then the bot will show as the last poster, and newreply.php after:

PHP Code:
        } else {
          
$DB_site->query("UPDATE thread SET lastpost='".time()."',replycount=replycount+1,lastposter='".addslashes($postusername).$
        }
      } 

I did as you advised NTLDR, however my bot isn't showing as the last user posted on my forumhome. However it is showing up as the last poster on my forum itself.

EDIT: Stand corrected...it is only newreply.php that it doesn't show. Newthread.php works.


EDIT 2: Okay figured out how to make it work. Instead of adding

PHP Code:
include "tomstalkerbot.php"
after

PHP Code:
        } else {
          
$DB_site->query("UPDATE thread SET lastpost='".time()."',replycount=replycount+1,lastposter='".addslashes($postusername).$
        }
      } 
in newreply.php, add

PHP Code:
include "tomstalkerbot.php"
after

PHP Code:
      // update forum stuff
      
if ($visible==1) {
        
$DB_site->query("UPDATE forum SET replycount=replycount+1,lastpost='".time()."',lastposter='".addslashes($postusername)."' WHERE forumid IN ($foruminfo[parentlist])");
      } 
in newreply.php

This will make it show up on the forumhome
Reply With Quote
  #275  
Old 01-26-2003, 08:31 PM
Radgam Radgam is offline
 
Join Date: Jan 2003
Location: Scotland! :)
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

now if someone could just update the install file...
Reply With Quote
  #276  
Old 01-26-2003, 08:45 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This bot is amazing...almost 800 posts in the bot forum I made in about one hour...
Reply With Quote
  #277  
Old 01-26-2003, 08:54 PM
CeleronXL's Avatar
CeleronXL CeleronXL is offline
 
Join Date: Nov 2001
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The bot is just smilie spamming everything...

IE: a post will just contain ":baaa:"
Reply With Quote
  #278  
Old 01-26-2003, 08:58 PM
okrogius okrogius is offline
 
Join Date: Dec 2001
Location: USA
Posts: 264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It will post only smilies if you didn't run the installer file, as directed by the readme file.
Reply With Quote
  #279  
Old 01-26-2003, 09:02 PM
Radgam Radgam is offline
 
Join Date: Jan 2003
Location: Scotland! :)
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Worked for me but i have 2 questions

How can i change the smiles is trys to use? I don't have the same ones installed, and what order are they meant to run in in the $emot array?

2) The bot doesn't reply to short sentences, anyway to make it?

Thanks, and this is awesome!
Reply With Quote
  #280  
Old 01-26-2003, 09:15 PM
Martin64's Avatar
Martin64 Martin64 is offline
 
Join Date: Nov 2001
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Radgam
Worked for me but i have 2 questions
2) The bot doesn't reply to short sentences, anyway to make it?

Thanks, and this is awesome!
Although I haven't tested this, I think you would have to edit this file in tomstalkerbot.php and reduce the 10 to a 5 to make it reply to 5 character sentences:

if (strlen($ttb_message2)>10)
Reply With Quote
  #281  
Old 01-26-2003, 09:24 PM
CeleronXL's Avatar
CeleronXL CeleronXL is offline
 
Join Date: Nov 2001
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Agh, that's all it's doing now.. Picking out of those smilies but not saying a single thing.

The most we got out of him was "Interesting :indif:"

EDIT: I did run it..... the botloader file right? Yeah...

You see, I used a method similar to ManagerJosh's.. I think every time you rerun the startup script, it deletes the old inserted data to redo it. Therefore, moving the *.aiml files and rerunning that script shouldn't work... :-/

Also, botloaderinc.php does NOT load the files individually, it loads them all, what's with this? Is there a modification I can make to make it really only load one?

Quote:
Originally posted by Radgam
Worked for me but i have 2 questions

How can i change the smiles is trys to use? I don't have the same ones installed, and what order are they meant to run in in the $emot array?

2) The bot doesn't reply to short sentences, anyway to make it?

Thanks, and this is awesome!
Edit tomstalkerbot.php and right near the top I'm sure you'll notice the smilies... If not, search for :xmas: and you'll see them.
Reply With Quote
  #282  
Old 01-26-2003, 10:07 PM
Platinumgamer's Avatar
Platinumgamer Platinumgamer is offline
 
Join Date: Jan 2002
Location: Phoenix, AZ
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

**Edit: Never mind this, it works perfectly

Hi,

I have installed this hack as was stated in the install file, yet when I try to run botloarder.php all I get is the following:

Loading startup.xml

Warning: fopen("/platinum/public_html/forums/aiml/startup.xml", "r") - No such file or directory in /home/platinum/public_html/forums/alice/src/admin/botloaderfuncs.php on line 508
could not open XML input

Can someone please tell me what I'm doing wrong? Everything is CHMODDed to '777' and all files are uploaded properly, but all I get is the aforementioned error. Sorry to be a bother.

Thanks!
Reply With Quote
  #283  
Old 01-26-2003, 10:15 PM
Steve Machol's Avatar
Steve Machol Steve Machol is offline
 
Join Date: Nov 2001
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Steve Machol
Great hack but I have one slight problem. The script always addes an empty image to every reply:

<img src="" alt="" border="0">

Any ideas how I get rid of this?
Here's a pic of the problem I'm having. Everyone of the bot's posts has this. Any ideas?
Reply With Quote
  #284  
Old 01-26-2003, 10:32 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Steve
Well that's suppose to be calling a smile, at least the works for most of us lol.

To address the problem that some get for fopen, this is most likely do to one of two things:

Either your host don't have the fopen option enabled in php.ini

or

Like me, im running htaccess and its blocking access to open the talk.php file.

Im still trying to get a work around im happy with, but its begining to irk me. I like this hack alot and would appreciate any help from a htaccess guru?

thanx
Reply With Quote
  #285  
Old 01-26-2003, 10:40 PM
Steve Machol's Avatar
Steve Machol Steve Machol is offline
 
Join Date: Nov 2001
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by snakes1100
Steve
Well that's suppose to be calling a smile, at least the works for most of us lol.
Thanks but actually I am getting the smilies just fine. This one is always an extra:

<img src="" alt="" border="0">

...at the beginning of the post.

See the new pic.
Reply With Quote
  #286  
Old 01-26-2003, 10:46 PM
Steve Machol's Avatar
Steve Machol Steve Machol is offline
 
Join Date: Nov 2001
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's something weird. If I edit the post there is no img code in it. If I twen save it without making any changes the <img src="" alt="" border="0"> disappears.
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 10:39 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05868 seconds
  • Memory Usage 2,369KB
  • Queries Executed 30 (?)
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
  • (6)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)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