vb.org Archive

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

bandersen 01-27-2003 08:43 PM

Quote:

Originally posted by JBMoney
I get this at the end of running botloader.php. What did I do wrong?



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.)

JBMoney 01-27-2003 08:47 PM

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.

JBMoney 01-27-2003 09:04 PM

Every once in a while, it refers to itself as Alice. Is there a quick fix to change that to its username?

jbear6 01-27-2003 09:23 PM

You can change it's name in the "bot" table.

JBMoney 01-27-2003 09:41 PM

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 ("?", ".", "!").

Mijae 01-27-2003 09:42 PM

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.

bandersen 01-27-2003 10:44 PM

Quote:

Originally posted by JBMoney
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.

Sweet!
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?

fury 01-27-2003 11:58 PM

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:

Mijae 01-28-2003 12:51 AM

In what table are the entries stored from the .aiml files?

JBMoney 01-28-2003 03:22 AM

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.


All times are GMT. The time now is 09:33 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01483 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete