The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
TomBot v1.1 vB AI User Bot Details »» | |||||||||||||||||||||||||
Hi after reading the forums i have seen many people after a hack like this so here it is.
This has been installed and testing on a busy live server and it worked fine thats why im posting it in here right away. I can not hack that much if theres a prob but i try my best to, i also add this is my first time so i have tryed my very best to make the install file easy to follow. all the files you need are in the zip file just unzip it to your pc keeping the lay out how it is in the zip file and then following the install text file. What does this hack do? Basicy it add's a chat bot to a forum on your board that will reply to users posts. if you wish the bot not to reply to a post inside of the forum its set up to reply in just add ### anywhere in your post and it will stop the bot from replying. You may give the bot its own profile on the board eg av and sign to make it fit in abit better. The bot will also learn things has it gets used more but if it gets to a point where it trys taking over the wrold please dont sue me. ======= Add On's ======= [vB v2.2.8] vBTeachbot 1.0: Click Here By Martin64 ===== Update ===== Added more aiml files for clean install's so the bot knows more information from the start. Bot also recall's your name now Updated the Zip File Below http://www.ultimatepop-network.com/TomBot v1.2.zip Show Your Support
|
Comments |
#352
|
||||
|
||||
I keep getting the following error when I post a reply or a new thread:
Quote:
|
#353
|
|||
|
|||
|
#354
|
||||
|
||||
So cool Anime-loo! I must get "mine" to work asap! |
#355
|
|||
|
|||
Quote:
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!!) Code:
Find: $ttb_time = time() + rand(1,5); After that line add: // Clean Output $response = str_replace('<br>' , '', $response ); $response = str_replace('</br>' , '', $response ); $response = str_replace(', .' , '.', $response ); $response = preg_replace("/(\?|\.|!)(\w)/","$1 $2",$response); $response = preg_replace("/(\w|,)\s+(\w|\?|\.|!)/","$1 $2",$response); $response = preg_replace("/\n\s+/","\n",$response); |
#356
|
|||
|
|||
yeah this hack looks very good
just wondering if i can only have a forum where he can answer in ??? like a forum called "ask the bot" |
#357
|
|||
|
|||
that's how the hack currently works You can have the bot enabled in one selected forum.
|
#358
|
|||
|
|||
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!
|
#359
|
||||
|
||||
Hmm, it deletes all current rows resulting from the aiml imports? That would probably explain why it only has 3000 some categories.
|
#360
|
|||
|
|||
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?" |
#361
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|