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
  #572  
Old 02-25-2003, 07:57 AM
Automated Automated is offline
 
Join Date: Sep 2002
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please have a Look at this

This is a request for the development of this AI bot https://vborg.vbsupport.ru/showthrea...&postid=358151

Thanks
Matthew
Reply With Quote
  #573  
Old 02-26-2003, 12:40 PM
Automated Automated is offline
 
Join Date: Sep 2002
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please
Reply With Quote
  #574  
Old 02-26-2003, 05:51 PM
cono's Avatar
cono cono is offline
 
Join Date: Jul 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its a good idea to try to improve this bot, but its bad to beg?

if people have intrest, they will help.
Reply With Quote
  #575  
Old 02-27-2003, 05:08 PM
Rapid Gaming's Avatar
Rapid Gaming Rapid Gaming is offline
 
Join Date: Jan 2003
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

HELP PLEASE!

I get this error:

Loading startup.xml

Warning: fopen(/alice/aiml/startup.xml) [function.fopen]: failed to create stream: No such file or directory in /home2/gamewiza/public_html/forums/alice/src/admin/botloaderfuncs.php on line 508
could not open XML input

Thanks!!
Reply With Quote
  #576  
Old 03-01-2003, 04:21 AM
Jethro
Guest
 
Posts: n/a
Default

Quote:
Originally posted by Tim Wheatley
Sorry for the delay. Yes it works. (2.2.9) with the file posted when I last replied in the thread.

http://forum.racesimcentral.com/foru...s=&forumid=310
You are one sick sad puppy asking if it was a poof :banana: :lol:

Going to try installing this to our test box now, and we're going to beat Tim at his own game .... a demented pyscho bot on the way (wonder how long it will take to work out the profanity filter isn't huge)!
Reply With Quote
  #577  
Old 03-01-2003, 06:07 AM
Jethro
Guest
 
Posts: n/a
Default

Ok anyone else tried installing this on a Win2k Pro system, all l'm getting back are smilies from the AI Bot

When l ran the botloader.php it told me 0 catagories created at the end of the load, wondering if something works slightly differently under windows.

Cheers

Okay just re-read the instructions and didn't run the sql statement (d'uh), where the heck do l run this on a win2k box
Reply With Quote
  #578  
Old 03-03-2003, 09:00 AM
Automated Automated is offline
 
Join Date: Sep 2002
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

has all interest in this hack died
Reply With Quote
  #579  
Old 03-03-2003, 01:35 PM
Talisman's Avatar
Talisman Talisman is offline
 
Join Date: Aug 2002
Location: USA/West Coast
Posts: 371
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No way, Matthew. I'm very interested..... just don't have the programming expertise to be any help with the sort of development we all need.

These hacks are awesome. We have two bots running in separate (private) test forums. For now, both bots are sharing the same data files..... but we'll make a new database for the second one after we're able to customize it/her/them well enough.

Ultimately, we want to have two conversational forum bots running (separately)....... along with a third FAQ-bot to personalize that function. So anything we can do to make it easier to train them is truly important.

Thanks to all who've been working on these hacks, so far!!

Talis.
Reply With Quote
  #580  
Old 03-03-2003, 11:31 PM
Jethro
Guest
 
Posts: n/a
Default

Quote:
Originally posted by Automated
has all interest in this hack died
Nope, and if l could get an answer to my question, would be happily posting away about it

Anyone ...

How do l run the sql file on a Win2k box ?
Reply With Quote
  #581  
Old 03-04-2003, 07:51 AM
insanctus's Avatar
insanctus insanctus is offline
 
Join Date: Feb 2003
Location: Michigan
Posts: 582
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by trilOByte


REQUEST
What I would really like, is a way to stop the bot responding on the forums, unless it was triggered by a keyword (eg: "Alice"). The I could run the bot as a propper chatbot/FAQbot via the popup, but also have it as an "on demand" bot for the forums.

I think that would be the slickest way if integrating this hack. [/B]
I am new to hacks and what not. But why not just add a if statement in the tomstalkerbot.php.

Something like.

if ($ttb==1 AND rand(1,100)<=$ttb_weighting AND $forumid==$ttb_forumid AND $bbuserinfo[userid]!=$ttb_memberid) {gottb();};

take out the $ttb_forumid and replace it some how with a search in the $message string.

If this was visual basics i could do it in a minute but not sure on how to in php.

Just an idea..... Hope makes some sence.
Reply With Quote
  #582  
Old 03-04-2003, 08:11 AM
insanctus's Avatar
insanctus insanctus is offline
 
Join Date: Feb 2003
Location: Michigan
Posts: 582
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I got mine to do it... that was to easy... I hope it helps.

In tomstalkerbot.php

Find
PHP Code:
if ($ttb==AND rand(1,100)<=$ttb_weighting AND $forumid==$ttb_forumid AND $bbuserinfo[userid]!=$ttb_memberid) {gottb();}; 
and replace it with

PHP Code:
if ($ttb==AND rand(1,100)<=$ttb_weighting AND  stristr($message,"$ttb_username") AND $bbuserinfo[userid]!=$ttb_memberid) {gottb();}; 
Now it searched for its name in a post and reacts on it. Name can be any place in that post.

Such as "hello bot name how are you"

it will answer

If you still want it to only one thread. Then replace the above with .

PHP Code:
if ($ttb==AND rand(1,100)<=$ttb_weighting AND  stristr($message,"$ttb_username") AND $forumid==$ttb_forumid AND $bbuserinfo[userid]!=$ttb_memberid) {gottb();}; 
Reply With Quote
  #583  
Old 03-04-2003, 08:49 AM
insanctus's Avatar
insanctus insanctus is offline
 
Join Date: Feb 2003
Location: Michigan
Posts: 582
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I am trying to work on it so it only looks at the beginning

PHP Code:
 // END CONFIG
$usernamelen strlen($ttb_username);
if (
$ttb==AND rand(1,100)<=$ttb_weighting AND  $ttb_username=substr($message0$usernamelen) AND $bbuserinfo[userid]!=$ttb_memberid) {gottb();};
$message=substr_replace($message""0$usernamelen); 
For some reason it is not working.

Like I said I am new to php but prior one works fine. Just this one does not seem to.

If you can figure it out please post it.
Reply With Quote
  #584  
Old 03-04-2003, 08:56 AM
Automated Automated is offline
 
Join Date: Sep 2002
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well thats a great addition, but it didnt work for me I am not sur if that is because i have the Multi forum version of tomstalkerbot.php but could you have a look at this please (here it is https://vborg.vbsupport.ru/showthrea...353#post345353 )

I would also release this as a stand alone hack it is amazing.

Matthew
Reply With Quote
  #585  
Old 03-04-2003, 02:24 PM
Jethro
Guest
 
Posts: n/a
Default

Okay trying to get this running live now, the infamous only posts smilies problem for us as well. Tracking through the problems encountered so far.

We get this when we try to run the botloader

Quote:
Loading startup.xml

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /home/virtual/site34/fst/var/www/html/forums/alice/src/admin/botloaderfuncs.php on line 563
Loading data aiml file: W1.aiml
Waiting on the loader to finish to see if anything is created
Reply With Quote
  #586  
Old 03-04-2003, 02:41 PM
Jethro
Guest
 
Posts: n/a
Default

Quote:
Originally posted by C.Birch
YAY got it working

after botloader has done you sould see this at the bottom of the page:

DONE LOADING
Inserted 41125 categories into database

WARNING! You should password protect the admin directory or remove the botloader.php script or people may be able to abuse your server.
Click here to talk to the bot

execution time: 424.973776
Templates per second=96.770676974666
Templates per minute=5806.24061848


If it says Inserted 0 categories into database its not added anything to the database
Aha knew that was our problem. Okay to sum up where we are at in both testing and live

1. Testing on win2k box, how the heck are we meant to run the sql file (has no one attempted this on win2k yet). Okay going to have a stab in the dark and try and run each command from the sql file manually.

2. Live database, Cannot set time in safe mode. Am presuming this is a setting we need to get our host to have a look at.

Well that's where we are at :dunno:
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 04:17 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.06697 seconds
  • Memory Usage 2,372KB
  • 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
  • (4)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
  • (11)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