![]() |
enable html would solve this quick but that's not an option i guess. ;)
|
I've tried to figure out how to let the tombot act in the VBchat/shoutbox but that's to complicated for me. It is possible, i'm sure but the INSERT into shoutbox must have it's own code and obviously some new tables in the shoutbox on mysql. It would be awesome though if someone could do this. :)
The Aiml is relative easy to learn and it would be great if someone or a group would make a FAQ bot. It's timeconsuming but once set your forum would gain in interactivity and fun. If an English aiml is ready to perform tasks for Vbulletin then i will translate it into Dutch and release it. |
The bot used to answer most of my questions but now unless it's something like "Hello, Tux." (Tux is the name of my bot), all it replies with is a smilie.
http://www.otcentral.com/forum/showt...&pagenumber=46 http://www.otcentral.com/forum/showt...pagenumber=159 (scroll down to about the middle of the page on both links, I only just installed him at about 10:00) Read the first link, and then the second link (both that page and the next one), see how his answers degraded from almost-complex retaliatory questions to nothing but smilies? |
Quote:
|
Quote:
Maybe it's calling the wrong bot id number. Check your db. ;) |
Nope, the bot ID was wrong but I changed that and no effect.
|
http://www.otcentral.com/forum/alice.../jsrschat.html
hmmmm I get no answer from your bot Is he mad? :D |
Quote:
Code:
$string = preg_replace( '~<br />~' , '' , $string ); |
My bot keeps say "What is living in canada like living in
canada?" when i say i live in canada. Notice he says the same things twice? does anyone with ai knowledge how how to sort that? ;) I looked through the AIML files but they seem fine :/ |
My bot has almost 800 posts now....in about 20 hours this bot forum has added over 2000 posts to my forum, 800 of which are from the bot...
|
How do I undo the SQL commands that I ran from db.sql? I'm encountering problems with safemode and it's becoming to much of a pain to work with.
|
Quote:
|
He wont answer anything but smilies. I used ManagerJosh's technique to upload the files because I have PHP in safe mode.
Also, all files did upload except the D.aiml and I have 34449 entries, not 41125. Help me? :P |
I get this at the end of running botloader.php. What did I do wrong?
Quote:
|
Could anyone help me out? PM me please.
|
No, don't PM him, answer here... I have the same problem. :( It'll only answer VERY few posts, all others will be smilie spam. I did the same thing as v0id for uploading too. I thought it had worked too... :(
|
Help? I got this reply from the bot.
Quote:
|
Fixed. Appears to be working.
|
The bot is working fine on my site - there are over 3,600 posts in his forum in under 20 hours, and he's made half of them already.
The only problem: server load - I get 200-300 concurrent users online, and this bot is sucking up my server load like crazy... it's at least doubled, and at times quadrupled! Hopefully the novelty will die down soon. :) |
For anyone who has been having any of these problems with the bots output:
[list=1][*]A large amount of tabs in the middle of a sentence[*]A full stop or question mark being beside more text (although there should be a space)[*]<br>s in the text[/list=1] Do the following: Code:
Find: Code:
After that line add: Edit I made a mistake in the original coding so please update to the above ASAP if you have used it :) Thanks to JBMoney for reporting the problem. |
Quote:
Hi - I have just installed this hack and get the same error as you in your post 334. Did you manage to figure it out? Please share... (I do get a first reply from the bot, but only the smiley. No second reply.) |
In my case, it was a matter of chmod'ing ALL the subdirectories, not just Alice's subdirectories, but also the subdirectories of Alice's subdirectories to 777.
I tend to read directions literally, and not try to read things into them. In this case, you need to. |
Every once in a while, it refers to itself as Alice. Is there a quick fix to change that to its username?
|
You can change it's name in the "bot" table.
|
I think this is something different. The name is set appropriately in the Bot table.
Example of a partial reply: "The ALICE chat robot can follow many things" Also, it likes to cut off the first letter from words a lot, especilly after a punctuation mark of some sort ("?", ".", "!"). |
Could anyone send me their file to admin@invoid.net?
D.aiml seems corrupt in the downloads I get. Its the only file that returns 0 categories inserted. |
Quote:
Thank you - I managed to run botloader with no errors after chmoding EVERY directory to 777. I am still geting the following error when posting a new thread: Warning: fopen("http://www.athlonarena.com/forums/upload/alice/src/talk.php?input=will+you+ever+work%3F", "r") - No such file or directory in /usr251/home/banderse/public_html/forums/upload/tomstalkerbot.php on line 46 Warning: fread(): supplied argument is not a valid File-Handle resource in /usr251/home/banderse/public_html/forums/upload/tomstalkerbot.php on line 47 Warning: fclose(): supplied argument is not a valid File-Handle resource in /usr251/home/banderse/public_html/forums/upload/tomstalkerbot.php on line 48 Here is line 46-48 in tomstalkerbot.php: $ff = fopen($ttb_alicelocation . "?input=" . urlencode($rss),"r"); $response = fread($ff,10000); fclose($ff); I have checked that the alicelocation is correct and tomstalkerbot.php is uploaded to my root (forums/upload). I am only able to get smiley reply's and only the first time (no second reply of any kind in the same thread). Any hints? |
OK, WTF, now my templates table has 0 records in it (used to have 31000)
Which would probably explain why it doesn't answer... :confused: |
In what table are the entries stored from the .aiml files?
|
Radgam - It's working a lot better for me without these last two lines:
$response = preg_replace("/(\?|\.|!)(\w)/" , " $1", $response ); $response = preg_replace("/(\w)\s+(\w|\?|\.|!)/","$1 $2",$response); They seem to be causing all the punctuation related problems I mentioned. |
I keep getting the following error when I post a reply or a new thread:
Quote:
|
|
:p
So cool Anime-loo! I must get "mine" to work asap! |
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 :eek: 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: |
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" |
that's how the hack currently works :) You can have the bot enabled in one selected forum.
|
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!
|
Hmm, it deletes all current rows resulting from the aiml imports? That would probably explain why it only has 3000 some categories.
|
could someone who seems to be understanding all this AIML stuff better than i am explain what i should do with this? :D
<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?" |
Quote:
|
All times are GMT. The time now is 04:27 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|