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)

okrogius 01-26-2003 07:39 PM

I installed it all to directions, but it doesn't appear to be any sort of an Artificial [i]Intelligence[i/], more like artificial stupiditiy.

http://www.cgshock.com/ai/src/talk.html

Any ideas what I'm doing wrong?

ManagerJosh 01-26-2003 07:42 PM

Okay I figured a way around the timeouts. Group your files together, and move all the *.amil files to the alice directory. Move like 5-7 files into the aiml directory and run botloaderinc.php

After you are done loading that, there is a link to continue processing...

From there, you move those 5-7 files back into the alice directory and move the next 5-7 files into the aiml directory. Run continue.

This will pretty much prevent timeouts. Keep repeating until you are done.

Note: KEEP STARTUP.XML in AIML NO MATTER WHAT.

ManagerJosh 01-26-2003 07:52 PM

Quote:

Originally posted by NTLDR
In newthread.php place the code after:

PHP Code:

      // update forum stuff
      
if ($visible==1) {  
        
$DB_site->query("UPDATE forum SET replycount=replycount+1,threadcount=threadcount+1,lastpost='".time()."',lastposter='".add$
      } 

Then the bot will show as the last poster, and newreply.php after:

PHP Code:

        } else {
          
$DB_site->query("UPDATE thread SET lastpost='".time()."',replycount=replycount+1,lastposter='".addslashes($postusername).$
        }
      } 



I did as you advised NTLDR, however my bot isn't showing as the last user posted on my forumhome. However it is showing up as the last poster on my forum itself.

EDIT: Stand corrected...it is only newreply.php that it doesn't show. Newthread.php works.


EDIT 2: Okay figured out how to make it work. Instead of adding

PHP Code:

include "tomstalkerbot.php"

after

PHP Code:

        } else {
          
$DB_site->query("UPDATE thread SET lastpost='".time()."',replycount=replycount+1,lastposter='".addslashes($postusername).$
        }
      } 

in newreply.php, add

PHP Code:

include "tomstalkerbot.php"

after

PHP Code:

      // update forum stuff
      
if ($visible==1) {
        
$DB_site->query("UPDATE forum SET replycount=replycount+1,lastpost='".time()."',lastposter='".addslashes($postusername)."' WHERE forumid IN ($foruminfo[parentlist])");
      } 

in newreply.php

This will make it show up on the forumhome

Radgam 01-26-2003 08:31 PM

now if someone could just update the install file... :)

N9ne 01-26-2003 08:45 PM

This bot is amazing...almost 800 posts in the bot forum I made in about one hour...

CeleronXL 01-26-2003 08:54 PM

The bot is just smilie spamming everything...

IE: a post will just contain ":baaa:"

okrogius 01-26-2003 08:58 PM

It will post only smilies if you didn't run the installer file, as directed by the readme file.

Radgam 01-26-2003 09:02 PM

Worked for me but i have 2 questions

How can i change the smiles is trys to use? I don't have the same ones installed, and what order are they meant to run in in the $emot array?

2) The bot doesn't reply to short sentences, anyway to make it? ;)

Thanks, and this is awesome!

Martin64 01-26-2003 09:15 PM

Quote:

Originally posted by Radgam
Worked for me but i have 2 questions
2) The bot doesn't reply to short sentences, anyway to make it? ;)

Thanks, and this is awesome!

Although I haven't tested this, I think you would have to edit this file in tomstalkerbot.php and reduce the 10 to a 5 to make it reply to 5 character sentences:

if (strlen($ttb_message2)>10)

CeleronXL 01-26-2003 09:24 PM

Agh, that's all it's doing now.. Picking out of those smilies but not saying a single thing.

The most we got out of him was "Interesting :indif:"

EDIT: I did run it..... the botloader file right? Yeah...

You see, I used a method similar to ManagerJosh's.. I think every time you rerun the startup script, it deletes the old inserted data to redo it. Therefore, moving the *.aiml files and rerunning that script shouldn't work... :-/

Also, botloaderinc.php does NOT load the files individually, it loads them all, what's with this? Is there a modification I can make to make it really only load one?

Quote:

Originally posted by Radgam
Worked for me but i have 2 questions

How can i change the smiles is trys to use? I don't have the same ones installed, and what order are they meant to run in in the $emot array?

2) The bot doesn't reply to short sentences, anyway to make it? ;)

Thanks, and this is awesome!

Edit tomstalkerbot.php and right near the top I'm sure you'll notice the smilies... If not, search for :xmas: and you'll see them.


All times are GMT. The time now is 12:49 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
  • Page Generation 0.01651 seconds
  • Memory Usage 1,754KB
  • 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
  • (6)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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