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)

Martin64 02-09-2003 04:37 PM

Quote:

Originally posted by bandersen
I am still having a problem with the fopen....

My server said that for security reasons they have disabled "remote" fopen()
functions on their servers. Until these security issues are resolved they
are not enabling remote fopens() function. However, fopen() will work for
all local files i.e. if you are including or opening something locally,
it will work.

Can someone please tell me how the $ttb_alicelocation should be coded to read as a local fopen in tomstalkerbot (line 46). I have tried the following:

$ttb_alicelocation = "/forums/upload/alice/src/talk.php";

and I have also tried the more involved link that shows in my FTP..

OR,

since I do get the talk.html up in the browser and the talk.php with the reply... is there some way to "just" include this in the header without messing with fopen?

I suspect you'd need the exact path for your vhost account. Ask your host about this, as it depends on where their vhosts are located.

bandersen 02-09-2003 08:55 PM

Quote:

Originally posted by Martin64


I suspect you'd need the exact path for your vhost account. Ask your host about this, as it depends on where their vhosts are located.

Yeah, I have waited a week soon for that reply :bored:

Since my talk.html and talk.php is working in the browser.. could someone please code it so that the bot can be showed in the header template? I have attached a picture of how I see this... thank you anyone...

Jitway 02-10-2003 02:55 AM

Ok I finally figured out my problem. I had the wrong forum id no idea how I missed that one......goes and shoots self. But great hack clicks install. :laugh:

Dominick 02-10-2003 12:06 PM

The evolution of "Hal 9000"
I was having a hell of a time trying to get tom bot and the plugin to teach it working properly. so I had asked a friend with a bit more programming experience to look at it

this was the resultant thread
http://www.tech-lounge.com/forum/sho...5&pagenumber=1
notice the progression
around page 6 or so "Hal 9000" finally starts talking. It was like a minor miracle.

My buddy, name is kitzke is now bot master. :)


on a side note, I had a thought
2 bots running in one forum
pinky
the brain
if I can only get the ai to respond properly

Automated 02-11-2003 04:18 PM

Is there a way for me to get the same bot using the same DB to talk in more than one forum? EG where you enter the forumID you want the bot is is there a way for me to specify like 4 forum ID's ?

Thanks
Matthew

amykhar 02-11-2003 04:50 PM

Quote:

Originally posted by Automated
Is there a way for me to get the same bot using the same DB to talk in more than one forum? EG where you enter the forumID you want the bot is is there a way for me to specify like 4 forum ID's ?

Thanks
Matthew

In tomstalkerbot.php find this code:

Code:

if ($ttb==1 AND rand(1,100)<=$ttb_weighting AND $forumid==$ttb_forumid AND $bbuserinfo[userid]!=$ttb_memberid) {gottb();};
Change to:

Code:

if ($ttb==1 AND rand(1,100)<=$ttb_weighting AND (($forumid==$ttb_forumid) OR ($forumid==x) OR ($forumid==y) )AND $bbuserinfo[userid]!=$ttb_memberid) {gottb();};

Change X and Y to the ids of the forums you want to use in addition to the one you already set. Add more OR clauses as needed (or subtract as needed) in order to include all the forums you want.

I have not tested this, but it should work. If you don't understand the code I pasted, don't try to do it.

Amy

Jitway 02-12-2003 12:40 AM

Quote:

Originally posted by Automated
Is there a way for me to get the same bot using the same DB to talk in more than one forum? EG where you enter the forumID you want the bot is is there a way for me to specify like 4 forum ID's ?

Thanks
Matthew

Look here https://vborg.vbsupport.ru/showthrea...353#post345353

Automated 02-12-2003 12:49 PM

Thanks a lot man, i will test it now!

Talisman 02-12-2003 01:10 PM

Will install this tonight (have fingers crossed that all will go well).

Would be nice if we could somehow introduce a second bot later. I've read we would have to use a second database to do this. Does anyone know if this can be done any other way? Can 2 bots be integrated together?

Thanks for the hack.

Automated 02-12-2003 09:51 PM

My Bot comes up as a guest and has no posts :confused: could someone please help me sort this out? I am sure it would help a lot of others aswell!

Quote:

ChatBot
Guest

Registered: Not Yet
Location:
Posts: N/A
Status:
Thanks a lot :p

Matthew


All times are GMT. The time now is 04:46 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.01704 seconds
  • Memory Usage 1,745KB
  • 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_code_printable
  • (5)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