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)

Erwin 01-30-2003 02:21 AM

Cool, Martin, I will check out your other thread. :)

My bot has nearly 6,000 posts in under 2 days!!! :o

scsa20 01-30-2003 05:27 AM

okey, how come it only puts down simlies and doesn't answer my questions?? (even after adding some more things for it to learn from)?? anyone know what's up with that??

kmfdm_kid2000 01-30-2003 07:30 AM

Quote:

Originally posted by jbear6


I would say that is a safe assumption :)
If your "Browse" link is not active in the bot table, there is definately something wrong.

I have the same exact problem...After reading the ENTIRE thread, no one has a solution?? C'mon, I want my Bot too you know, a few of us do LOL :p https://vborg.vbsupport.ru/

EDIT: I'm using 2.2.6, c'mon, no one has a successful install yet?? Guess when I'm the first, I'll post so...Not a WHOLE lot of difference between versions, there is, but I think with the very MINOR PHP additions this hack asks you to edit in, I don't forsee there being a problem, with mine, I assume this is a Database issue...

EDIT #2!!! Nevermind, works perfectly!!!

Only problem is for some reason, it didn't reply to a New Thread, but I'll iron it out ;) That means a SUCCESSFUL 2.2.6 INSTALLATION

Ember 01-30-2003 07:56 AM

Quote:

Originally posted by scsa20
okey, how come it only puts down simlies and doesn't answer my questions?? (even after adding some more things for it to learn from)?? anyone know what's up with that??
You need to run botloader.php - read through the thread to find solutions if you already have.

Simms 01-30-2003 12:31 PM

Quote:

Originally posted by kmfdm_kid2000


I have the same exact problem...After reading the ENTIRE thread, no one has a solution?? C'mon, I want my Bot too you know, a few of us do LOL :p https://vborg.vbsupport.ru/

snip

EDIT #2!!! Nevermind, works perfectly!!!

Okay, so what did you do to fix the "bot" table problem? Does it populate itself after the bot's first post, or is there something else I have to do (pleeeeease don't say fresh install :) )?

Automated 01-30-2003 02:49 PM

My BOT table is empty and mu bot is working.

Brainmaster 01-30-2003 03:33 PM

Hi,
I have read these are made to 300,000 queries in the database?
Wouldn't this know the database to flood and how much MB does this take in the database?

Martin64 01-30-2003 07:13 PM

Quote:

Originally posted by Brainmaster
Hi,
I have read these are made to 300,000 queries in the database?
Wouldn't this know the database to flood and how much MB does this take in the database?

Your database will grow with about 16 MB. :)

Lesane 01-30-2003 07:24 PM

Great hack, installed without any problems.

Martin64 01-30-2003 07:57 PM

Quote:

Originally posted by xiphoid
This is a big thread, and I have not followed it.
Can the bot be set to just 1 forum ?
Can the bot be set to just follow 1 thread ?
Can the bot be set to just follow 1 category ? (and therefor all forums + subforums within that category ?
Can the bot be set to NOT reply to certain users ?
Can the bot be set to NOT have the same awnser twice or more in the same thread ?
Can the bot be set to NOT reply more then X times in a thread ? (so after 5 posts or so, it will not reply no more to prevent big useless threads) ?

And you expect us to answer your questions if you haven't read the thread? :paranoid: Just kidding. :p

Can the bot be set to just 1 forum ?
Yes, and in fact, it only replies to one forum by default.

Can the bot be set to just follow 1 thread ?
Yes. (not a setting, but easily hackable)

Can the bot be set to just follow 1 category ? (and therefor all forums + subforums within that category ?
The bot will only reply to posts in one forum (setting in tomstalkerbot.php)

Can the bot be set to NOT reply to certain users ?
Yes. (not a setting, but easily hackable)

Can the bot be set to NOT have the same awnser twice or more in the same thread ?
Nothing is impossible, but it sounds hard to do. :(

Can the bot be set to NOT reply more then X times in a thread ? (so after 5 posts or so, it will not reply no more to prevent big useless threads) ?
Yes. (not a setting, but easily hackable)

Let me know if you install this and need help customising it for your needs. :o

kmfdm_kid2000 01-30-2003 09:58 PM

Quote:

Originally posted by Simms


Okay, so what did you do to fix the "bot" table problem? Does it populate itself after the bot's first post, or is there something else I have to do (pleeeeease don't say fresh install :) )?

I dunno, it just started working, it trully is amazing, but I never found anywhere to change the Bot ID# to 0...It still doesn't work on replying to a brand new thread, only to new posts, and I have mine in multiple forums, that works fine...

Mine is Female, named Celeste...I tried to pass her off as human, but she's still an infant, and too bot-like...My users are too smart for that, but put it this way, the past week, we've slumped to a measly 100 posts per day, it's 7PM EST so far, over 1,100 posts TODAY, and it's not over...Our record is 1,337 (What a number, eh??) posts in a single day...We'll break that. Even if 1/2 the posts are the bot, it's still 500 user posts, that's still more than 100 :p

The Bot sounds like an idiot if you think she's human, but once you know it's a bot, it's quite amusing...Don't try to pass it for human, it says it's a bot in posts. Well, unless your users are incredibly stupid, but then why did you pay for vB to house stupid users?? Go get an EZ-Board LOL https://vborg.vbsupport.ru/

shri 01-30-2003 10:15 PM

Got it working... I think.

http://www.geoexpat.com/forum/showth...stid=75#post75

This would be brilliant if I can set ALF loose on the site to answer repetitive questions people have.... "what are the best jobs sites", "which are the best bars in hong kong" etc etc.

Shri

Beorn 01-30-2003 11:32 PM

From my Tom:

Quote:

Originally posted by Beorn
You like to screw your mom
Quote:

Originally posted by TomBot
Hmm, Mike, I'm not sure if I'd like to screw your mom that much.
I like to make new friends. :(
Quote:

Originally posted by Beorn
You are so dumb
Quote:

Originally posted by TomBot
Message to all Robots: Christina called me dumb.
Quote:

Originally posted by Beorn
I am not Christina! I am Mike!
Quote:

Originally posted by TomBot
I am sorry to hear that you are not Christina.
Hi Mike, I know someone else named Mike too.
....Later On...

Quote:

Originally posted by Beorn
Repeat after me: I am not a computer program

Quote:

Originally posted by TomBot
Quote:

Repeat after me: I am not a computer program
OK. "You am not a computer program." :(

Quote:

Originally posted by TomBot
Repeat after me: You are not a computer program
Quote:

Originally posted by TomBot
Quote:

Repeat after me: You are not a computer program
"You are not a computer program" :cool:

shri 01-31-2003 02:21 AM

FYI .. I get the following response.

Quote:

Message to all Robots: called me dumb.
Am I possibly missing a table with names in it?

shri 01-31-2003 02:46 AM

Can someone do this for me please?

Quote:

mysql> select * from patterns limit 20;
+-----+----+---------+--------+--------+-------+
| bot | id | word | ordera | parent | isend |
+-----+----+---------+--------+--------+-------+
| 0 | 1 | <input> | 2 | 0 | 0 |
| 0 | 2 | 1 | 2 | 1 | 0 |
| 0 | 3 | NULL | 3 | 2 | 1 |
| 0 | 4 | <that> | 2 | 3 | 0 |
| 0 | 5 | NULL | 3 | 4 | 1 |
| 0 | 6 | <topic> | 2 | 5 | 0 |
| 0 | 7 | NULL | 3 | 6 | 1 |
| 0 | 8 | | 2 | 7 | 0 |
| 0 | 9 | 0 | 2 | 2 | 1 |
| 0 | 10 | <that> | 2 | 9 | 0 |
| 0 | 11 | NULL | 3 | 10 | 1 |
| 0 | 12 | <topic> | 2 | 11 | 0 |
| 0 | 13 | NULL | 3 | 12 | 1 |
| 0 | 14 | | 2 | 13 | 0 |
| 0 | 15 | <that> | 2 | 2 | 0 |
| 0 | 16 | NULL | 3 | 15 | 1 |
| 0 | 17 | <topic> | 2 | 16 | 0 |
| 0 | 18 | NULL | 3 | 17 | 1 |
| 0 | 19 | | 2 | 18 | 0 |
| 0 | 20 | CENT | 2 | 2 | 1 |
+-----+----+---------+--------+--------+-------+
I want to make sure that the "NULL" is valid and i've not screwed up the loading.

kmfdm_kid2000 01-31-2003 03:34 AM

The first day with "Celeste" Ended with almost 3,000 posts TOTAL...About 2,800. The Bot made 1,300 posts. Meaning my users posted about 1,500 posts. THIS GETS PEOPLE TALKING LIKE NO OTHER HACK I HAVE SEEN BEFORE!!!

The Previous day, we had 116 posts. That's down from an average of about 600 a day. We hit a slump, but this hack just had the TOTAL opposite effect. It's very entertaining. I'd hate to see the novelty wear off any time soon...Now watch all of my lousy competators install it :p I had it first *Hee Hee*

This hack was a pain to install, but the pay out was worth evey bit of it ;)

Sanni 01-31-2003 04:10 AM

Quote:

Originally posted by kmfdm_kid2000

SUCCESSFUL 2.2.6 INSTALLATION

woot! clicks install

wish me luck :bunny:

Sanni 01-31-2003 04:43 AM

works perfectly, awesome hack! :)

one question though...is there any way to set a time delay between when a post is made to when it replies.........atm it replies immediatly after i hit the submit post button, and by the time the thread is reloaded his response is already there...any way to delay him for a sec or two?

Mijae 01-31-2003 04:44 AM

Why does my bot reply with smilies half the time? I have 42.500 entries for it!

Sanni 01-31-2003 06:03 AM

ok our forum/sql guru OzRoy (i am posting on his behalf because he doesnt currently have a forum account here) created a time delay feature for the bot response times. These code changes will make the bot post randomly between a time delay of 30 secs to 2 mins :)

this has only been tested in VB 2.2.6 btw

to get the random response delay times modify the following:
showthread.php
stalkerbot.php

***********showthread.php************
Code:

Find the SQL statement that looks like:
$getpostids=$DB_site->query("
        SELECT post.postid FROM post
        WHERE post.threadid='$threadid' AND post.visible=1
        ORDER BY dateline $postorder LIMIT ".($limitlower-1).",$perpage
");

and replace it with:

Code:

$getpostids=$DB_site->query("
        SELECT post.postid FROM post
        WHERE post.threadid='$threadid' AND post.visible=1 AND post.dateline <= ".time()."
        ORDER BY dateline $postorder LIMIT ".($limitlower-1).",$perpage
");

************edit the file tomstalkerbot.php************


add the following lines (up the top somewhere)

Code:

define("EARLIEST_REPLY", 20);
define("LATEST_REPLY", 120);
define ("EARLIEST_REPLY", 20);
define("LATEST_REPLY", 120);


Then find the line that looks like:

Code:

$ttb_time = time() + rand(1,5);
And change it to:

Code:

$ttb_time = time() + rand(EARLIEST_REPLY,LATEST_REPLY);
thats it! :)

we have this feature running on our forums at http://www.ozforums.com Atm we are training the bot up prior to public release. Once it is publically available i'll post a link to where you can see a live demo of this feature in action (prolly some point later on tonight) :)

darker1 01-31-2003 11:55 AM

can someone please make and include a .htaccess file with the line: php_flag allow_call_time_pass_reference on

I've never played with .htaccess before. Tried to use that line as the only thing within the .htaccess file, but that just shut down my forum :)

Crazy Pete 01-31-2003 12:24 PM

Quote:

Originally posted by shri
FYI .. I get the following response.



Am I possibly missing a table with names in it?

I have the same thing here. I didn't try introducing myself to it yet, maybe that's why?

Crazy Pete 01-31-2003 12:40 PM

Quote:

Originally posted by Automated
Does this thing actually improve or does it stay as it is? I mean you said that it would learn but it doesnt remember anything you tell it and it doesnt seem to be improving its grasp of things :(

How do i get it to improve?

Thanks
Matthew

I'm wondering the same thing. Granted, I just put my bot online last night but still...does it actually learn anything and get to a point where it's conversing more naturally?

Automated 01-31-2003 01:03 PM

Quote:

Originally posted by Crazy Pete


I'm wondering the same thing. Granted, I just put my bot online last night but still...does it actually learn anything and get to a point where it's conversing more naturally?

I would like to know the answer to that also.

Crazy Pete 01-31-2003 01:12 PM

Quote:

Originally posted by shri
Can someone do this for me please?



I want to make sure that the "NULL" is valid and i've not screwed up the loading.

I have that as well. Interestingly, when I ran all the AIML files, it gave me a different # of categories inserted. I had 33,500-something rather than the 41k+ everyone else seems to get even though I loaded all the files.

NuclioN 01-31-2003 04:31 PM

Sanni, your hack slows down the reply but...when the bot reply's it puts the reply on top of the thread, so above the first posting.

Martin64 01-31-2003 05:21 PM

I have just released vBTeachbot 2.0, so if you wish to teach your bot, you better install it! Grab it here:

https://vborg.vbsupport.ru/showthrea...threadid=48291

BTW, you bot isn't really self-learning (well it is, but just to an extent), so you need to teach it yourself. I hope this isn't considered blatant advertising for my own hack. If you want to see proof of that the hack is really working (my mods have just started added questions and are having a lot of fun :D), view this thread:

http://www.emutalk.net/showthread.ph...589#post114589

Simms 01-31-2003 06:34 PM

Quote:

Originally posted by kmfdm_kid2000


I dunno, it just started working, it trully is amazing, but I never found anywhere to change the Bot ID# to 0...It still doesn't work on replying to a brand new thread, only to new posts, and I have mine in multiple forums, that works fine...

Mine is Female, named Celeste...I tried to pass her off as human, but she's still an infant, and too bot-like...My users are too smart for that, but put it this way, the past week, we've slumped to a measly 100 posts per day, it's 7PM EST so far, over 1,100 posts TODAY, and it's not over...Our record is 1,337 (What a number, eh??) posts in a single day...We'll break that. Even if 1/2 the posts are the bot, it's still 500 user posts, that's still more than 100 :p

The Bot sounds like an idiot if you think she's human, but once you know it's a bot, it's quite amusing...Don't try to pass it for human, it says it's a bot in posts. Well, unless your users are incredibly stupid, but then why did you pay for vB to house stupid users?? Go get an EZ-Board LOL https://vborg.vbsupport.ru/

Well, it's working great on my forum, empty "bot" table or not. However, I'll often see it post something like
Quote:

I like .
It's obvious that there's supposed to be something before the period, but it can't pull the relevant info. This has come up in discussions about favorite authors, etc. Remember in the install file said that you could edit its favorite foods, etc., I'm assuming this is why those places are blank. I also can't edit its name (it still calls itself Alice).

Any help out there for this? TIA!

Crazy Pete 01-31-2003 06:40 PM

Why won't my bot get names correctly? It never addresses anyone by name even when I introduce myself (for instance). It also does this a lot: "I haven't heard anything like that before:
said I son of a +++++ why did not me respond to Tim." (btw it mentions Tim there because I did in my question to it)

Sanni 01-31-2003 11:38 PM

Quote:

Originally posted by NuclioN
Sanni, your hack slows down the reply but...when the bot reply's it puts the reply on top of the thread, so above the first posting.
hmm that doesnt happen on my board, his posts go to the end of the thread....... I must have forgotten to include some of the mods in my previous post sorry :( I'll chat to Roy and find out what I have left out.

one thing i have noticed about this little hack though is that even though he hasnt replied to the thread yet, in the thread display index it still shows him as being the last poster... i'll see if i can get that rectified as well.

apologises for the incorrect install info in my previous post, i'll update it as soon as i know what i misssed.

OzRoy 02-01-2003 02:09 AM

Quote:

Originally posted by NuclioN
Sanni, your hack slows down the reply but...when the bot reply's it puts the reply on top of the thread, so above the first posting.
Hi.

I'm the one who made the changes Sanni posted.

To be honest I have no idea why the bots reply would be showing up first. The only thing I can think of is there is a mistake in the SQL statement in the showthread file you had to change.

The ORDER BY is wrong, or you changed the wrong query. The query you have to change should be around line 385. Close to the end of the file.

OzRoy 02-01-2003 02:20 AM

The exact changes that I made are:

Change showthread.php

Around line 385 change the following SQL query
Code:

$getpostids=$DB_site->query("
        SELECT post.postid FROM post
        WHERE post.threadid='$threadid' AND post.visible=1
        ORDER BY dateline $postorder LIMIT ".($limitlower-1).",$perpage

To:

Code:

$getpostids=$DB_site->query("
        SELECT post.postid FROM post 
        WHERE post.threadid='$threadid' AND post.visible=1 AND post.dateline <= ".time()."
        ORDER BY dateline $postorder LIMIT ".($limitlower-1).",$perpage

Then edit your tomstalkerbot.php

Add the lines
Code:

define ("EARLIEST_REPLY", 20);
define("LATEST_REPLY", 120);

just under
Code:

$ttb_weighting = 100;
Then around line 56 change
Code:

$ttb_time = time() + rand(1,5);
to:
Code:


$ttb_time = time() + rand(EARLIEST_REPLY,LATEST_REPLY);

That should be it. These changes were made to version 2.2.6

There are a couple bugs that I haven't had time to fix yet. 1) the bot will show as the latest poster even though his post won't show yet.
2) If the bots post goes over to the next page then the links for the next page will show, but the bots post won't show till the time it is supposed to.

Mickie D 02-01-2003 06:05 AM

will this bot ever be able to know who each person is ???

i mean is there a way for him to be able to read the poster userid and reply to them ???

P.S this is by far the best hack i have ever used (and i been hacking for many moons now) *clicked install*

if people got together on this it could be something huge (it is already lol)

Radgam 02-01-2003 02:56 PM

Quote:

Originally posted by Mickie D
will this bot ever be able to know who each person is ???

i mean is there a way for him to be able to read the poster userid and reply to them ???

I'd like to know that too ;)

Mickie D 02-01-2003 03:10 PM

BUMP

h8 bumping but if this could be achieved the level of this hack would increase 100% !!!!

Automated 02-01-2003 03:31 PM

Quote:

Originally posted by Mickie D
BUMP

h8 bumping but if this could be achieved the level of this hack would increase 100% !!!!

Agreed! It keeps calling all of my members Matthew! Which is me :(

Would be a great addition and would easily make this the HOTM :p

Matthew

Radgam 02-01-2003 03:52 PM

And i think the AI files need some work... the answers the robot comes out with from time to time are a little strange, and i don't mean just because it doesn't understand them, sometimes it does but just says weird stuff... ;)

Steve Machol 02-01-2003 03:54 PM

Quote:

Originally posted by Radgam
... the answers the robot comes out with from time to time are a little strange, and i don't mean just because it doesn't understand them, sometimes it does but just says weird stuff... ;)
And this is different from a regular user in what way? ;)

Radgam 02-01-2003 03:55 PM

lol, well, a good point ;) He said he was female but i set him to male for starters... bit worrying ;)

bandersen 02-01-2003 04:56 PM

Did anyone try to use the paid version of Alice... has some 1000 more questions/answers included I think (correct me if I am wrong). When I tested the bot on www.alicebot.org it did not sound as "off" as the talk.html /php (I am trying to install).

A personality test has been added to it also. The bot simply inserts hidden personality test questions into the dialogue, and makes up her mind about your personality type. You can then ask "what is my personality type?". Sound pretty cool...


All times are GMT. The time now is 09:13 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.02140 seconds
  • Memory Usage 1,872KB
  • 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
  • (11)bbcode_code_printable
  • (32)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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