vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   TomBot v1.1 vB AI User Bot (https://vborg.vbsupport.ru/showthread.php?t=48053)

Radgam 02-05-2003 08:15 PM

I've posted information allowing the bot to remember discussions with individual users. http://www.vbulletin.org/hacks/index...ack&hackid=930

AnnaBot to be released soon, but i am also planning to write my own set of AI files! If anyone is interested, please send me a PM :)

Sebastian 02-05-2003 11:15 PM

execution time: 274.145411
Templates per second=295.015277841
Templates per minute=9000.91667046

ah the power of a pentium ;)

I installed this, is it possible to slow the bot down from posting as soon as you post? I make a post and as soon as i redirect back to the thread the bastard already posted! LOL, maybe a few min delay?

Erwin 02-06-2003 12:43 AM

There's a post in this thread telling you how to delay the AI's reply. It works.

Mijae 02-06-2003 01:17 AM

I hope ANNA bot is way smarter then ALICE :D

My bot is stupid, and my members would love to have a smarter one :)

Erwin 02-06-2003 01:27 AM

Unfortunately, ANNA bot is just as dumb. :) Which is why I won't be releasing her to the public...

jris 02-06-2003 01:36 AM

Ok so far the installation instructions have been fairly simple! But im struggling here at on spot...Where in dbprefs.php it asks me to show apath to aiml. does it was want me to show a path like www.mysite.com/forums/alice/aiml?

jris 02-06-2003 10:08 AM

sorry for the double post...but here is my problem...ok i ran the sql folder and its now on the database so i then went to run the botloader.php and here is my error of doom!

Quote:

Loading startup.xml

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

Mijae 02-06-2003 02:36 PM

Do you have the AIML files in /alice/aiml?

There should also be a startup.xml file in that folder.

Martin64 02-06-2003 03:07 PM

Anyone interested in a FAQ bot? The bot would only reply to questions you have taught it and would therefore not clutter your board with weird responses. :p. The bot would/could be used board wide, and could come very useful if you have people just signing up to request downloads and whatnot.

It wouldn't need to be a FAQ bot either, as you could teach it anything and it would only reply if it it recognized the input, and to some extent you could fool your members into it being a real person ;).

I have modified tomstalkerbot.php from the TomBot v1.1 release to do just this, so if there's interest and if I have permission from C.Birch, I'll release it.

If there's interest, I'll bundle it with vBTeachbot, which I've found to be ideal for adding questions and answers to the FAQ bot. I've installed a FAQ bot on my local test board, and it does what it's supposed to. :)

rrnolan 02-06-2003 03:15 PM

Would there be a way to put in your sites own FAQ's as well. I get so many lamer questions over and over about various PC games and such

Martin64 02-06-2003 03:20 PM

Quote:

Originally posted by rrnolan
Would there be a way to put in your sites own FAQ's as well. I get so many lamer questions over and over about various PC games and such
Yeah, that's the idea. :)
You'd enter your Frequently asked questions with vBTeachbot through your Mod CP or Admin CP:
https://vborg.vbsupport.ru/showthrea...threadid=48291

NuclioN 02-06-2003 03:26 PM

Good news Martin, looking forward to it ;)

Radgam 02-06-2003 03:51 PM

Quote:

Originally posted by Erwin
Unfortunately, ANNA bot is just as dumb. :) Which is why I won't be releasing her to the public...
And the same reason i've decided not to release AnnaBot as a hack now as well. It's not worth the effort at the end of the day ;)

I feel that some of the answers are more human like (ALICE just loves to tell everyone it's an AIBot) but overall, there isn't enough of an improvement for me to spend more time on it! You'd be better off writing your own AI (which if anyone is interested in, i'd be happy to work with a group of people to write).

Martin64, the FAQ bot sounds like a great idea! I'd be interested if you released it.

Mickie D 02-06-2003 05:14 PM

is there just no way to interact the bot with the username so they atleast know who they are talking to ???

this would be a 100% improvement let alone making super bots lol

but good work all you that love this hack, its gr8, i wait for the day for that dumb ass bot to start getting his revenge :)

Dribbles 02-06-2003 06:00 PM

Does this mod really use up a lot of server power/resources and bandwidth? thinking of installing it

Radgam 02-06-2003 06:09 PM

Quote:

Originally posted by Mickie D
is there just no way to interact the bot with the username so they atleast know who they are talking to ???

this would be a 100% improvement let alone making super bots lol

but good work all you that love this hack, its gr8, i wait for the day for that dumb ass bot to start getting his revenge :)

I've released a hack so the bot remembers information on each user after talking to them. It can be found here:
http://www.vbulletin.org/hacks/index...ack&hackid=930

It only gathers information after talking to someone but when you go back and talk to the vBAI Userbot is will remember previous discussions with each member (and their name and any other details the member gave)

oly51 02-07-2003 01:00 AM

Martin64: An FAQ Bot would be an ideal way to deal with the newbie questions. Add me to the list!!

Automated 02-07-2003 09:50 AM

Quote:

Originally posted by oly51
Martin64: An FAQ Bot would be an ideal way to deal with the newbie questions. Add me to the list!!
[high]* Automated wants to me on the list aswell :p[/high]

Dribbles 02-07-2003 01:55 PM

Quote:

Originally posted by jris
sorry for the double post...but here is my problem...ok i ran the sql folder and its now on the database so i then went to run the botloader.php and here is my error of doom!

Loading startup.xml

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


Help me please :(

Getting same exact error

amykhar 02-07-2003 02:04 PM

You have not set your path correctly in the dbprefs file. Your path should be set to /home/finalfan/public_html/forums/alice/aiml/

Amy

Dribbles 02-07-2003 03:24 PM

thnx dood :) works now.

amykhar 02-07-2003 03:52 PM

Quote:

Originally posted by Dribbles
thnx dood :) works now.
dood? :p

Mike Gaidin 02-07-2003 10:10 PM

How can I keep the bot from using posticons?

Jitway 02-07-2003 11:28 PM

Ok here is one. I installed it and it installed great. After the install where it says talk to tombot now well that worked perfectly. Now for the problem. It will not answer to post on the forum. I set the Member ID right and the Forum ID right. I even tried changing the Bot ID from 1 to 0 and then back to 1 but no go. Help?

amykhar 02-07-2003 11:38 PM

Did you upload the tomstalkerbot.php script to the forums directory? Did you turn it on?

Jitway 02-07-2003 11:42 PM

Yes to both

amykhar 02-07-2003 11:45 PM

How long is the post you are making? It will only respond to posts longer than 10 characters.

Dribbles 02-07-2003 11:57 PM

Quote:

Originally posted by Jitway1
Ok here is one. I installed it and it installed great. After the install where it says talk to tombot now well that worked perfectly. Now for the problem. It will not answer to post on the forum. I set the Member ID right and the Forum ID right. I even tried changing the Bot ID from 1 to 0 and then back to 1 but no go. Help?
Make sure the post is long enough ... I think it doesn't answer to one or two word posts?

Dribbles 02-07-2003 11:58 PM

Quote:

Originally posted by amykhar


dood? :p

:bandit:

Jitway 02-08-2003 12:15 AM

Quote:

Originally posted by amykhar
How long is the post you are making? It will only respond to posts longer than 10 characters.
The posts are plenty long enough.

Jitway 02-08-2003 12:56 AM

Does it matter that the username I created is registered with a password?

Kevorkian 02-08-2003 06:16 AM

DONE LOADING
Inserted 41126 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: 835.738329
Templates per second=49.209182555034
Templates per minute=2952.550953302

but post only smile!!!!!!!!! some one can help me please?

Erwin 02-08-2003 09:55 AM

Quote:

Originally posted by Jitway1
Does it matter that the username I created is registered with a password?
No.

Jitway 02-08-2003 02:13 PM

Thanks for the reply Erwin....Crap then I am out of ideas why it won't post then. :disappointed:

Mike Gaidin 02-08-2003 02:28 PM

Can anyone answer my question that I asked here?

https://vborg.vbsupport.ru/showthrea...642#post351642

mheinemann 02-08-2003 02:51 PM

Quote:

Originally posted by J-OST
How can I keep the bot from using posticons?
This should work.

Open tomstalkerbot.php find
PHP Code:

$ttb_message "[ QUOTE] " $rss " [/QUOTE]\r\n\r\n" $response $emoticon 

change to
PHP Code:

$ttb_message "[ QUOTE] " $rss " [/QUOTE]\r\n\r\n" $response

Please note the space in [ quote], just remove it.

Mike Gaidin 02-08-2003 06:11 PM

Ok, thanks. I'll try that. Will that take out smilies as well?

mheinemann 02-08-2003 06:50 PM

Oops, misread the question. That will take out the smilies. I don't know how to take out the post icon.

amykhar 02-08-2003 06:51 PM

The post icon is within the query to post the message. Simply match up the parameters in that query and set the icon parameter to 0.

SilverDawn 02-08-2003 07:12 PM

I am getting this error when I run botloader.php

Quote:

Warning: fopen("subs.inc", "w+") - Permission denied in /home/dfrsqu2/public_html/forums/alice/src/admin/botloaderfuncs.php on line 85

Warning: fwrite(): supplied argument is not a valid File-Handle resource in /home/dfrsqu2/public_html/forums/alice/src/admin/botloaderfuncs.php on line 77

Warning: fwrite(): supplied argument is not a valid File-Handle resource in /home/dfrsqu2/public_html/forums/alice/src/admin/botloaderfuncs.php on line 77

Warning: fwrite(): supplied argument is not a valid File-Handle resource in /home/dfrsqu2/public_html/forums/alice/src/admin/botloaderfuncs.php on line 77

Warning: fwrite(): supplied argument is not a valid File-Handle resource in /home/dfrsqu2/public_html/forums/alice/src/admin/botloaderfuncs.php on line 77

Warning: fwrite(): supplied argument is not a valid File-Handle resource in /home/dfrsqu2/public_html/forums/alice/src/admin/botloaderfuncs.php on line 77

Warning: fwrite(): supplied argument is not a valid File-Handle resource in /home/dfrsqu2/public_html/forums/alice/src/admin/botloaderfuncs.php on line 77

Warning: fwrite(): supplied argument is not a valid File-Handle resource in /home/dfrsqu2/public_html/forums/alice/src/admin/botloaderfuncs.php on line 77
DONE LOADING
Inserted 41126 categories into database
Can anyone help?

Here are lines 70 - 90 in botloaderfunctions.php
Quote:

return $newtesta;
}

function addtosubs($string){

global $fp;

fwrite($fp,$string);

}

function createsubfile(){

global $fp;

$fp = fopen ("subs.inc", "w+");

}

function findwordid($word,$parent){


All times are GMT. The time now is 01:09 PM.

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.01851 seconds
  • Memory Usage 1,830KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete