View Full Version : TomBot v1.1 vB AI User Bot
Dribbles
07 Feb 2003, 17:24
thnx dood :) works now.
amykhar
07 Feb 2003, 17:52
Originally posted by Dribbles
thnx dood :) works now.
dood? :p
Mike Gaidin
08 Feb 2003, 00:10
How can I keep the bot from using posticons?
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
08 Feb 2003, 01:38
Did you upload the tomstalkerbot.php script to the forums directory? Did you turn it on?
amykhar
08 Feb 2003, 01:45
How long is the post you are making? It will only respond to posts longer than 10 characters.
Dribbles
08 Feb 2003, 01:57
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
08 Feb 2003, 01:58
Originally posted by amykhar
dood? :p
:bandit:
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.
Does it matter that the username I created is registered with a password?
Kevorkian
08 Feb 2003, 08:16
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?
Originally posted by Jitway1
Does it matter that the username I created is registered with a password?
No.
Thanks for the reply Erwin....Crap then I am out of ideas why it won't post then. :disappointed:
Mike Gaidin
08 Feb 2003, 16:28
Can anyone answer my question that I asked here?
http://www.vbulletin.org/forum/showthread.php?postid=351642#post351642
mheinemann
08 Feb 2003, 16:51
Originally posted by J-OST
How can I keep the bot from using posticons?
This should work.
Open tomstalkerbot.php find
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
change to
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Please note the space in [ quote], just remove it.
Mike Gaidin
08 Feb 2003, 20:11
Ok, thanks. I'll try that. Will that take out smilies as well?
mheinemann
08 Feb 2003, 20:50
Oops, misread the question. That will take out the smilies. I don't know how to take out the post icon.
amykhar
08 Feb 2003, 20:51
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
08 Feb 2003, 21:12
I am getting this error when I run botloader.php
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
return $newtesta;
}
function addtosubs($string){
global $fp;
fwrite($fp,$string);
}
function createsubfile(){
global $fp;
$fp = fopen ("subs.inc", "w+");
}
function findwordid($word,$parent){
SilverDawn
08 Feb 2003, 21:18
This error when I run the talk.php
Warning: Failed opening 'admin/subs.inc' for inclusion (include_path='') in /home/dfrsqu2/public_html/forums/alice/src/util.php on line 35
Warning: Empty regular expression in /home/dfrsqu2/public_html/forums/alice/src/util.php on line 365
Warning: Empty regular expression in /home/dfrsqu2/public_html/forums/alice/src/util.php on line 415
Warning: Empty regular expression in /home/dfrsqu2/public_html/forums/alice/src/util.php on line 365
What is your real name?
Here is util.php 350-420
}
}
}
return "";
}
# Take the user input and do all substitutions and split it into sentences
function normalsentences($input){
global $contractsearch,$contractreplace,$abbrevsearch,$abbrevreplace,$removepunct,$like periodsearch,$likeperiodreplace,$aftersearch,$afterreplace,$replacecounter;
#$cfull=strtoupper($input);
$cfull=$input;
$cfull=preg_replace($contractsearch,$contractreplace,$cfull);
$cfull=str_replace($aftersearch,$afterreplace,$cfull);
$replacecounter=1;
$aftersearch=array();
$afterreplace=array();
#$cfull=str_replace($removepunct,"",$cfull);
$cfull=str_replace($likeperiodsearch,$likeperiodreplace,$cfull);
$newsentences=array();
# Now split based on .'s
$cfulls=split("\.",$cfull);
for ($x=0;$x<sizeof($cfulls);$x++){
if (trim($cfulls[$x])==""){
}
else {
$newsentences[]=$cfulls[$x];
}
}
return $newsentences;
}
# Reverse the gender of a phrase
function gender($input){
global $gendersearch,$genderreplace,$aftersearch,$afterreplace,$replacecounter;
$newinput=preg_replace($gendersearch,$genderreplace,$input);
$newinput=str_replace($aftersearch,$afterreplace,$newinput);
$replacecounter=1;
$aftersearch=array();
$afterreplace=array();
return $newinput;
}
# Do a first to third person replacement
function firstthird($input){
global $firstthirdsearch,$firstthirdreplace,$aftersearch,$afterreplace,$contractsearch, $contractreplace,$replacecounter;
$newinput=preg_replace($firstthirdsearch,$firstthirdreplace,$input);
$newinput=str_replace($aftersearch,$afterreplace,$newinput);
$replacecounter=1;
$aftersearch=array();
Thank you very much
Mike Gaidin
08 Feb 2003, 21:34
Originally posted by amykhar
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.
Thanks. Where exactly do I find the right query?
Why does this bot keep calling me seeker??? It's driving me crazy!!!
After reinstalling and downloading the latest versions I still have that ugly 'subs.inc' errors all over the place..
Please help as many have similar problems.
Martin64
09 Feb 2003, 00:09
Originally posted by J-OST
Thanks. Where exactly do I find the right query?
View this post, I've explained how to get rid of it:
http://www.vbulletin.org/forum/showthread.php?postid=346738#post346738
Mike Gaidin
09 Feb 2003, 00:42
Originally posted by Martin64
View this post, I've explained how to get rid of it:
http://www.vbulletin.org/forum/showthread.php?postid=346738#post346738
Thanks! I didn't see this before. :D
Also, can I download the aiml files to my computer from my server, modify them, and re-upload it? Or is it more complicated than that?
Martin64
09 Feb 2003, 15:38
Originally posted by J-OST
Thanks! I didn't see this before. :D
Also, can I download the aiml files to my computer from my server, modify them, and re-upload it? Or is it more complicated than that?
Yes you can. I would suggest making a new aiml file, naming it custom.aiml, and upload it. Run botloader.php and your custom aiml will be included.
Mike Gaidin
09 Feb 2003, 15:59
Awesome! I'll do that. Does it reload all aiml files, or just new ones?
Thanks Martin64! :D
Martin64
09 Feb 2003, 16:49
Yes, if you run botloader.php it will reload all the aiml files again, and it will also empty your old patten and templates tables.
If you just want to add that extra aiml file, read the guide I wrote about 10 pages ago:
http://www.vbulletin.org/forum/showthread.php?postid=347475#post347475
bandersen
09 Feb 2003, 18:17
I am still having a problem with the fopen....
My server said that for security reasons they have disabled "remote" fopen()
functions on their servers. Until these security issues are resolved they
are not enabling remote fopens() function. However, fopen() will work for
all local files i.e. if you are including or opening something locally,
it will work.
Can someone please tell me how the $ttb_alicelocation should be coded to read as a local fopen in tomstalkerbot (line 46). I have tried the following:
$ttb_alicelocation = "/forums/upload/alice/src/talk.php";
and I have also tried the more involved link that shows in my FTP..
OR,
since I do get the talk.html up in the browser and the talk.php with the reply... is there some way to "just" include this in the header without messing with fopen?
Martin64
09 Feb 2003, 18:37
Originally posted by bandersen
I am still having a problem with the fopen....
My server said that for security reasons they have disabled "remote" fopen()
functions on their servers. Until these security issues are resolved they
are not enabling remote fopens() function. However, fopen() will work for
all local files i.e. if you are including or opening something locally,
it will work.
Can someone please tell me how the $ttb_alicelocation should be coded to read as a local fopen in tomstalkerbot (line 46). I have tried the following:
$ttb_alicelocation = "/forums/upload/alice/src/talk.php";
and I have also tried the more involved link that shows in my FTP..
OR,
since I do get the talk.html up in the browser and the talk.php with the reply... is there some way to "just" include this in the header without messing with fopen?
I suspect you'd need the exact path for your vhost account. Ask your host about this, as it depends on where their vhosts are located.
bandersen
09 Feb 2003, 22:55
Originally posted by Martin64
I suspect you'd need the exact path for your vhost account. Ask your host about this, as it depends on where their vhosts are located.
Yeah, I have waited a week soon for that reply :bored:
Since my talk.html and talk.php is working in the browser.. could someone please code it so that the bot can be showed in the header template? I have attached a picture of how I see this... thank you anyone...
Ok I finally figured out my problem. I had the wrong forum id no idea how I missed that one......goes and shoots self. But great hack clicks install. :laugh:
Dominick
10 Feb 2003, 14:06
The evolution of "Hal 9000"
I was having a hell of a time trying to get tom bot and the plugin to teach it working properly. so I had asked a friend with a bit more programming experience to look at it
this was the resultant thread
http://www.tech-lounge.com/forum/showthread.php?s=&threadid=668&perpage=15&pagenumber=1
notice the progression
around page 6 or so "Hal 9000" finally starts talking. It was like a minor miracle.
My buddy, name is kitzke is now bot master. :)
on a side note, I had a thought
2 bots running in one forum
pinky
the brain
if I can only get the ai to respond properly
Automated
11 Feb 2003, 18:18
Is there a way for me to get the same bot using the same DB to talk in more than one forum? EG where you enter the forumID you want the bot is is there a way for me to specify like 4 forum ID's ?
Thanks
Matthew
amykhar
11 Feb 2003, 18:50
Originally posted by Automated
Is there a way for me to get the same bot using the same DB to talk in more than one forum? EG where you enter the forumID you want the bot is is there a way for me to specify like 4 forum ID's ?
Thanks
Matthew
In tomstalkerbot.php find this code:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Change to:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Change X and Y to the ids of the forums you want to use in addition to the one you already set. Add more OR clauses as needed (or subtract as needed) in order to include all the forums you want.
I have not tested this, but it should work. If you don't understand the code I pasted, don't try to do it.
Amy
Originally posted by Automated
Is there a way for me to get the same bot using the same DB to talk in more than one forum? EG where you enter the forumID you want the bot is is there a way for me to specify like 4 forum ID's ?
Thanks
Matthew Look here http://www.vbulletin.org/forum/showthread.php?postid=345353#post345353
Automated
12 Feb 2003, 14:49
Thanks a lot man, i will test it now!
Talisman
12 Feb 2003, 15:10
Will install this tonight (have fingers crossed that all will go well).
Would be nice if we could somehow introduce a second bot later. I've read we would have to use a second database to do this. Does anyone know if this can be done any other way? Can 2 bots be integrated together?
Thanks for the hack.
Automated
12 Feb 2003, 23:51
My Bot comes up as a guest and has no posts :confused: could someone please help me sort this out? I am sure it would help a lot of others aswell!
ChatBot
Guest
Registered: Not Yet
Location:
Posts: N/A
Status:
Thanks a lot :p
Matthew
codewebs
15 Feb 2003, 18:43
I got it working :)
I'm working on a new set of AIML files (well, basically just trying another set i've found which was adapted from alice, but it isn't anna) and it uses some javascript etc, but i don't want HTML enabled globally, only on the posts the bot does. Any idea? :)
NuclioN
16 Feb 2003, 14:45
Maybe you can make the bot an admin or moderator and give it permission to place html. That mod is somewhere around here but i'll attach that short effective hack. ;)
In the mean time i'm buzzy to translate all the alice aiml files into Dutch. A tremendous job but i use a prog that does a 'search and replace' and that makes a huge difference.
threadcrapper
17 Feb 2003, 03:33
---mashes install button
quote:
--------------------------------------------------------------------------------
you're freaking me out now, seriously knock it off
--------------------------------------------------------------------------------
I didn't mean to scare you, .
ROFL!!!
Hmmm..mine is acting werid now, it replys with all smilies most of the time then gose back to talking, the database is fine so im at a lost to why its doing it, any ideas?
http://www.kousetsu.net/forums/showthread.php?s=&threadid=1533
wolfman
17 Feb 2003, 16:19
Man this is great. I have this installed on my forum and in less than 24 hours he already have 100 posts :) though my top poster will be surpased soon at this rate.
This is a great hack and its good that the bot does seem to have a bit of an attitude as well :) makes the bot more fun.
wolfman
17 Feb 2003, 16:22
It just keeps getting better
quote:
--------------------------------------------------------------------------------
Calculate Pi to the last decimal. hehehehehe
--------------------------------------------------------------------------------
Try to determine if this is a person or a computer responding.
Perhaps I'm just expressing my own concern about it.
You'll notice that the older the bot is, the dumber he gets, instead of smarter. :) I suspect it gets confused as its database gets filled.
Webdork
18 Feb 2003, 00:41
Anyone worked out how to make it smarter? eg are there newer versions about ?
trilOByte
18 Feb 2003, 05:29
Installed perfectly first attempt - excellent hack, thanks. ;)
It does seem to learn dynamically.
Me: what is your name?
Bot: My name is Scully.
Me: How can I teach you new things?
Bot: If you want to teach me something say it in one sentence. Then say "Remember that."
Me: My name is Martyn. "Remember that"
Bot: It's good to meet you, Martyn. Don't worry I will remember it.
Me: What is my name?
Bot: Your name is Martyn, seeker. :baaa:
...then later in a different thread, she remembered my name and included it in a sentance without prompting.
Bot: Yes I sure am alive, Martyn. It's great to be alive, isn't it?
I think the bot certainly does learn, though the plethora of casually inflected English confuses the AI to bits. Basically, the bot just cant make any rules out of the way we usually gibber at each other in forums, it's way too complex. I think you have to start simple, with plain English and work your way up to it. Scripted answer/response bots have been around for ages, but are dull and uninteresting. What makes ALICE so different, is that it actually learns. It constructs it's own sysntax rules based on the input it gets. Sure, giving it a database full of pre-scripted responses, gets you halfway there, but the quality AI comes from it structuring rules, rather than following scripts.
At least that's the way I understand it.
I would *love* to get my hands on the ALICE aiml files used for the current (silver) version on the alice website. Ironically, to make it more natural straight off the bat, you'd have to feed it a huge database of questions and answers as well as a bunch of rules for using them. You'd basically have to remove the Intelligence from it, in order to make it *look* smarter.
Where it's going to fall over time and again, it with lengthy posts that contain several salient comments. It will never be able to pick out rational points and answer them in such a way as to produce a logical discussion. It can fool you briefly, based on simple Q & A, but complex rationale is decades away.
Once the novelty has worn off, I think by far the most useful thing for this hack is as an interesting interactive FAQ.
What I would like to see, is it be silent unless triggered by a keyword or command like "bot, what is....". You could work out some method of an occasional random reply, just for interest sake, or a welcome message for new members etc. But giving it totally free reign, will probably just produce a flurry of novelty activity, resulting in a garbled AI.
This hack has huge promise and could be one of the greatest ever.
C.Birch
18 Feb 2003, 19:25
you can stop it replying by adding ### to your post.
trilOByte
18 Feb 2003, 19:31
Yeah, I know. That isn't quite what I meant, I dont just want it to shut up, but I want it to be quiet for everyone, all the time, unless triggered by someone asking a direct question from it and then active for a defined period of time. Kind of like sleep & wakeup commands.
hey guys,
looks like a great script, but i'm getting this when i run bootloader.
followed the directions and everything, ran the sql file and it made the new tables in mysql.
Loading startup.xml
Warning: fopen(../board/alice/aiml/startup.xml) [function.fopen]: failed to create stream: No such file or directory in /home/slicedwa/public_html/board/alice/src/admin/botloaderfuncs.php on line 508
could not open XML input
thanks
edit: repost.. stupid mouse
sorry
wolfman
19 Feb 2003, 00:08
Originally posted by trilOByte
Yeah, I know. That isn't quite what I meant, I dont just want it to shut up, but I want it to be quiet for everyone, all the time, unless triggered by someone asking a direct question from it and then active for a defined period of time. Kind of like sleep & wakeup commands.
I do agree, right now the poor bot on my forum is being used alot, though I know eventually the novelty wuill wear off and being able to do something along those lines will make this great bot one of the best and most enjoyable I have ever added to my forum.
trilOByte
19 Feb 2003, 01:26
Exactly Wolfman, this is a great hack with a ton of potential, but as it stands at the moment, it's only value is transient entertainment. It *will* get boring and I would think most people will end up turning it off. That would be a huge shame and a waste of an amazing piece of code. We need to make it useful, to give it a purpose. Imagine if the bot would only respond to you if you addressed it directly by name.
e.g.
Me: Bot, what is the capital of Russia?
Bot: IIRC Martyn, it's Moscow.
Me: Thanks, Bot.
Bot: You're welcome.
Triggered by it's name, it responds, but the rest of the time, it's totally silent (well, maybe you could program in for a few random replies throughout the day, just for interest). If we could do this and had a good database of Q&A stuff, you could let the bot have acess to every forum. You would never hear from it, but it would monitor the forums 24/7 and as soon as it was triggered, it would respond.
As it stands at the moment, ALICE is designed as a 1 on 1 chat bot, so it responds to everything, all of the time. It will always have 50% of the postcount in any forum open to it. Entertaining for a while, but eventually, it's just gonna be spambot!
It needs to have it's rules tweaked to be more appropriate for an open forum, rather than a 1 on 1 chat scenario. Poeple could still chat with it, but they would need to address it directly in order to trigger a response. You could also set it to monitor for other "keywords" that trigger a response.
trilOByte
21 Feb 2003, 12:43
OK, I've spent a little time looking at this and think I understand a little better how this thing works.
One thing in particular it would seem that the extent and breadth of the AIML files determine pretty much how smart the bot is. I think most people are a little dissapointed with the default set. But... looking at the aiml set, I notice there are a couple of files that do not seem to belong to the default set.
std-65percent.aiml
std-pickup.aiml
The rest all begin with either numbers or the alphabet. It seems as though these two additional files add something to the personality of the bot.
Well, I checked out http://sourceforge.net/project/showfiles.php?group_id=43190 which is the download url for the original PHP program e, you'll see at the top, there are two sets of aiml files. It would seem that the two files I mentioned above, have been taken from one set and combined with the other. The interesting thing is that there are another 33 files in that set. I'm wondering if those additional 33 aiml files can be simply added to this hack to make a bot that is halfway clever.
Does this make any sense.
I'd really appreciate someone who knows what they are on, checking this out.
These extra files look a helluva lot like bolt on topics, or personality enhancements.
trilOByte
21 Feb 2003, 13:46
Here's the extra aiml files I mentioned. I've just added em in ADDITION to the original ALICE aiml files and re-ran botloader.php.
First impressions are that the bot seems smarter - or at least knows more.
I have absolutely no idea what these extra files do to the server load, or db size. But they do seem to work (I think).
wolfman
21 Feb 2003, 19:08
I have a question that is only partually related to the bot.
My users use the "new posts" link alot and during a switch of styles I had to re add that to the board. Well since then I have added this bot and my post count has more than trippled. This means when they click on the "new posts" link they will be getting all these posts in this one forum I have the bot in. Which so far is only people having fun and does not really offer any real info.
Is there a way I could limit the search of new posts to everything but this one forum? if so what is the easiest way to do this. I just prefer simple over complex.
Webdork
21 Feb 2003, 23:46
For the original source of Program E including more AIML files - see http://www.rydell.com/programe/
Would be interesting to know what version this hack is based on.
Latest release of Program E was 0.08 which was released on August 23, 2002.
trilOByte
22 Feb 2003, 00:06
Yeah, Webdork, that's where I got the files above from. I followed the download links from rydell.com to sourceforge, which offered two sets of complete aiml files. It would seem that the aiml files in this hack, are a cut-down combination of those two sets.
Automated
22 Feb 2003, 19:17
Originally posted by trilOByte
Here's the extra aiml files I mentioned. I've just added em in ADDITION to the original ALICE aiml files and re-ran botloader.php.
First impressions are that the bot seems smarter - or at least knows more.
I have absolutely no idea what these extra files do to the server load, or db size. But they do seem to work (I think).
I ran the botloader again and now the bot only replies in Smilies :( whats happened!
Matthew
Originally posted by wolfman
I have a question that is only partually related to the bot.
My users use the "new posts" link alot and during a switch of styles I had to re add that to the board. Well since then I have added this bot and my post count has more than trippled. This means when they click on the "new posts" link they will be getting all these posts in this one forum I have the bot in. Which so far is only people having fun and does not really offer any real info.
Is there a way I could limit the search of new posts to everything but this one forum? if so what is the easiest way to do this. I just prefer simple over complex.
You can exclude forums from the search, this is from a hack request I submitted a while ago...
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
There are two instances that need to be changed.
50, 63, 71 are the forum ID's to be excluded, just change to your Forum ID's
trilOByte
23 Feb 2003, 01:30
Originally posted by Automated
I ran the botloader again and now the bot only replies in Smilies :( whats happened!
Matthew
No idea, it worked for me. You did *add* these files to the original and not repace the originals with these?
Webdork
23 Feb 2003, 04:38
The version we have doesnt seem to be the same as the latest release of Program E which is 0.08 so I upgraded.
Seems a little smarter.
trilOByte
23 Feb 2003, 06:19
The interesting thing is if you use the java client included, the bot seems *much* smarter. It's the character length limitation which dumbs down the conversation.
The bot *seems* much smarter when the conversation is a quick succession of brief exchanges. It seems as though it follows the conversation.
I'm gonna run the bot as a popup java box, with custom aiml files for a FAQ.
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.
TheComputerGuy
23 Feb 2003, 15:07
TriloByte, you have a great idea, I was looking at the chat.php and I am trying to figure out what exactly triggers it..because you have make it talk so many percentages...currently have mine set to 85% of the time...if I find anything I will let you know.
Originally posted by trilOByte
The interesting thing is if you use the java client included, the bot seems *much* smarter. It's the character length limitation which dumbs down the conversation.
The bot *seems* much smarter when the conversation is a quick succession of brief exchanges. It seems as though it follows the conversation.
Part of the problem is that in a chat, the conversation is linear.
In a forum, with multiple threads happening at once, the bot treats it all as one linear conversation, so it gets confused with names and topics, and comes across as dumb.
I suspect that if you restrict the bot to only 1 thread he may appear smarter.
does anyone have a problem running two bots on there board?
i had one to start with, and it sounded pretty well and was making some decent sence. didnt sound to stupid. now i added the second useing the methed posted in this thread and the bot sounds a heck of a lot dumber. he doesnt make any sense?
maybe i shoulkd remove the second bot?
Automated
25 Feb 2003, 09:57
Please have a Look at this
This is a request for the development of this AI bot http://www.vbulletin.org/forum/showthread.php?s=&postid=358151
Thanks
Matthew
Automated
26 Feb 2003, 14:40
Please :(
its a good idea to try to improve this bot, but its bad to beg?
if people have intrest, they will help.
Rapid Gaming
27 Feb 2003, 19:08
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!!
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/forumdisplay.php?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)!
Ok anyone else tried installing this on a Win2k Pro system, all l'm getting back are smilies from the AI Bot :confused:
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
Automated
03 Mar 2003, 11:00
has all interest in this hack died :(
Talisman
03 Mar 2003, 15:35
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.
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 ?
insanctus
04 Mar 2003, 09:51
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.
insanctus
04 Mar 2003, 10:11
Ok I got mine to do it... that was to easy... I hope it helps.
In tomstalkerbot.php
Find
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
and replace it with
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
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 .
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
insanctus
04 Mar 2003, 10:49
Ok I am trying to work on it so it only looks at the beginning
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
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.
Automated
04 Mar 2003, 10:56
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 http://www.vbulletin.org/forum/showthread.php?postid=345353#post345353 )
I would also release this as a stand alone hack it is amazing.
Matthew
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
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 :(
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:
All righty!!!!!!!!!!! Problem 1 fixed, AI running on our Win 2k test box :thumb:
For anyone else toiling with this sort of setup. Open the sql file in notepad, drop to a command window and go into your MySQL bin directory and get a MySQL session under way.
use databasename
Basically type in each of the commands from the MySQL manually :(
Probably a faster way, but what the heck it will get you up and running. You could also probably knock up a pretty quick php script to do it for you :)
See attached pic for our first conversation.
Automated
04 Mar 2003, 18:20
I am Working on a HUGE AIML addition to the bot, but having a bit of a problem with the PHP code, so if anyone would like to assist please PM me.
Thanks
Matthew
insanctus
06 Mar 2003, 07:03
Ok I am back . Lost my isp for about 48 hours.. Talk about losing ones mind .
Any how I plan to get back to work on my hack hack. Hopefully in next day I will be able to parse out the bot name when said in beginning of a post.
:)
Automated
06 Mar 2003, 18:01
Welcome Back!
Is anyone interested in helping me out? I have the PHP page but need someone who can tell me what is wrong with it. Please PM me.
Thanks
Matthew
insanctus
06 Mar 2003, 18:12
What page?
Automated
06 Mar 2003, 18:31
Have a look at this thread, to see what i am trying to do :D
http://www.sitepointforums.com/showthread.php?threadid=98557
Matthew
Would do but we can't even get ours running yet :(
Latest attempt break up the aiml files into smaller bites :dunno:
Automated
06 Mar 2003, 19:46
well if you can get this script to work i will share all the additional AIML with you guys and also Install your Bot for you Jethro!
Latest attempt to load, take out the timer completely. Feck it, it's not working anyway :lol:
rjlohan
07 Mar 2003, 07:39
Seriously ++++ting me this install script. It keeps timing out on small .aiml files, but 'successfully' completing much, much larger ones. :wtf:
Have tried this with only 2 or 3 aiml fles, and I get the 0 categories installed error.
rjlohan
07 Mar 2003, 07:48
++++in tart! :mad:
Finally got the .aimls all to load and I got the 0 categories error... :rolleyes:
insanctus
07 Mar 2003, 10:55
I think I seen the answer to that at about page 15 or so..
Not to sure ya get lost after so many posts :)
Originally posted by rjlohan
++++in tart! :mad:
Finally got the .aimls all to load and I got the 0 categories error... :rolleyes:
Time to flag this one away mate, there's a couple of alternatives out there. Giving it one more go, and if it don't work deleting it and moving no to something else. Too much time and effort wasted on nil result for mine.
Cheers.
Originally posted by C.Birch
try running botloaderinc.php from the admin folder it runs the aiml files one at a time and not all at same time.
Missed this ... trying again :rambo:
And Heidi is away and answering :banana:
http://www.galahtech.com/forums/forumdisplay.php?s=&forumid=61
She's already decided she's gonna do something to one of our members, hope he isn't waiting patiently by the front door.
SRozhon
08 Mar 2003, 19:07
I keep getting this when I run botloader
Warning: Cannot set time limit in safe mode in /usr/******/***/***/rozhon.com/httpdocs/forums/alice/src/admin/botloaderfuncs.php on line 563
Loading data aiml file: 1.aiml
for all of the aiml files, but I am not running in safe mode. What's going on here?
Zachery
08 Mar 2003, 20:14
.
Originally posted by SRozhon
I keep getting this when I run botloader
Warning: Cannot set time limit in safe mode in /usr/******/***/***/rozhon.com/httpdocs/forums/alice/src/admin/botloaderfuncs.php on line 563
Loading data aiml file: 1.aiml
for all of the aiml files, but I am not running in safe mode. What's going on here?
Two things we did to overcome this (and yeap it's a warning about running in safe mode) :)
1. instead of running botloader.php run botloaderinc.php which loads the aiml files one at a time.
If still not getting the category loaded figure above 0, check the additional files have been created correctly :)
i am getting this can anyone help???
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
SgtSling
09 Mar 2003, 12:34
does anyone have any additional aiml files?
bgtking
09 Mar 2003, 20:47
Hmm, my botloader still doesn't install any files when I have don everything this thread says.
bqtking when you install do you get the category set to a number or 0, are you running in safe mode, did you run the sql statement :)
bgtking
10 Mar 2003, 12:12
I am running in safe mode and yes it installs 0 categories when I have done the SQL statement..
SgtSling
10 Mar 2003, 19:38
ifbottom line.. if you try running this in safe mode you are going to have problems
Call your host and have them remove safe mode then install the hack
SRozhon
10 Mar 2003, 20:52
You were right, although I had safemode turned off in some places I called the host and it was on somewhere because not botloader works...thank you....awesome!!!
bgtking
10 Mar 2003, 21:04
My host will not shut it off but awhile ago they made a special cgi-php folder for things that go wrong with safe mode and that is where I have been trying to install it from.
SRozhon
10 Mar 2003, 23:11
Thank you so much...this is fun! Hey is there a way to have more than one bot on the same site? Like maybe one for a different forum (different topic) Or is that too complicated?
I installed this on 2.3.0 and it works fine.
Thanks for this hack.
Automated
12 Mar 2003, 00:08
Sorry, I commited a huge crime :(
Automated
12 Mar 2003, 11:35
Right, I have made a huge break through with additional AIML (I have 268,000 records)
If ANYONE here knows PHP and/or mysql please visit this thread for what i need some help with.
Heres the thread - http://www.vbulletin.org/forum/showthread.php?s=&threadid=50010
Once released this will benefit everyone who has the Tobmot.
Thanks
Matthew
Kevorkian
14 Mar 2003, 22:40
what i can do for use an external db for the bot?
Automated
17 Mar 2003, 09:39
You can use external DB's but you will ned to get permision from the Host to allow access from anything other than the "Localhost"
Matthew
Kevorkian
17 Mar 2003, 14:12
yes but code changes?
Automated
18 Mar 2003, 09:57
change the DB connections to serer the DB is on, and dont use the gloabl config.php for the access details.
Kevorkian
18 Mar 2003, 22:56
an example of the file i need to modify? ^_^
Automated
19 Mar 2003, 09:31
the db prefs.php in the alice folder.
where you have the DB connection change "localhost" to the address of the server your DB is on and then add the user/pass details.
Test it and if it doesnt work contact your Server admin and tell him to allow remote connections.
Then it should work :D
Matthew
Kevorkian
19 Mar 2003, 14:37
yes but you have say i need to don't use the global config.php, what i can do for disable it?
when i run botloader.php it comes up with cannon connect as tombot@localhost
but i changed the username etc in the botprefs.php file any ideas
getting error now
Warning: Cannot set time limit in safe mode in /path to file/botloaderfuncs.php on line 563
Loading data aiml file: 1.aiml
etc
Fatal error: Maximum execution time of 30 seconds exceeded in /path to folie/botloaderfuncs.php on line 409
tried solution now getting
This script is loading your AIML files one at a time to prevent the script from timing out. Only use this script if your PHP is running in safe mode. If you are still experiencing timeouts then you need to edit your AIML files into smaller files.
Fatal error: Call to undefined function: loadstartupinc() in /path to file/botloaderinc.php on line 60
:smoke: Loading startup.xml
Warning: fopen(public_html/forums/alice/aimlstartup.xml) [function.fopen]: failed to create stream: No such file or directory in /home/madkille/public_html/forums/alice/src/admin/botloaderfuncs.php on line 508
could not open XML input
How do I fix this? :chinese:
liquidkristal
20 Mar 2003, 01:20
hmm, I have just installed eddy tombot, and all it does is reply with smilies, is there something I have done wrong.
I keep getting this Warning: Empty regular expression in /home/madkille/public_html/forums/alice/src/util.php on line 365
Warning: Empty regular expression in /home/madkille/public_html/forums/alice/src/util.php on line 415
Warning: Empty regular expression in /home/madkille/public_html/forums/alice/src/util.php on line 365
Automated
21 Mar 2003, 11:37
I think interest in this hack has died, which is a shame as i am still developing it :(
Matthew
no d00d the interest has not dies some of us can't get it to work because we have safemode and the botloaderinc.php file has an error in it and does not run them one by one
no d00d the interest has not dies some of us can't get it to work because we have safemode and the botloaderinc.php file has an error in it and does not run them one by one
no d00d the interest has not dies some of us can't get it to work because we have safemode and the botloaderinc.php file has an error in it and does not run them one by one
here ya go sorted it to work in SAFEMODE
what i did was edited some of the files and changed a bit of code
also what you will need to do is upload the alice folder after following the instruction then delete all the .aiml files apart from the startup.xml
then reupload them 1 by 1
like this
1.aiml
run botloader.php
then deleted
then upload
2.aiml
run botloader
then delete
etc
do this and it will work perfectly also i have choped the 1MB W.aiml file into smaller ones also uplod 1 by 1 and get back to me if you come across any errors
also how do you get the bot to log in and start posting
getting this when i post
Parse error: parse error, unexpected ',' in /path/forums/tomstalkerbot.php on line 11
also i have this for forums
$ttb_forumid = 7,23,41,122,2,3,4,60,130,133,9,134,135,136,137,138,139,123,124,47,42,97,38,39,10 9,40,12,13,14,15,30;
is this correct
wolfe, stop spamming ffs!
wolfe - please do not double post like what you are doing.
There is an EDIT button for a reason. Use it.
The Wedge
24 Mar 2003, 02:52
i installed it and got the hack working, but it seems to only reply to new threads is there a way it replys in the middle of a thread and it seems like it is only posting to me, any help or any info on exactly how the bot posts?
d00d did you add the incude bit to the newreply.php file
also sorry for double posting i needed help @ first then i fixed the hack :D
The Wedge
24 Mar 2003, 19:14
he only seems to reply to a new thread when i say his name like
"bored your cool"
or
attn: bored
you cool
this is where i have it in the newreply.php
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
The Wedge
25 Mar 2003, 03:06
any help please?
The Wedge
25 Mar 2003, 06:32
i figured it out, thanks
FastAttack
25 Mar 2003, 16:14
03-21-03 at 11:37 AM Automated said this in Post #630 (http://www.vbulletin.org/forum/showthread.php?postid=370548#post370548)
I think interest in this hack has died, which is a shame as i am still developing it :(
Matthew
I am still intrested I just installed it :)
The Wedge
26 Mar 2003, 04:14
i just installed it to, very intrested, also my bot doesnt seem to remember everybodys name.. .any clue?
FastAttack
26 Mar 2003, 05:43
Well all I can say its hard for that bot to learn if you can't teach it.. it will always respond back to you :\
like its a little child not willing to learn
FastAttack
26 Mar 2003, 05:43
oh and btw the hack went great on 2.3.0
Will this Bot work on Windows NT server?
Kevorkian
28 Mar 2003, 21:16
someone can help me? http://www.vbulletin.org/forum/showthread.php?s=&threadid=50911 :(
My bot is calling everyone Patroclus
Is there anyway to make the bot showup in the online user lists? :)
Splitfyre
14 Apr 2003, 10:18
Getting the following:
Warning: Unknown MySQL Server Host 'http' (2) in /home/virtual/site1/fst/var/www/html/forums/alice/src/admin/dbprefs.php on line 52
Warning: MySQL Connection Failed: Unknown MySQL Server Host 'http' (2) in /home/virtual/site1/fst/var/www/html/forums/alice/src/admin/dbprefs.php on line 52
Loading startup.xml
Warning: Cannot set time limit in safe mode in /home/virtual/site1/fst/var/www/html/forums/alice/src/admin/botloaderfuncs.php on line 563
Loading data aiml file: 1.aiml
Warning: Cannot set time limit in safe mode in /home/virtual/site1/fst/var/www/html/forums/alice/src/admin/botloaderfuncs.php on line 563
Loading data aiml file: 2.aiml
Warning: Cannot set time limit in safe mode in /home/virtual/site1/fst/var/www/html/forums/alice/src/admin/botloaderfuncs.php on line 563
Loading data aiml file: 3.aiml
Warning: Cannot set time limit in safe mode in /home/virtual/site1/fst/var/www/html/forums/alice/src/admin/botloaderfuncs.php on line 563
Loading data aiml file: 4.aiml
Warning: Cannot set time limit in safe mode in /home/virtual/site1/fst/var/www/html/forums/alice/src/admin/botloaderfuncs.php on line 563
Loading data aiml file: 5.aiml
Warning: Cannot set time limit in safe mode in /home/virtual/site1/fst/var/www/html/forums/alice/src/admin/botloaderfuncs.php on line 563
Loading data aiml file: 6.aiml
Warning: Cannot set time limit in safe mode in /home/virtual/site1/fst/var/www/html/forums/alice/src/admin/botloaderfuncs.php on line 563
Loading data aiml file: 8.aiml
Warning: Cannot set time limit in safe mode in /home/virtual/site1/fst/var/www/html/forums/alice/src/admin/botloaderfuncs.php on line 563
Loading data aiml file: 9.aiml
Help! I know somebody on here has to of gone through this.
Thanks in advance :)
PixelFx
14 Apr 2003, 11:01
what would be kewl is if you could add support for Tom Bot to battle members with the battle system ;)
AI with an Attitude...
Splitfyre
14 Apr 2003, 22:12
Ran the query that's supposed to generate 300 queries and well now my forum won't load nor will my main site. What's up with that? Any ideas?
www.futurelooks.com or www.futurelooksforums.com
Splitfyre
14 Apr 2003, 23:17
Never mind, got my sites back up, but Tom Bot still isn't working. I heard that this hack is still very buggy? Anyone else have problems?
This topic is to long so i did not look but no teables are being created in the table. This is what i get.
Loading startup.xml
Loading data aiml file: 1.aiml
Loading data aiml file: 2.aiml
Loading data aiml file: 3.aiml
Loading data aiml file: 4.aiml
Loading data aiml file: 5.aiml
Loading data aiml file: 6.aiml
Loading data aiml file: 8.aiml
Loading data aiml file: 9.aiml
Loading data aiml file: A.aiml
Loading data aiml file: B.aiml
Loading data aiml file: C.aiml
Loading data aiml file: D.aiml
Loading data aiml file: E.aiml
Loading data aiml file: F.aiml
Loading data aiml file: G.aiml
Loading data aiml file: H.aiml
Loading data aiml file: I.aiml
Loading data aiml file: J.aiml
Loading data aiml file: K.aiml
Loading data aiml file: L.aiml
Loading data aiml file: M.aiml
Loading data aiml file: N.aiml
Loading data aiml file: O.aiml
Loading data aiml file: P.aiml
Loading data aiml file: Q.aiml
Loading data aiml file: R.aiml
Loading data aiml file: S.aiml
Loading data aiml file: star.aiml
Loading data aiml file: std-65percent.aiml
Loading data aiml file: std-pickup.aiml
Loading data aiml file: T.aiml
Loading data aiml file: U.aiml
Loading data aiml file: under.aiml
Loading data aiml file: V.aiml
Loading data aiml file: W.aiml
Loading data aiml file: X.aiml
Loading data aiml file: Y.aiml
Loading data aiml file: Z.aiml
DONE LOADING
Inserted 0 categories into database
AlexanderT
15 Apr 2003, 09:47
I think the bot is rather stupid :( See for yourself here, running on latest vB 2.3.0: http://www.turcic.com/forums/forumdisplay.php?forumid=29
fechten
16 Apr 2003, 19:23
Is there a way to set the bot to always answer certain members? That could be a funny hack. Instead of banning a member, force them to deal with the bot's replies.
Edit: Nevermind. This should be an easy hack to figure out.
Ninth Dimension
18 Apr 2003, 22:11
Hi, i'm really sorry if this has been covered (although I did look at the posts in this thread).
The bot is not working, all he does is smile at me, i'm almost 100% sure that I've done everything needed, but it's not worked.
I *think* that the AIML info is not being loaded into the database when i run botloader.php, but can't tell why not, the admin dir is CHMODed 777
someone please help as it this would be an fantastic addition to my forum
thank you.
Link14716
18 Apr 2003, 22:13
Today at 04:11 PM Ninth Dimension said this in Post #660 (http://www.vbulletin.org/forum/showthread.php?postid=383875#post383875)
Hi, i'm really sorry if this has been covered (although I did look at the posts in this thread).
The bot is not working, all he does is smile at me, i'm almost 100% sure that I've done everything needed, but it's not worked.
I *think* that the AIML info is not being loaded into the database when i run botloader.php, but can't tell why not, the admin dir is CHMODed 777
someone please help as it this would be an fantastic addition to my forum
thank you.
Try to CHMOD the AIML files and/or the aiml directory and run botloader.php -- maybe that'll help.
Ninth Dimension
18 Apr 2003, 22:20
*fingers crossed* trying that now, thanx
UPDATE: nope, that did not work ether :(
Ninth Dimension
18 Apr 2003, 23:14
I'm sorry to say that I've given up, the problem so far as i can tell is that the installer is not working correctly resulting in the data not being loaded into the database, i'm not sure what is causing this problem, all i do know is that it's annoying.
I'll keep an eye on this thread to see if anyone finds a decent soloution to this (or maybe releases a SQL dump of data to be loaded manually). :)
Zelda-King
20 Apr 2003, 04:31
I had that problem. My bot was just posting smilies. I deleted all the tables the SQL file makes, restored them, then tried again with the modified file in safe mode (uploading one file at a time, deleting, uploading the next one, etc). Then it worked fine. His variables could do with some tweaking though, but he uses about 15 MB of database as it is.
Anyway, the tables to drop are;
bot, bots, conversationlog, dstore, gmcache, gossip, patterns, templates (NOT template!), thatindex amd thatstack. Just drop them then re-run the SQL file.
My 'bot' table in the database keeps getting more rows. I have about 1000 entries now.
kdog316
23 Apr 2003, 20:41
what if all your bot is doing is the smileys but when i got to look at my tables i dont see any of those tables you mentioned
boutwell
25 Apr 2003, 22:47
Hmmm...all mine does is quote whatever I say and smile at me :( Anyone know how to fix him? :)
boutwell
25 Apr 2003, 23:03
hmmm...I forgot to post my error that I am getting between posts...posts work fine but I get this during the redirect:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Anyone have a clue what could be going on?
He has started trying to use smilies that I don;t have installed...like :baa: now rofl
sweetmercifulcr
27 Apr 2003, 18:56
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
My bot answers, but it gives that error in it's post.
deepdark
28 Apr 2003, 23:01
same problem
<br />
<b>Warning</b>: main(admin/subs.inc) [<a href='http://www.php.net/function.main'>function.main</a>]: failed to create stream: No such file or directory in <b>/home/s4th4ck/public_html/forum/alice/src/util.php</b> on line <b>35</b><br />
<br />
<b>Warning</b>: main() [<a href='http://www.php.net/function.main'>function.main</a>]: Failed opening 'admin/subs.inc' for inclusion (include_path='') in <b>/home/s4th4ck/public_html/forum/alice/src/util.php</b> on line <b>35</b><br />
<br />
<b>Warning</b>: Empty regular expression in <b>/home/s4th4ck/public_html/forum/alice/src/util.php</b> on line <b>365</b><br />
My botloader seems to run ok until it gets to A.AIML (or any that are slightly bigger than very small), then it just's drops out.. no error message, just says "done" in the browser.
I'm guessing it's some sort of timeout setting.. any ideas ?
gengar003
07 May 2003, 01:49
posting..l.
How do I post?
__________________
Hey. I'm the admin. Phear, respect, and feed me.
--Cheesemaster Jam Jam--
"I am the Cheese Master Jam Jam Jammer! Oho YA!" - Gengar 003
--------------------------------------------------------------------------------
Posted by Suicune on 05-07-2003 01:46 AM:
quote:
--------------------------------------------------------------------------------
How do I post?
--------------------------------------------------------------------------------
You should download or buy my chat robot software, then it would be possible for you to reprogram me for a variety of purposes.
gengar003
07 May 2003, 02:42
installed, fixed bugs by reading pages of posts, it's totally funny, but is there any way to get it to search for things like,
for example
'access', 'user cp', and '?' in a post, and figure out tha the user wants to go to the user cp, and provide a link? I'ts cute, but I want it to help users out... altho we did have a nice discussion about it's dress...
mADmAX`
07 May 2003, 14:35
I have read just about every post and still dunno what is wrong. I have the same problem as everyone that it only posts smilies and also takes around 2 mins to post (just in that category). I have yet to see anyone complain about taking so long to post, but has anyone else had that prob?
C.Birch
07 May 2003, 14:59
it posting only smilies is due to your aiml files not installing right in to your database, check that your database hold's the tables and they have data in them eg:
you have the table 'patterns' and it as 287,772 (13.7 MB)*will not be the same file size but you get the idea) of data in it.
Also check in yout bot table that the bot part of the data is set to 0
Its defo to do with your database and its only posting smilies because thats in the hacks php codeing where the replys are in the database and that it is not finding so it can only reply with smilies.
mADmAX`
07 May 2003, 15:01
I have 26 records in "bot"
They are all pointing to "0"
Is "bots" suppose to have any tables as mine is empty.
Patterns has (273772 total) records but nothing makes sense as alot is NULL etc. (dunno if thats right).
C.Birch
07 May 2003, 15:05
bots is empty in mine and it works.
C.Birch
07 May 2003, 15:07
i just tryed uploading a new zip what as more aiml files from start with it and a few little fix's but the zip was over size to upload.
mADmAX`
07 May 2003, 15:09
Could you email that to me?
C.Birch
07 May 2003, 15:13
http://www.ultimatepop-network.com/TomBot v1.2.zip
use that and if i was you i would totaly clean out all the bits of databade this hack add's and do it all again.
to know what tables it add's look at the db.sql file inside the hack.
mADmAX`
07 May 2003, 15:45
Still the same thing :(
DONE LOADING
Inserted 43347 categories into database
It takes 2 mins to post from hitting submit reply and from when it refreshes to the post. I also get this error...
C.Birch
07 May 2003, 16:09
at a guess its to do with your php verson on the server but im not hacker so maybe someone could help out from here?
mADmAX`
07 May 2003, 16:11
PHP Version 4.2.3
Mr_Johnson
07 May 2003, 17:56
http://www.sjiradio.com/forum/alice/src/tester.php
Umm what did I do wrong? I didn't understand the chmod step :( Is that whats causing this? I don't have accsess to the box with the SQL server on it, is this a problem? :(
Mr_Johnson
07 May 2003, 18:30
04-28-03 at 11:01 PM deepdark said this in Post #669 (http://www.vbulletin.org/forum/showthread.php?postid=388608#post388608)
same problem
<br />
<b>Warning</b>: main(admin/subs.inc) [<a href='http://www.php.net/function.main'>function.main</a>]: failed to create stream: No such file or directory in <b>/home/s4th4ck/public_html/forum/alice/src/util.php</b> on line <b>35</b><br />
<br />
<b>Warning</b>: main() [<a href='http://www.php.net/function.main'>function.main</a>]: Failed opening 'admin/subs.inc' for inclusion (include_path='') in <b>/home/s4th4ck/public_html/forum/alice/src/util.php</b> on line <b>35</b><br />
<br />
<b>Warning</b>: Empty regular expression in <b>/home/s4th4ck/public_html/forum/alice/src/util.php</b> on line <b>365</b><br />
Same thing as him. Is this that the file can mod the files it wants to?
:nervous:
C.Birch
07 May 2003, 19:18
upload this file to forum/alice/src/admin/subs.inc
i just updated the zip so its in it as it was missing in the last one.
Mr_Johnson
07 May 2003, 19:50
The zip in the first post?
Mr_Johnson
07 May 2003, 20:00
Loading startup.xml
Warning: OpenDir: No such file or directory (errno 2) in /home/sites/site46/web/forum/alice/src/admin/botloaderfuncs.php on line 531
Warning: Supplied argument is not a valid Directory resource in /home/sites/site46/web/forum/alice/src/admin/botloaderfuncs.php on line 532
Warning: Supplied argument is not a valid Directory resource in /home/sites/site46/web/forum/alice/src/admin/botloaderfuncs.php on line 540
Warning: fopen("subs.inc", "w+") - Permission denied in /home/sites/site46/web/forum/alice/src/admin/botloaderfuncs.php on line 85
Warning: Supplied argument is not a valid File-Handle resource in /home/sites/site46/web/forum/alice/src/admin/botloaderfuncs.php on line 77
Warning: Supplied argument is not a valid File-Handle resource in /home/sites/site46/web/forum/alice/src/admin/botloaderfuncs.php on line 77
Warning: Supplied argument is not a valid File-Handle resource in /home/sites/site46/web/forum/alice/src/admin/botloaderfuncs.php on line 77
Warning: Supplied argument is not a valid File-Handle resource in /home/sites/site46/web/forum/alice/src/admin/botloaderfuncs.php on line 77
Warning: Supplied argument is not a valid File-Handle resource in /home/sites/site46/web/forum/alice/src/admin/botloaderfuncs.php on line 77
Warning: Supplied argument is not a valid File-Handle resource in /home/sites/site46/web/forum/alice/src/admin/botloaderfuncs.php on line 77
Warning: Supplied argument is not a valid File-Handle resource in /home/sites/site46/web/forum/alice/src/admin/botloaderfuncs.php on line 77
DONE LOADING
Inserted 0 categories into database
Click here to talk to the bot
execution time: 1.37569
Templates per second=0
Templates per minute=0
Help? :nervous:
Mr_Johnson
07 May 2003, 20:47
And stupid question but: What is this CHMod'ing everyone referrs to?
Mr_Johnson
08 May 2003, 01:38
K, got the CHMOD stuff is taken care of. Now I need to know how to configure this bot :( Got just smilies :(
mADmAX`
08 May 2003, 08:50
So does no one know why I get this error?
(PHP Version 4.2.3)
DONE LOADING
Inserted 43347 categories into database
It takes 2 mins to post from hitting submit reply and from when it refreshes to the post. I also get this error...
gengar003
10 May 2003, 22:51
It happened to me, and I CHMOD'ed every .aiml file to 777, and then it was fixed.
mADmAX`
10 May 2003, 23:25
I CHMOD'ed each aiml file and same thing =\
I can type this in the address bar for example...
http://www.xxxx.com/forums/alice/src/talk.php?vbid=1&input=What%20is%20your%20favorite%20colorr?
and I get this:
I don't have a favorite colorr. But my favorite book is Don't Read Me.
But if I make a post with that, I get an error =\
cturcich
11 May 2003, 02:20
can't download the file from your url, had to use the following instead
http://64.191.13.167/~upn/TomBot%20v1.2.zip
Logikos
12 May 2003, 08:53
i got this after running the botloader.php at the end when it was dont
Warning: fopen(subs.inc) [function.fopen]: failed to create stream: Permission denied in /home/hazelboy/public_html/Forums/alice/src/admin/botloaderfuncs.php on line 85
Warning: fwrite(): supplied argument is not a valid stream resource in /home/hazelboy/public_html/Forums/alice/src/admin/botloaderfuncs.php on line 77
Warning: fwrite(): supplied argument is not a valid stream resource in /home/hazelboy/public_html/Forums/alice/src/admin/botloaderfuncs.php on line 77
Warning: fwrite(): supplied argument is not a valid stream resource in /home/hazelboy/public_html/Forums/alice/src/admin/botloaderfuncs.php on line 77
Warning: fwrite(): supplied argument is not a valid stream resource in /home/hazelboy/public_html/Forums/alice/src/admin/botloaderfuncs.php on line 77
Warning: fwrite(): supplied argument is not a valid stream resource in /home/hazelboy/public_html/Forums/alice/src/admin/botloaderfuncs.php on line 77
Warning: fwrite(): supplied argument is not a valid stream resource in /home/hazelboy/public_html/Forums/alice/src/admin/botloaderfuncs.php on line 77
Warning: fwrite(): supplied argument is not a valid stream resource in /home/hazelboy/public_html/Forums/alice/src/admin/botloaderfuncs.php on line 77
DONE LOADING
Inserted 43347 categories into database
Whats this mean?
Logikos
12 May 2003, 16:45
Does anyone have a working version?
vB-Host.com
12 May 2003, 21:49
ok this is weird.. I did a chmod -R 777 alice in ssh and everything turned to 777 = good
uploaded files, tested bot.. rplies with smilies = good
installed the "brain"
DONE LOADING
Inserted 43347 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: 2772.844567
Templates per second=15.632682955214
Templates per minute=937.96097731287
ok good,
but now....
testing him in the forum, I get no reply from him.. before running botloader I atleast got smiles... ideas?
vB-Host.com
12 May 2003, 22:12
ok I got it to work! It answers the first post of a new thread and then only talks in the thread more if you mention his name. Looking more and more into the code.. Alice seems to just be a rip of the old InfoBOT for IRC. Only difference though was InfoBOT was smart.. This bot you can ask how work was and he will tell you that he is married with three kids ...
vB-Host.com
12 May 2003, 22:52
Today at 08:45 AM []\[]emesis said this in Post #695 (http://www.vbulletin.org/forum/showthread.php?postid=394156#post394156)
Does anyone have a working version?
Yeap, http://www.thesportsforum.net/ my bots name is loudmouth
Morpheus84
14 May 2003, 14:57
Has anyone a download link for the actually version ?
The link in the 1st post doesn't work.
:Judge:
16 May 2003, 19:00
We just got ours up and running a few days ago.
i created an addon for this hack:
it is a on off quick reply switch of sort :]
http://www.vbulletin.org/forum/showthread.php?s=&threadid=53064
Extremely cool hack. Installed and working perfectly.
Well done C. Birch.
Our Bot doesn't seem to be learning much :(
Are there any sure ways to test the bots learning ability. We have been trying to teach it that one of our members has four dogs for about a week now.
Although it's funny, it's getting annoying now :)
how much strain does this add on to the forums?
gengar003
25 May 2003, 13:46
Nebby -- Well, that depends on how much your members chat with it, and how often you set it to reply.
BrAinZ -- My bot has gotten slightly more intelligent since I installed it, but not by much. I think you just have to have nice, long talks with it, and it'll pick things up.
Anyone -- I installed the "Teach the bot a Question" hack, but it doesn't work. I typed in the questions, generated the .aiml file, and ran botloader after hacking it, it successfully loaded custom.aiml, but the bot doesn't respond any differently to the questions I tought it than it did before.... why?
C.Birch
25 May 2003, 13:50
personaly i feel the Teach the bot hack worked alot better when its maker had it adding things right to the database and not the way it works not as it dont work that good that way where as the other way he did it worked great.
gengar003
25 May 2003, 13:55
Here here.
Anyway, Just thought I'd share a few things.
In startup.xml, you can customize the bot's owner, boyfriend, gender, website, etc.
In tomstalkerbot.php, there's two variables to note:
$ttb_weighting and
$ttb_forumid
both of which are explained in the file
:)
This may sound stupid but how do I find what my $rootdir="../../aiml/"; is? I did info.php but I'm not sure which one it is.
gengar003
27 May 2003, 02:31
hm... what file is it in.
f-a_org
27 May 2003, 02:52
I get this Error !
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Hmm, is there anyway to make the index page say last posted by (bots name)?
crowfield99
30 May 2003, 10:22
I am using VBulletin 2.3.0 and got a few problems. I have set everything up and set everyfile to CHMOD 777 but when I goto forum/alice/src/admin/botloader.php
All I get is this:
Loading startup.xml
Warning: Unable to access forum/alice/aiml/startup.xml in /usr/local/psa/home/vhosts/crowfield99.34sp.com/httpdocs/forum/alice/src/admin/botloaderfuncs.php on line 508
Warning: fopen("forum/alice/aiml/startup.xml", "r") - No such file or directory in /usr/local/psa/home/vhosts/crowfield99.34sp.com/httpdocs/forum/alice/src/admin/botloaderfuncs.php on line 508
could not open XML input
Please could anyone help me as I really want to use this hack.
Many thanks,
crowfield99
30 May 2003, 17:09
OK Guys, I must have not CHMOD everything to 777 and now a get less messages on my screen BUt still have this:
Whenever I try and run the BotLoader I get this:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Please could someone help me, I really want to use this hack :o
05-25-03 at 01:46 PM gengar003 said this in Post #705 (http://www.vbulletin.org/forum/showthread.php?postid=399792#post399792)
Nebby -- Well, that depends on how much your members chat with it, and how often you set it to reply.
Well i don't know that for certain, what's the strain for an average board?
gengar003
01 Jun 2003, 01:34
Hmm, avg of what? Well, here's what happened on my board. I have 3-5 active members (*Sigh*), and the average amount of replies to something is around 5, and in my Bot's forum, there are six threads with average of 65 replies each,
averaging an extra 13 posts per user per thread in bot's forum.
also, the phrase "lol" appears a lot.
05-12-03 at 08:45 AM []\[]emesis said this in Post #695 (http://www.vbulletin.org/forum/showthread.php?postid=394156#post394156)
Does anyone have a working version?
She is really incoherent but i think that is the hilarity of it, still you can see a working version here (http://www.theologyweb.com/forum/forumdisplay.php?s=&forumid=55). Our site has a forum section just for chatting with the AI bot. Her name is Mononoke.
Well, i've installed it.
How do you give it information about itself?
such as age, gender etc?
Only problem is he keeps trying to use non-existant smileys =/
i can't brainwash the little git.
he think's he's called program E no matter what i tell him.
and he's addamant that sex alone is best.
what a loser.
Edit the database table for the bot's information. Look for it, its full of stuff about the bot, you just change them.
I had 4000 posts in my AI bot forum, but suddently the bot started to get more stupid every post, so she had to go...
eXtremeTim
04 Jun 2003, 22:03
I grabbed the newest version off of their site and im setting it up with that so lets hope it works with their newest version :)
eXtremeTim
04 Jun 2003, 22:42
alright it didn't work right was posting html so im just gonna reinstall with the version you posted.
Make sure you use the full set of AIML files from the original support site. The bot is much more intelligent with the full set.
eXtremeTim
05 Jun 2003, 16:46
I did plus i have been making a few of my own things to teach it. :)
AlexanderT
06 Jun 2003, 09:07
Yesterday at 01:11 AM Erwin said this in Post #724 (http://www.vbulletin.org/forum/showthread.php?postid=404540#post404540)
Make sure you use the full set of AIML files from the original support site. The bot is much more intelligent with the full set.
Erwin, can you show me the direct download url at alice.org? Before I installed this hack, I downloaded the AIML files from alice.org to see if they are any different. At that time, the files I downloaded were identical to the ones included with the hack :(
Greets
Why don't you just redownload the zip file here if you want the hacks AIML files?
AlexanderT
06 Jun 2003, 17:17
Huh?
Maybe I wasn't clear. I am using the AIML files included with the Hack. And they were identical to the AIML files I downloaded from alice.org in the past. But Erwin mentioned some better, "full set". I'd be happy to find out where to get it from.
I believe he is just saying to ensure to install ALL the AIML files contained in the zip.
AlexanderT
06 Jun 2003, 17:24
I don't think so. He talks about the original support site which is alicebot.org.
Let's see what Erwin says when he reads that.
At Alice.org there is 2 sets of AIMLs to download, all of them IIRC are contained within the zip file located on this thread.
AlexanderT
06 Jun 2003, 17:31
Did it occur to you that the AIML set is being updated?
I apologize for interrupting. Erwin can reply.
I have it functioning just fine on my site. I digress.
Download and install ALL the AIML files from the TOP TWO FILES.
There should be 33 topic files in total, with information from various different topics.
http://sourceforge.net/project/showfiles.php?group_id=43190
The first post only has 2 of these files, which makes the bot dumber. With the additional files, the bot is much smarter. :)
crowfield99
07 Jun 2003, 22:43
05-30-03 at 05:09 PM crowfield99 said this in Post #713 (http://www.vbulletin.org/forum/showthread.php?postid=402002#post402002)
OK Guys, I must have not CHMOD everything to 777 and now a get less messages on my screen BUt still have this:
Whenever I try and run the BotLoader I get this:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Please could someone help me, I really want to use this hack :o
Please could someone help me - I want to use this
AlexanderT
08 Jun 2003, 10:53
Yesterday at 02:43 AM Erwin said this in Post #734 (http://www.vbulletin.org/forum/showthread.php?postid=405385#post405385)
Download and install ALL the AIML files from the TOP TWO FILES.
There should be 33 topic files in total, with information from various different topics.
http://sourceforge.net/project/showfiles.php?group_id=43190
The first post only has 2 of these files, which makes the bot dumber. With the additional files, the bot is much smarter. :)
Thanks, I hope that makes my bot a bit smarter :)
There is one bad thing I noticed, everytime you tell your bot "My name is XXX" he will remember that name only, so "it" will not remember your name if someone else tells "it" his/her name.
Not true v0id. The bot remembers the name of users according to their forum userid. There is a separate hack you can add to make sure the bot remembers the name of users per userid.
Dev-United
10 Jun 2003, 16:18
This is the coolest hack ever. I dont feel so alone anymore ;)
Now, perhaos a little tips to those who dont get it to work. I think the aiml files should be uploaded in binary mode. At least that works for me.
What hack is that Erwin? :)
Ok, I have everything installed and configured... but it isn't replying on my test server... it loaded everything fine... can someone tell me what to change in phpmyadmin?! I looked and dont see specifically what I need. I wonder if that is the problem? Because I am not getting any response at all!
Thanks
update: nevermind I got it working =) Now if I can just make it smarter hehe
Ok, I have it running pretty good now and seems to learn somewhat at a very basic level. It would be nice if it could recal things a little better though. I am having alot of fun with it though! Has anyone done much more extensive work with this?
DaveLogic
16 Jun 2003, 10:12
Finally installed the aiml files one at a time to bypass the Safe Mode problem but now getting the fopen() error when posting each message to the forum...Has anybody got around this Safe Mode issue yet???
Kane Da Don
06 Jul 2003, 20:16
weres the zip files the link were it says to download it from is broken could some one re up it plz thanks
PixelFx
07 Jul 2003, 05:27
any chance of getting a fix for the tombot url to download it? I'd love to try it out. I've gone over the A.L.I.C.E. site and it looks like it would be fun to edit.
karreman
11 Jul 2003, 00:23
would be nice if the link was working again
karreman
11 Jul 2003, 00:23
would be nice if the link was working again
neocivitas
11 Jul 2003, 15:51
Is this a vB2x only bot or is it compatible with vB3?
PixelFx
12 Jul 2003, 08:32
vb3 is still in a beta stage, the above script is for vb2x, just wish the link worked for downloading it ;)
Kane Da Don
12 Jul 2003, 08:44
same here or if any one could attache it again plz thanks
vBulletin® v3.6.12, Copyright ©2000-2010, Jelsoft Enterprises Ltd.