Version: 1.00, by C.Birch
Developer Last Online: Jan 2016
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.
I keep getting the following error when I post a reply or a new thread:
Quote:
Warning: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/scsa20/public_html/forums/tomstalkerbot.php on line 46
Warning: fopen("http://www.simon-soft/forums/alice/src/talk.php?input=tombot+is+kwel", "r") - Bad file descriptor in /home/scsa20/public_html/forums/tomstalkerbot.php on line 46
Warning: fread(): supplied argument is not a valid File-Handle resource in /home/scsa20/public_html/forums/tomstalkerbot.php on line 47
Warning: fclose(): supplied argument is not a valid File-Handle resource in /home/scsa20/public_html/forums/tomstalkerbot.php on line 48
They seem to be causing all the punctuation related problems I mentioned.
that's weird It's just a basic find/replace, it shouldn't be cutting off any characters... I tested it throughly on my localhost before posting as well :dead:
Could be the different OS i guess. The problem i found (just for example) is when you say "my favourite movie is lord of the rings" and you get a ton of white space.
I'll test the code a bit more and let you know what i find.
edit: oooo, i very much appologise for my mistake in the original post. I forgot to include the $2 variable which contains the word in the find/replace
Here is the updated version, please let me know if it works :nervous: (and yes, i know it's quite a few searches, but they need to be seperate to function properly :/ - but it has cleaned the output very well on my board (and is based on heavy testing!!)
OK, just did the install - all appeared OK. Read 24 pages of this thread (phew!). Everything appears fine BUT I have no entries in the "bots" table. The install says "Login to phpmyadmin and check in the 'bots' table that the bot id is 0 you find that the table 'bot's the id number in there needs editing to 0 from 1 in some cases" - so what is the row that's missing? thanks!
could someone who seems to be understanding all this AIML stuff better than i am explain what i should do with this?
<category>
<pattern>I LIVE IN *</pattern>
<template>What is <set name="it"><set name="topic">living in <person/></set></set> like living in
<set name="location"><person/></set>?
<think><set name="it"><set name="topic"><person/></set></set></think>
</template></category>
Now, that's the cause of the AI problem on my forum where i say "I live in placename" it responds "what is living in placename like living in placename?"
Originally posted by fury Hmm, it deletes all current rows resulting from the aiml imports? That would probably explain why it only has 3000 some categories.
Indeed it does, but if you remove the line in botloader.php I posted about above it will not delete old rows, it will only import new aiml if there is.