PDA

View Full Version : Talker Bot v2.0.2


Pages : [1] 2 3

eXtremeTim
17 Jan 2004, 04:24
I will try and support this hack here. For better support use the link I have provided below:
http://www.extremescripts.com/forums/index.php


Version 3.0 is finaly being made. Please go to the link above and put in your feedback on what you would like to see added.

Talker Bot Hack v2.0.2
Hack By: Tim (eXtremeTim) Yarbrough
Website: www.extremechatforums.com (http://www.extremechatforums.com/)
Original: by: C-birch
Credits: Rapid Gaming (for porting it to vb3)

What This Hack Does.

This hack add a userlike bot to your forums. You can set which forum he will post in and how often he will reply to poeples posts. He will try and build his replies off the text that they posted. This bot will learn overtime slowly from your users posts. I will also be seeing about porting over the teachbot soon.

Some New Features
acp controlled Rate Of Post
ability to post as bot and he will not reply
post count will not go up in forums where post counts are turned off
a few options to turn off and on a few things including the script itself.
Some other stuff i just cant remember

Fixed in 2.0.2:
Go advanced feature works for quick reply.
Bot will no longer reply when post is stopped becuase of an error. (aka floodlimit, to many images, ect)

Fixed in 2.0.1:
Fixed a few minor problems including using the wrong variable in the if statement for the random smilie check.
fixed the install.txt problem used a find code that was from one of my modifications sorry about that.

Upgrading From v2.0.1 Instructions:
These are in the v202 upgrade file

Upgrading From v2.0.0 Instructions:
To upgrade from v2.0 just make your changes to the new _talkerbot.php file and replace the old v2.0 one.


Upgrading From v1 Instructions:
Just use the install.txt and do the forum.php in the acp directory edits.
Add the new phrase and run the query.


Todo List:
Move all settings to acp settings page
fix the floodcheck problem of bot still replying when users post is not made.
Clean up the code more
Figure out more stuff todo.

-=~=-=~=-=~=-=~=-=~=-=~=-=~=-=~=-
-=If You Like This Hack Please Click Install=-
-=~=-=~=-=~=-=~=-=~=-=~=-=~=-=~=-

IMPORTANT INFORMATION

Support for this hack has returned. I will try to give support in this thread. Priority support will be given Here (http://www.extremescripts.com)

Just a note I will be starting work on a new version possible as soon as tonight. :)

If you like this modification please donate to help support the developement process on it.

https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif (https://www.paypal.com/xclick/business=tim%40extremechatforums%2ecom&item_name=Tim%27s%20vBulletin%20Scripts&no_shipping=0&no_note=1&tax=0&currency_code=USD)

SnowBot
17 Jan 2004, 09:02
woohoo :) great mate, i know this will be a hit :)

1 question

If we have already v1 installed by
Rapid Gaming

where do we start on your version or do we have to reinstall? May be add that to the install txt :)

rob_daemon
17 Jan 2004, 09:13
I'm having a few slight problems... first off, can you please share what is supposed to be in the `bots` table? I read about the ID having to be 0, yet I don't have any rows in that table....

Next, I get this error (related?):

leozh
17 Jan 2004, 09:39
Your directions about the forum.php file are a little off, as the line with the vbphrase is a bit different now.

But otherwise, it seems to be working fine.

SB2002
17 Jan 2004, 12:37
Yeah i was just about to post something like that, where is that line now, as i cannot find it for the life of me

Moonlight
17 Jan 2004, 12:43
There is an error regarding the Show Random Smilie option in the code. It is currently using the $botquotepost variable.

Line 88 should be replaced by:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Since you removed the $topicids settings, line 55 can be deleted.

assassingod
17 Jan 2004, 12:45
Did you ask the original creator (and original vB3 port creator) if you could release this?

leozh
17 Jan 2004, 13:23
Oh, and also, there is still a bug with the bot replying multiple times to replies which didn't go through due to the time between posts limit.

SB2002
17 Jan 2004, 13:27
Oh, and also, there is still a bug with the bot replying multiple times to replies which didn't go through due to the time between posts limit.
you meantioned about the vbphrase line in forum.php being different now, i don't suppose you could give me the line number for the line then could you, because i cannot bloody well find it at all.

thanks

leozh
17 Jan 2004, 13:30
Ah, sorry, didn't see your post.

Line 168 should be where it is.

SB2002
17 Jan 2004, 13:33
lol, no probs, do i need to change the print_input_row to print_yes_no_row as well, or leave it as is?

EDIT> Nevermind, i just checked it and i see that i don't.

Had a stupid moment there

leozh
17 Jan 2004, 13:43
I left it as-is and it seemed to work fine.

eXtremeTim
17 Jan 2004, 13:45
Thanks for pointing all that out. I will work on fixing all that right away.

rob about your error make sure that you set the correct path to the aiml files and chmoded them all to 777.

assassingod yes i do have permission from both the creator and rapid gaming.

SB2002
17 Jan 2004, 13:45
I've just updated everything and now whenever someone posts a thread or reply to the bot, they are getting this at the top of the page when it redirects them back to the thread after posting, any clues?

irst("SELECT threadid FROM post WHERE postid=$newpost[postid]"); $threadinfo[threadid] = $tinfo[threadid]; } $pinfo = $DB_site->query_first("SELECT max(postid) as pid FROM post WHERE threadid={$threadinfo[threadid]}"); $parentid = $pinfo[pid]; $btitle = strlen($newpost['title'])>1 ? addslashes("RE: " . $newpost['title']) : ""; // from functions_newpost.php // ### POST NEW POST ### $DB_site->query(" INSERT INTO " . TABLE_PREFIX . "post (threadid, parentid, title, username, userid, dateline, pagetext, allowsmilie, showsignature, ipaddress, iconid, visible, attach) VALUES ($threadinfo[threadid], $parentid, '" . $btitle . "', '" . addslashes($botname) . "', $botuserid, " . BOTTIME . ", '" . addslashes($botoutput) . "', 1, 1, '" . addslashes("127.0.0.1") . "', $newpost[iconid], 1, 0) "); $botpostid = $DB_site->insert_id(); $DB_site->query(" UPDATE " . TABLE_PREFIX . "forum SET replycount = replycount + 1, lastpost = " . BOTTIME . ", lastposter = '" . addslashes($botname) . "', lastthread = '" . addslashes($threadinfo['title']) . "', lastthreadid = $threadinfo[threadid] WHERE forumid = $foruminfo[forumid] "); $DB_site->query(" UPDATE " . TABLE_PREFIX . "user SET $postsquery lastpost = " . BOTTIME . " WHERE userid = $botuserid "); $DB_site->query("UPDATE " . TABLE_PREFIX . "thread SET replycount=replycount+1, lastpost = " . BOTTIME . ", lastposter = '" . addslashes($botname) . "' WHERE threadid = $threadinfo[threadid] LIMIT 1"); }//end randomcheck } else { //This is the start of the adding when not using the chance of post or if its a threadid in the id list // #### INSERT NEW POST INTO DATABASE ##################################### define("BOTTIME", time()+1); if (!isset($threadinfo["threadid"])) { $tinfo = $DB_site->query_first("SELECT threadid FROM post WHERE postid=$newpost[postid]"); $threadinfo[threadid] = $tinfo[threadid]; } $pinfo = $DB_site->query_first("SELECT max(postid) as pid FROM post WHERE threadid={$threadinfo[threadid]}"); $parentid = $pinfo[pid]; $btitle = strlen($newpost['title'])>1 ? addslashes("RE: " . $newpost['title']) : ""; // from functions_newpost.php // ### POST NEW POST ### $DB_site->query(" INSERT INTO " . TABLE_PREFIX . "post (threadid, parentid, title, username, userid, dateline, pagetext, allowsmilie, showsignature, ipaddress, iconid, visible, attach) VALUES ($threadinfo[threadid], $parentid, '" . $btitle . "', '" . addslashes($botname) . "', $botuserid, " . BOTTIME . ", '" . addslashes($botoutput) . "', 1, 1, '" . addslashes("127.0.0.1") . "', $newpost[iconid], 1, 0) "); $botpostid = $DB_site->insert_id(); $DB_site->query(" UPDATE " . TABLE_PREFIX . "forum SET replycount = replycount + 1, lastpost = " . BOTTIME . ", lastposter = '" . addslashes($botname) . "', lastthread = '" . addslashes($threadinfo['title']) . "', lastthreadid = $threadinfo[threadid] WHERE forumid = $foruminfo[forumid] "); $DB_site->query(" UPDATE " . TABLE_PREFIX . "user SET $postsquery lastpost = " . BOTTIME . " WHERE userid = $botuserid "); $DB_site->query("UPDATE " . TABLE_PREFIX . "thread SET replycount=replycount+1, lastpost = " . BOTTIME . ", lastposter = '" . addslashes($botname) . "' WHERE threadid = $threadinfo[threadid] LIMIT 1"); } } } ?>

EDIT: may not be a complete grab, as i had to get it during the redirect

C.Birch
17 Jan 2004, 13:49
Did you ask the original creator (and original vB3 port creator) if you could release this?
yes he has because both vb2 and vb3 port where by me and scott posted the vb3 port becuase im unable to support it due to time, so i give him the vb3 port code to post.

eXtremeTim
17 Jan 2004, 13:53
Oh, and also, there is still a bug with the bot replying multiple times to replies which didn't go through due to the time between posts limit.
I know im working on finding a good way to fix that.

SB2002
17 Jan 2004, 13:53
ok, i just uploaded the old _takerbot.php file from v1 and it stopped the error, so there is something not right in the _talkerbot.php file.

eXtremeTim
17 Jan 2004, 13:55
can you try uploading the v2 one again. also can you tell me all the settings your using for it so i can see if there is a problem with the code somewhere?

SB2002
17 Jan 2004, 13:57
can you try uploading the v2 one again. also can you tell me all the settings your using for it so i can see if there is a problem with the code somewhere?
i modifed it only to add all the relevent information, but i'll upload a freash one and try again

Merjawy
17 Jan 2004, 13:57
Nice hack I will be installing it soon I am sure

my question is:

is he multilingual? :)

eXtremeTim
17 Jan 2004, 14:01
Nice hack I will be installing it soon I am sure

my question is:

is he multilingual? :)
He knows a little french and german but its primary language is english.

SB2002
17 Jan 2004, 14:05
he also knows spanish, cos my guys started talking to him and spanish trying to confuse him and he 0wned them, lol

I've got that error fixed now, and i swear im gonna just go back to bed today, I've been hacking vb's for almost 4 years now and i made a stupid stupid error. i removed a key number from the setup of the bot in talkerbot.php, reinstalled it and it works now

SnowBot
17 Jan 2004, 14:09
what about upgrade instructions from version 1 ?

eXtremeTim
17 Jan 2004, 14:11
what about upgrade instructions from version 1 ?I updated the first post with them.

I would wait a few minutes im about to release 2.0.1

SB2002
17 Jan 2004, 14:12
to upgrade from v1 (like i did) just add the extra sql in the txt file, add the phrase, do the edits to forum.php and edit _talkerbot.php and upload it

it only takes about 5 mins

SnowBot
17 Jan 2004, 14:14
I updated the first post with them.

I would wait a few minutes im about to release 2.0.1
Great will do :)

assassingod
17 Jan 2004, 14:15
yes he has because both vb2 and vb3 port where by me and scott posted the vb3 port becuase im unable to support it due to time, so i give him the vb3 port code to post.
Thanks :)

eXtremeTim
17 Jan 2004, 14:20
2.0.1 is now out. To upgrade from v2.0 just make your changes to the new _talkerbot.php file and replace the old v2.0 one.

NuclioN
17 Jan 2004, 17:18
Fatal error: Call to undefined function: strip_smilies() in /opt/www.../forums/_talkerbot.php on line 69 when you click on the 'Go advanced' button under quick reply

infernonet
17 Jan 2004, 17:41
sweet post thx :D

Moonlight
17 Jan 2004, 17:42
Fatal error: Call to undefined function: strip_smilies() in /opt/www.../forums/_talkerbot.php on line 69 when you click on the 'Go advanced' button under quick reply
Add before line 69:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Moonlight
17 Jan 2004, 17:46
It seems if you click on "Go Advanced", the bot reply to the post even though the post hasn't been "submitted" to the board yet.

rob_daemon
17 Jan 2004, 18:37
Thanks for pointing all that out. I will work on fixing all that right away.

rob about your error make sure that you set the correct path to the aiml files and chmoded them all to 777.

assassingod yes i do have permission from both the creator and rapid gaming.
I've double checked the chmod on all of the files... and the paths are correct:

$rootdir="/home/*******/www/gkwc/alice/aiml/";

Should there be anything in the `bots` table in the database? Mine doesn't have anything in it :\

corsacrazy
17 Jan 2004, 18:51
instructions say

Run the SQL file that is inside the sql folder in phpmyadmin


but there is no sql file :S

and when i compleate the bot loader it says

DONE LOADING
Inserted 0 categories into database

corsacrazy
17 Jan 2004, 19:03
and all he keeps sayin is

I'm not feeling very well at the moment, try again later.

macshrine
17 Jan 2004, 19:38
i installed it and it works great :) BUT how long before he stops saying "I am not feeling very well, try again later"? He's been saying that for the past day

P.Jackson
17 Jan 2004, 19:46
macshrine you need to import the sql into your forum databse from your hosts control panal then run the botloader again :)


also whats different in this one to the other one released few days ago?

AN-net
17 Jan 2004, 19:47
does this bot have a built in learning feature like the addon for the vb2 version of the bot, or is that addon intergrated into this version?

corsacrazy
17 Jan 2004, 19:54
macshrine you need to import the sql into your forum databse from your hosts control panal then run the botloader again :)


also whats different in this one to the other one released few days ago?where is the sql file mate?

NuclioN
17 Jan 2004, 20:02
Add before line 69:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



That worked tnx :)

tomshawk
17 Jan 2004, 20:52
where is the sql file mate?
He was probably in a rush, The SQL file is not in the zip

Here it is, unless there are additions that need to be added for the new version, this is the SQL file from V1

HTH

eXtremeTim
17 Jan 2004, 20:55
He was probably in a rush, The SQL file is not in the zip

Here it is, unless there are additions that need to be added for the new version, this is the SQL file from V1

HTH
sorry about that i will add them right away cant believe i did that.

eXtremeTim
17 Jan 2004, 20:58
Okay in about 5 minutes download the new zip it will have the sql files in it. You will need to run these in phpmyadmin and then run the botloader script again. This should fix all the problems with the bot not feeling well.

corsacrazy
17 Jan 2004, 21:02
phew i was losing my mind trying to find the sql file :) cheers

eXtremeTim
17 Jan 2004, 21:09
I have a fix for the go advanced and floodlimit checking. I will make an update file once i test these changes. Then i will release the new changes.

eXtremeTim
17 Jan 2004, 21:46
I've double checked the chmod on all of the files... and the paths are correct:

$rootdir="/home/*******/www/gkwc/alice/aiml/";

Should there be anything in the `bots` table in the database? Mine doesn't have anything in it :\
Rob try starting over from the begining. Seing as 2 of the 4 vb file edits have now changed hopefully you can find where you might have messed up at or what might have gone wrong. Also make sure that you have run the sql files that are now in the zip. Then run the botloader again.

rob_daemon
17 Jan 2004, 22:18
Rob try starting over from the begining. Seing as 2 of the 4 vb file edits have now changed hopefully you can find where you might have messed up at or what might have gone wrong. Also make sure that you have run the sql files that are now in the zip. Then run the botloader again.
Okay... I just ran the PHP files, and I'm looking at this:

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

But, there's nothing in the `bots` table...

Cyricx
17 Jan 2004, 22:21
Hmmm....

Help me out here, LOL

Point me to where the section is to configure the bot's settings? Such as fixing the percentage, and so on??

Cyricx

P.Jackson
17 Jan 2004, 22:37
_talkerbot

Cyricx
17 Jan 2004, 22:54
Hmmm, want to try that again? LOL

I'm sitting here trying to figure it out. LOL

But I find it a little odd that botloader would only load from the start to T... then it won't load the rest. So, :( Not sure what's going on.

Cyricx

macshrine
17 Jan 2004, 23:52
ok, i got it to work! its great :) i want to teach him new words, so my guests can ask him questions. how can i add new words to his vocab?

macshrine
18 Jan 2004, 00:48
Hmmm, want to try that again? LOL

I'm sitting here trying to figure it out. LOL

But I find it a little odd that botloader would only load from the start to T... then it won't load the rest. So, :( Not sure what's going on.

Cyricx
it takes ages to get past T

badboy1
18 Jan 2004, 03:01
Actually the loading is very very fast on my server. But that may just be my server is on a OC3 :P

eXtremeTim
18 Jan 2004, 04:08
ok, i got it to work! its great :) i want to teach him new words, so my guests can ask him questions. how can i add new words to his vocab?
its under the edit forum page. where you customise all a forums settings. You can set the rate of post there for each forum.

Merjawy
18 Jan 2004, 04:16
He knows a little french and german but its primary language is english.
hmmmm .. does that mean he won't be going to night school for arabic? I am gonna force him to learn Arabic anyway :)

oh btw.. how is he now.. I heard hes not feeling well :)

thnx mate its really a great hack and I need it badly but I will see if I can make some sence to him about arabic :)


cheers

macshrine
18 Jan 2004, 13:29
how do i set him to post in one thread? i just want him to post in one certain thread.

eXtremeTim
18 Jan 2004, 14:17
how do i set him to post in one thread? i just want him to post in one certain thread.
This feature has been removed becuase it wasn't working correctly

macshrine
18 Jan 2004, 14:27
is there anychance we can get it back? i really need it.

Catch-22|BL
18 Jan 2004, 14:35
Hey, looking good! :)

eXtremeTim
18 Jan 2004, 16:00
is there anychance we can get it back? i really need it.
Im looking to try and make it in the next version again.

rob_daemon
18 Jan 2004, 17:03
Tim, I still can't get him to work. The error message is the same: http://www.vbulletin.org/forum/attachment.php?attachmentid=15910

And, he just says he's not feeling well... should there be anything in the `bots` table in the database?

P.Jackson
18 Jan 2004, 18:18
yes you need to upload the SQL via phpmy admin then run the botloader again

macshrine
18 Jan 2004, 18:20
is there meant to be a pane in the admin cp for him? cause i dont have one.

eXtremeTim
18 Jan 2004, 18:26
is there meant to be a pane in the admin cp for him? cause i dont have one.No not yet there isn't. its all under the forum manger under editing each forums options there is one new feild there called. Rate Of Bots Posting

macshrine
18 Jan 2004, 18:44
if there isnt a pane now, how can i make a new category of words, a new AIML?

rob_daemon
18 Jan 2004, 18:56
yes you need to upload the SQL via phpmy admin then run the botloader again
That would be the eighth time I've done that... the SQL file just sets up the tables, it doesn't add anything into them. And I searched all of the botloader*.php files, and I found nothing about inserting information into that table... what should be in that table? Can I just manually add the information?

eXtremeTim
18 Jan 2004, 19:03
Rob i will lookinto this one. Sorry about the problems your having. I will see if i can find out whats cuasing this. P.S. do you have anything in the patterns table?

rob_daemon
18 Jan 2004, 19:18
Rob i will lookinto this one. Sorry about the problems your having. I will see if i can find out whats cuasing this. P.S. do you have anything in the patterns table?
Thanks :)

And, yes that table is filled...

eXtremeTim
18 Jan 2004, 19:45
hmm then that takes out the idea that the bot loader is not loading correctly.

rob_daemon
18 Jan 2004, 21:57
hmm then that takes out the idea that the bot loader is not loading correctly.
Can you post a dump of the bots table? See if uploading that fixes it...

milkmycow
19 Jan 2004, 09:50
:(

corsacrazy
19 Jan 2004, 10:39
when i submit a thread without any txt just the subjet field filled in i get this error

Database error in vBulletin 3.0.0 Release Candidate 2:
Invalid SQL: SELECT threadid FROM post WHERE postid=
mysql error: You have an error in your SQL syntax near '' at line 1
mysql error number: 1064

GamerzWorld
19 Jan 2004, 11:37
Loading startup.xml

Warning: fopen(/home/users/gamerzwo/forum/alice/aiml/startup.xml): failed to open stream: No such file or directory in /home/www/gamerzwo/forum/alice/src/admin/botloaderfuncs.php on line 508
could not open XML input

My path is correct and i set all fiels in Alice to CHMD 777 . Help, Willing to give someone access to help me >.<

eXtremeTim
19 Jan 2004, 15:42
Can you post a dump of the bots table? See if uploading that fixes it...
Thanks for reminding me about that. Ill do that in a bit and then post it here for you.

eXtremeTim
19 Jan 2004, 15:42
Loading startup.xml

Warning: fopen(/home/users/gamerzwo/forum/alice/aiml/startup.xml): failed to open stream: No such file or directory in /home/www/gamerzwo/forum/alice/src/admin/botloaderfuncs.php on line 508
could not open XML input

My path is correct and i set all fiels in Alice to CHMD 777 . Help, Willing to give someone access to help me >.<
make sure the folder is 777 also.

eXtremeTim
19 Jan 2004, 15:44
when i submit a thread without any txt just the subjet field filled in i get this error

Database error in vBulletin 3.0.0 Release Candidate 2:
Invalid SQL: SELECT threadid FROM post WHERE postid=
mysql error: You have an error in your SQL syntax near '' at line 1
mysql error number: 1064
This has nothing todo with my code changes. This bot will not execute till after all the vb3 error checking has run and if there is no text in the subject vb3's error checking will stop the post from being made and stop the bot from running.

GamerzWorld
19 Jan 2004, 19:00
make sure the folder is 777 also.

It is im willing to give you access. Do you have ICQ or MSN?

eXtremeTim
19 Jan 2004, 19:20
It is im willing to give you access. Do you have ICQ or MSN?
No right now i only have aim. But I still do not believe that it should be cuased from this modification. Are you sure your running the latest version 2.0.2 and another thing not sure why your vb3 is trying to select a postid on newthread submission anyway.

GamerzWorld
19 Jan 2004, 19:22
No right now i only have aim. But I still do not believe that it should be cuased from this modification. Are you sure your running the latest version 2.0.2 and another thing not sure why your vb3 is trying to select a postid on newthread submission anyway.

No problem with anything i just cant install it. When i try to run the step of the 30,000 queries i get that message. I have CHMOD them all correctly and also got the right link to it

eXtremeTim
19 Jan 2004, 19:33
No problem with anything i just cant install it. When i try to run the step of the 30,000 queries i get that message. I have CHMOD them all correctly and also got the right link to it
If you give me access ill take a look at it. Just let me know how you want to get the info to me. Email is not an option for at least the next 2 hours as im working on my server getting new stuff setup.

GamerzWorld
19 Jan 2004, 19:54
Pmed you it

wrongful
19 Jan 2004, 21:15
when talkerbot gets firstpost in a new thread the thread title doesn't show up on forum home. my bots name is lester and you can see the problem in this screenshot. can this be fixed?

eXtremeTim
19 Jan 2004, 21:30
i will look into that one.

GamerzWorld
19 Jan 2004, 21:40
i will look into that one.

And mine :rolleyes:

restless
20 Jan 2004, 02:13
i installed everything with no errors... but the little guy just isn't posting.

what's the deal with the whole "rateofbotposting" thing? do i have to edit that phrase?

eXtremeTim
20 Jan 2004, 04:25
to get him to post you must edit the forums permissions in which you want him to post and turn the rate of posting up :) 1-100 same as percents but without the percent sign.

eXtremeTim
20 Jan 2004, 04:26
And mine :rolleyes:I just thought about something check dbprefs.php and make sure you set the rootdir path.

milkmycow
20 Jan 2004, 06:31
i think im doing rootdir path wrong. what would mine probably be on a cpanel account server?

eXtremeTim
20 Jan 2004, 07:55
Its to hard to predict. It could be anything. The rootdir needs to be your absolute path. You can ask your host what this is to your root dir and then build apon it as needed.

milkmycow
20 Jan 2004, 08:05
would having that wrong cause the error in attachment i posted in my earlier post? on my install, it loaded the aiml files, then when i went to test, gave errors on reply

GamerzWorld
20 Jan 2004, 10:19
I just thought about something check dbprefs.php and make sure you set the rootdir path.

Im 100% sure its correct....

badboy1
20 Jan 2004, 10:57
i upgraded from v1 and now im getting the message Im Not feeling good right now ask again.... I read all the posts made previously from this one and no answer.

restless
20 Jan 2004, 23:38
my bot is replying immediately when someone posts with zero delay.

eXtremeTim
20 Jan 2004, 23:41
my bot is replying immediately when someone posts with zero delay.
That is how it is supposed to work. He is supposed to reply instantly

restless
20 Jan 2004, 23:44
dude.. he's freaking people out. when someone makes a post, his reply is there when their page redirects!

rob_daemon
21 Jan 2004, 01:00
Thanks for reminding me about that. Ill do that in a bit and then post it here for you.

Have you done that yet? My other admin is anxious about getting this bot up :P

eXtremeTim
21 Jan 2004, 02:58
the bots table is empty for me as well. :-/

macshrine
21 Jan 2004, 17:10
is this ok with rc3?

Massacure
21 Jan 2004, 22:19
eXtremeTime, I'm having the same problem as GamerzWorld was having. Can you tell me what you did to fix this problem for him?

eXtremeTim
21 Jan 2004, 23:33
Not sure if this is okay with rc3 but it should be. Since the actual code changes to the vb files are very small.

eXtremeTim
21 Jan 2004, 23:35
I have not had time to look at his problem with much detail yet. But if you both are not for the rootdir variable in dbprefs.php make sure your using the absolute path not your domain path or any ../ paths.

dano
22 Jan 2004, 00:42
make sure the folder is 777 also.
Yea thats what it is. I ended up just calling my host and having them chmod everything in alice to 777. Took like one min and it fixed the issue.

eXtremeTim
22 Jan 2004, 01:26
Glad you got it fixed.

tomshawk
22 Jan 2004, 08:57
Well, I thought i'd give it a try on RC3

If I go here

http://www.tomshawk.com/forums/alice/src/talk.html

and post something, it works, but, If I post from within the assigned board, it doesn't work.

No replies, no nothing

Any ideas?

Nevermind, it started working

I had to change the percentage of reply, it was set to 0, I had changed it to 1, That didn't work, I raised it to 100, For testing, It works now

tomshawk
22 Jan 2004, 09:42
Well, It's working on posts, I just cant reply to him

I tryed bth reply buttons and the quick reply, in all instances I get this error


Invalid SQL: SELECT postid, username, pagetext FROM post WHERE postid IN() AND postid <> 578 ORDER BY postid ASC
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND postid <> 578 ORDER BY postid ASC' at line 1
Thoughts?

dano
22 Jan 2004, 17:10
Clicks install

eXtremeTim
22 Jan 2004, 21:11
Make sure you have setup all the variables correctly in the _talkerbot.php file.

Leapfrog
22 Jan 2004, 22:27
Have you done that yet? My other admin is anxious about getting this bot up :P

That would be me!!! I am not anxious.

tomshawk
23 Jan 2004, 02:26
Nevermind, it is working now, Wierd

so in the future, if oyu get a SQL error or 2 after installing on RC3

Give it a few and try again

Dunno, But hey, it works ;)

thank you for this kewl addon

Clicked install a while ago, I wish I could do it again :p

eXtremeTim
23 Jan 2004, 03:46
That would be me!!! I am not anxious.Like i said tho the bots table is empty for me and you should have like around 30 entries in the bot table.
Is it just not replying? If thats the case do the following
open admin cp
go to the forum manager
edit the forum you want to allow the bot to post in
set the rate of bot posting this number is a percent just without the %. 0 will disable him from posting in that forum.

Leapfrog
23 Jan 2004, 04:39
No hes replying, but all he says is that hes not feeling well. No matter what we say thats all he says. I think Rob has installed him numerous times.

eXtremeTim
23 Jan 2004, 13:43
Can one of you give me ftp access and a acp login latter so i can go look at your problem.

Gamer sorry i havent gotten around to looking at your problem yet. Ive been really busy.

Xyphen
23 Jan 2004, 20:02
How can I change this answer?

"What is your name?"

Response "My name is Program E."

eXtremeTim
23 Jan 2004, 23:17
Edit the bot table. That contains most of the bots info like girlfriend and stuff like that.

eXtremeTim
26 Jan 2004, 03:38
Im looking to release a htl version for this hack latter tonight.

eXtremeTim
26 Jan 2004, 04:24
On second thought I will now be releasing tommorrow two versions. One will be an upgrade version to upgrade to 2.0.3 and the other will be a fresh install version. There will be several nice changes in the 2.0.3 version. The first being that this hack will now be full acp driven. The second is that it will also include the learner bot addon made by geographic2 with some of the changes i have made. This will also be fully acp controlled. I am making the upgrade version first since the way the htl works with the queries and stuff. After that I will go and add in the steps for its its a fresh install.

PET
26 Jan 2004, 21:23
hmm...here is a stupid question. What exactly this HACK is ? A b0t user ho posts messages ? How he post messages ? How he know what to post ? How do he "LEARN" ?

dano
26 Jan 2004, 22:04
On second thought I will now be releasing tommorrow two versions. One will be an upgrade version to upgrade to 2.0.3 and the other will be a fresh install version. There will be several nice changes in the 2.0.3 version. The first being that this hack will now be full acp driven. The second is that it will also include the learner bot addon made by geographic2 with some of the changes i have made. This will also be fully acp controlled. I am making the upgrade version first since the way the htl works with the queries and stuff. After that I will go and add in the steps for its its a fresh install.
Very cool

tomp
26 Jan 2004, 22:11
im getting an database error when i make a new topic in the forums the bot is active in:

its says:

Database error in vBulletin 3.0.0 Release Candidate 2:

Invalid SQL: SELECT threadid FROM post WHERE postid=168
mysql error: Table 'database name.post' doesn't exist

mysql error number: 1146

Date: Monday 26th of January 2004 05:17:27 PM
Script: http://forum.imaedia.com/newthread.php
Referer: http://forum.imaedia.com/newthread.php?do=newthread&f=22

dano
29 Jan 2004, 00:08
New versions yet?

eXtremeTim
29 Jan 2004, 02:37
Sorry new version was delayed for a bit due to first off all the problems with allowing htl only hacks and such. I will look to get it out latter this week.

Platinumgamer
29 Jan 2004, 23:57
Hi,

I've just installed this hack on vB3 RC3 and after following the instructions to a "T," I can't get the bot to reply at all...any thoughts on this? I saw a reply above that mentioned "Percentage of Bot Reply"...I've added the phrase as per the instructions, but as yet have not seen anywhere that this is used. Anyone have any thoughts on this, or know what the problem is?

Thanks,

-PG

dano
30 Jan 2004, 17:58
Sorry new version was delayed for a bit due to first off all the problems with allowing htl only hacks and such. I will look to get it out latter this week.
Looking forward to it.

stonecold1203
30 Jan 2004, 22:34
Do i need phpmyadmin?
What is that?

Run the SQL file that is inside the sql folder in phpmyadmin

Can i just run them manually through the admin panel?

C.Birch
30 Jan 2004, 22:48
yes you sould be able to run the sql via admin cp

stonecold1203
30 Jan 2004, 23:51
Loading startup.xml

Warning: fopen(): open_basedir restriction in effect. File(//web//sites//extremechatforums.com//public_html//www//forum//alice//aiml/startup.xml) is not within the allowed path(s): (/home/*:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/*/public_html/forum/alice/src/admin/botloaderfuncs.php on line 508

Warning: fopen(//web//sites//extremechatforums.com//public_html//www//forum//alice//aiml/startup.xml): failed to open stream: Operation not permitted in /home/*/public_html/forum/alice/src/admin/botloaderfuncs.php on line 508
could not open XML input

Platinumgamer
30 Jan 2004, 23:53
Loading startup.xml

Warning: fopen(): open_basedir restriction in effect. File(//web//sites//extremechatforums.com//public_html//www//forum//alice//aiml/startup.xml) is not within the allowed path(s): (/home/*:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/*/public_html/forum/alice/src/admin/botloaderfuncs.php on line 508

Warning: fopen(//web//sites//extremechatforums.com//public_html//www//forum//alice//aiml/startup.xml): failed to open stream: Operation not permitted in /home/*/public_html/forum/alice/src/admin/botloaderfuncs.php on line 508
could not open XML input

change //web//sites//extremechatforums.com//public_html//www//forum//alice//aiml/startup.xml

to your absolute directory path in dbprefs.php (/alice/src/admin/dbprefs.php I believe)...ex: /home/username/public_html/forum/alice/aiml/startup.xml

Edit: C.Birch or ExtremeTim, any thoughts on my issue posted above?

stonecold1203
31 Jan 2004, 00:54
Thanks for the help. But i'm still getting an error

Warning: fopen(subs.inc): failed to open stream: Permission denied in /home/tbbextra/public_html/forum/alice/src/admin/botloaderfuncs.php on line 85

Warning: fwrite(): supplied argument is not a valid stream resource in /home/tbbextra/public_html/forum/alice/src/admin/botloaderfuncs.php on line 77

Warning: fwrite(): supplied argument is not a valid stream resource in /home/tbbextra/public_html/forum/alice/src/admin/botloaderfuncs.php on line 77

Warning: fwrite(): supplied argument is not a valid stream resource in /home/tbbextra/public_html/forum/alice/src/admin/botloaderfuncs.php on line 77

Warning: fwrite(): supplied argument is not a valid stream resource in /home/tbbextra/public_html/forum/alice/src/admin/botloaderfuncs.php on line 77

Warning: fwrite(): supplied argument is not a valid stream resource in /home/tbbextra/public_html/forum/alice/src/admin/botloaderfuncs.php on line 77

Warning: fwrite(): supplied argument is not a valid stream resource in /home/tbbextra/public_html/forum/alice/src/admin/botloaderfuncs.php on line 77

Warning: fwrite(): supplied argument is not a valid stream resource in /home/tbbextra/public_html/forum/alice/src/admin/botloaderfuncs.php on line 77
DONE LOADING
Inserted 43347 categories into database

WARNING! You should password protect the admin directory or remove the botloader.php script or people may be able to abuse your server.
Click here to talk to the bot




execution time: 1182.38667
Templates per second=36.660595979148
Templates per minute=2199.6357587489

sjau
31 Jan 2004, 18:45
Where in the forum permissions can I set where the bot shall reply to?
I just can't seem to find that.

Platinumgamer
01 Feb 2004, 06:34
Where in the forum permissions can I set where the bot shall reply to?
I just can't seem to find that.

That would be in _talkerbot.php right underneath:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Unrelated -- I'd still like a response to my question, ExtremeTim...

-PG

sjau
01 Feb 2004, 07:54
Actually I was asking for the admincp forum permission where the probability can be set.
I just installed now everything from scratch, incl. RC3 and it works now.

I thought I had RC3 already installed but it turned out be Gamma.

Great work. :)

gmarik
01 Feb 2004, 12:51
Is it made only for English or how is it with other languages, for example Swedish? Any idea?!

sjau
01 Feb 2004, 12:58
It has some German integrated and I think someone mentioned that the users taught the bot to learn spanish...
If you have a lot of users you can make a private board where only you can talk to the bot and make him learn from all other boards.

hitmanuk2k
01 Feb 2004, 20:15
is there any chance of slowing down this thing so it doesnt reply straight away but a few minutes after?

Platinumgamer
02 Feb 2004, 01:18
is there any chance of slowing down this thing so it doesnt reply straight away but a few minutes after?

Yes, there should be a table named 'Percentage of Bot Reply' somewhere within the AdminCP / Forums Manager section. Change this to something like 75 or 50, that should slow the bot down a bit.

Edit -- I have my own problem to submit: eXtremetim, I've installed TalkerBot completely as per the instructions, and after setting the Rate of bot reply to 100, I get absolutely nothing. dbprefs are set, talkerbot was installed, the database is populated, yet nothing...also, the "bots" table has no content, yet the "bot" table does... botloader.php ran without a hitch and with no error message...any suggestions from anyone that's had this problem?

dethfire
03 Feb 2004, 20:12
erm I went through the install process error free and yet I don't have a table named bots or bot in my database

Platinumgamer
03 Feb 2004, 22:22
erm I went through the install process error free and yet I don't have a table named bots or bot in my database

Did you run db.sql in phpmyadmin?

Also, your profile states that you're using vBulletin 2.3.2; are you currently running vBulletin 3.0.0 RC 1 or better? (required for talkerbot 2.0.2)

eXtremeTim
04 Feb 2004, 00:11
Im not sure when I will get this released. I have alot of stuff of my own to work on and I really just dont have the time for the next version of this hack right now. Sooner or latter it will come.

Platinumgamer
04 Feb 2004, 23:36
Im not sure when I will get this released. I have alot of stuff of my own to work on and I really just dont have the time for the next version of this hack right now. Sooner or latter it will come.

Hi,

I understand that you have time constraints, most people do. However, could you please help some people out w/ the problems they're having with this hack?

dethfire
04 Feb 2004, 23:44
I am interested on how this bot "learns" and what the factors are. When I first install the bot and made some threads it was painfully unhelpful and obvious it was a bot. After a week it actually is showing signs of building off topics and it's really kinda neat to see. Sometimes its so funny!

milkmycow
09 Feb 2004, 10:42
http://www.milkmycow.com/forum/alice/src/talk.html

i get this error



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



any ideas?

Logikos
13 Feb 2004, 02:43
I'm hesitant to install this lol. I hope you all are installing this on a test board :)

eXtremeTim
14 Feb 2004, 18:47
http://www.milkmycow.com/forum/alice/src/talk.html

i get this error



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



any ideas?
You set your paths wrong in the _talkerbot.php file.

Catch-22|BL
16 Feb 2004, 04:12
Good work and this will be a very useful hack once everyone has it going. Take your time and I am waiting for HTL installation.

dano
16 Feb 2004, 17:16
Im not sure when I will get this released. I have alot of stuff of my own to work on and I really just dont have the time for the next version of this hack right now. Sooner or latter it will come.
Cant wait, I really want the learner part.

The Watcher
19 Feb 2004, 00:47
EXCELLENT HACK

Installed first time on RC2

What are the plans for the devlopment of this hack? Is there plans to add different personalities?

David S
23 Feb 2004, 18:25
Hi

I installed TalkerBot and it's working, great job !

I've got one little problem though;
Whenever someone posts a new thread in a forum you can see the 'Last Post' and 'Last Poster Name' in the main forum screen.

But, for any forum where the bot is active, i only see the 'lastposter name' (the bot) , and not the 'lastthread' description :s
This is very annoying, as you can't access the thread straight from the main screen by clicking on it.

I've checked the tables and i see in the table 'Forum' the field 'lastthread' is empty !

Any help would be greatly appreciated :nervous: .

David S
23 Feb 2004, 20:46
i've seen now it only happens when you create a new thread, and the bot replies.
If you reply again, the problem is fixed.

In other words, the problem seems to be 'newthread.php', not 'newreply.php'...

Holidazed
23 Feb 2004, 21:50
I am anxiously waiting for the HTL version of this hack. Any ideas what the timeframe is?

DjM2k2
28 Feb 2004, 19:02
im having a few probs,
Warning: file_get_contents(http://************/alice/src/talk.php?vbid=5&input=hello+hello+hello): failed to open stream: HTTP request failed! HTTP/1.1 401 Authorization Required in /home/**********/_talkerbot.php on line 82

if anyone can help?

Gio Takahashi
03 Mar 2004, 01:01
o.O I'm a little lost, is it supposed to say "Loading startup.xml" Through out the whole thing?

Gio Takahashi
04 Mar 2004, 22:58
I figured out the problem, I ran into a similar problem in vB3.

For those who gets the problem that just says "Loading startup.xml" throughout the whole process just add this line



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Anywhere in dbprefs.php, and that should work

(preferably the end before the "?>" part)

Osterling
07 Mar 2004, 10:55
does anyone know how to make your bot show up as online?

Blaine0002
07 Mar 2004, 21:21
i see this dosent work with rc4.... because whenever i post ANYwhere it says

"invalid thread or forum specified" or whatever..

Scrub
07 Mar 2004, 22:46
It works with RC4. :).

Blaine0002
08 Mar 2004, 00:28
well then why do i get that error?

Blaine0002
08 Mar 2004, 00:33
nm.. i just reuploaded the files and it works .L:P

Scrub
08 Mar 2004, 04:03
Maybe you need to reupload the files? :p

SmasherMaster
08 Mar 2004, 18:41
U hoh....My host won't allow openbase_dir to be unrestricted, is there ANY way to allow the bot to install without triggering the restriction? PLEASE HELP ME! =<

FoxFire2
10 Mar 2004, 02:38
How do I run the sql file in phpmyadmin? As in what do I type? I've ran queries before but I don't know how to execute files.

SmasherMaster
10 Mar 2004, 02:46
You use the browse to file on your computer (you must have extracted the sql dir from the talkerbot zip) and then select the DB file from the sql dir and then you can execute it.

Mike_XBLW
13 Mar 2004, 16:49
Warning: Cannot set time limit in safe mode in /home/httpd/vhosts/xblw.com/httpdocs/forum/alice/src/admin/botloaderfuncs.php on line 563
Loading data aiml file: D.aiml

Fatal error: Maximum execution time of 30 seconds exceeded in /home/httpd/vhosts/xblw.com/httpdocs/forum/alice/src/admin/botloaderfuncs.php on line 94


I get this for EVERY aiml file...help..

Mike

C.Birch
13 Mar 2004, 16:54
its your server settings, the server is timeing the files out before they get to fully run.

Mike_XBLW
13 Mar 2004, 16:56
Any idea on how to fix this? or get it loaded another way?
Never mind...I took out the set_time_limit lines....also for the timeout, I deleted the aiml files that already installed and ran again...seems to be loading fine now

Mike_XBLW
13 Mar 2004, 21:08
Well, it was going good...now it won't load any of the aiml files...I got a huge way down the list....so, I reinstalled them all...and it still won't load :(

Mike_XBLW
14 Mar 2004, 18:36
No not yet there isn't. its all under the forum manger under editing each forums options there is one new feild there called. Rate Of Bots Posting

I got everything installed, but do not have the new field....HELP!!! :)

Also, is there an uninstall if I can't get this to work?

SmasherMaster
16 Mar 2004, 21:06
Umm Tim, what about the PM I sent you? Any progress?

MaDCaT75
17 Mar 2004, 00:11
ok when I run the botloader.php I get this error:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



WTH am I doing wrong!?!? I will give access to all my files to anyone who can fix this!!!!

lasto
17 Mar 2004, 01:11
WTH am I doing wrong!?!? I will give access to all my files to anyone who can fix this!!!!

dont be posting stuff like that MC - im not saying that most of the people on here will rip you off but it takes only one to do it and you would of lost everything.I must admit ive had help myself from many a people on here (thanks to all) but be carefull who you allowing access to,as once they in,they got control of your site + your ftp space.Make sure if someone does the job for u - they are trustworty is all im saying.

Never be to eager to hand over details always take time out and then see if this hack is made for the version of vb u running - if it is then see exactly where u have gone wrong as most times it down to user error that makes most hacks not work.

Anyway hope u get it sorted.................. :)

MaDCaT75
17 Mar 2004, 01:20
I just am desperate to get it working cuz theres hardly any active posters on my forum argh!!!!!!

lasto
17 Mar 2004, 01:22
I just am desperate to get it working cuz theres hardly any active posters on my forum argh!!!!!!

wot version of vbull are u running ?

MaDCaT75
17 Mar 2004, 02:56
vb3 RC2 cant upgrade to RC4 cuz theres too many custom modifications that I cant get back

MaDCaT75
17 Mar 2004, 10:20
Well thank god I got it work now..... works like a charm..... but its tough to get the bot to learn stuff :)

Mike_XBLW
17 Mar 2004, 14:04
Wish I could get it to work...the aiml files keep timing out on me :(

ChuanSE
17 Mar 2004, 17:35
Works great thx a lot :D

/me clicks install


http://puredj.net/pdj.php (http://www.PureDJ.com)

MaDCaT75
17 Mar 2004, 22:53
What's the easiest way to get him to learn all the english phrases and slang words and stuff?

MaDCaT75
18 Mar 2004, 00:15
BTW why does he put <br></br> in some of his posts!?!?

Edit: this is just too funny:

http://www.sims2forums.com/forums/showthread.php?p=20324#post20324

edyonline
20 Mar 2004, 07:28
is this going to work for vbulletin 3.00 Gold ?

BillaBongUSA
20 Mar 2004, 09:48
Yes, works just fine for me on Gold.

MaDCaT75
20 Mar 2004, 10:20
Too bad I cant upgrade to gold :(

edyonline
20 Mar 2004, 15:09
Queries To Run:
ALTER TABLE `forum` ADD `mimicbotrop` INT( 5 ) DEFAULT '0' NOT NULL ;


How to do that if i don't have phpmyadmin?

how to do this?

Phrases To Add:
Name: rateofbotposting
Text: Rate Of Bots Posting<dfn>Setting this to 0 will disable him and a number 1-100 will be his percentage of replying.</dfn>

SmasherMaster
20 Mar 2004, 15:10
i'm STILL getting a openbase_dir restriction...Is there ANY way to install this without triggering that restriction? :(

C.Birch
20 Mar 2004, 15:12
How to do that if i don't have phpmyadmin?

how to do this?
both can be done via vb's admin cp.

ChuanSE
21 Mar 2004, 00:08
I just wonder why...?
If i turne of the chance, it works fine, replies to every post made...
If i turn chance on, it doesn't do a thing :/

poetic
22 Mar 2004, 03:07
Why is startup.xml not in there to load the db file?

gamerz2k.org
22 Mar 2004, 05:42
I just wonder why...?
If i turne of the chance, it works fine, replies to every post made...
If i turn chance on, it doesn't do a thing :/

It does the same thing for me.

Solice
22 Mar 2004, 07:25
I'm having a slight issue with this. I installed it and double checked everything but it doesn't seem to be working. Everything is set to 777 as well, any ideas?

Edit: By not working I meant that its not replying to posts or through the talk.html file. I'm not getting errors or anything of that sort.

milkmycow
22 Mar 2004, 18:43
im having a mind racking problem.

when i goto botloader.php to run it, im getting a 500 internal error



Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@milkmycow.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/1.3.29 Server


why the heck is it doing this

ManagerJosh
23 Mar 2004, 08:10
Talker Bot Hack v2.0.2
Hack By: Tim (eXtremeTim) Yarbrough
Website: www.extremechatforums.com (http://www.extremechatforums.com/)
Original: by: C-birch
Credits: Rapid Gaming (for porting it to vb3)

What This Hack Does.

This hack add a userlike bot to your forums. You can set which forum he will post in and how often he will reply to poeples posts. He will try and build his replies off the text that they posted. This bot will learn overtime slowly from your users posts. I will also be seeing about porting over the teachbot soon.

Some New Features
acp controlled Rate Of Post
ability to post as bot and he will not reply
post count will not go up in forums where post counts are turned off
a few options to turn off and on a few things including the script itself.
Some other stuff i just cant remember

Fixed in 2.0.2:
Go advanced feature works for quick reply.
Bot will no longer reply when post is stopped becuase of an error. (aka floodlimit, to many images, ect)

Fixed in 2.0.1:
Fixed a few minor problems including using the wrong variable in the if statement for the random smilie check.
fixed the install.txt problem used a find code that was from one of my modifications sorry about that.

Upgrading From v2.0.1 Instructions:
These are in the v202 upgrade file

Upgrading From v2.0.0 Instructions:
To upgrade from v2.0 just make your changes to the new _talkerbot.php file and replace the old v2.0 one.


Upgrading From v1 Instructions:
Just use the install.txt and do the forum.php in the acp directory edits.
Add the new phrase and run the query.


Todo List:
Move all settings to acp settings page
fix the floodcheck problem of bot still replying when users post is not made.
Clean up the code more
Figure out more stuff todo.

-=~=-=~=-=~=-=~=-=~=-=~=-=~=-=~=-
-=If You Like This Hack Please Click Install=-
-=~=-=~=-=~=-=~=-=~=-=~=-=~=-=~=-
Anyone tell me if this is anything like Program E aka TomBot?

ChuanSE
23 Mar 2004, 08:26
It does the same thing for me.


Hehehe, how stupid can i be :D
gamerz2k.org, go to your forum manager and choose the forum(s) where the bot is supposed to post. If you edit them, you will discover a setting for the bot, the value is a percent to post for the bot. After i changed that it works fine :D
(if setting forumid=all in dbprefs.php)

Tell me if ya found it ;)

bigtime
23 Mar 2004, 19:05
Has anyone successfully set this up on vb3 gold?

Vampireli0
27 Mar 2004, 14:59
great mod :D

got a question..

Phrases To Add:
Name: rateofbotposting
Text: Rate Of Bots Posting<dfn>Setting this to 0 will disable him and a number 1-100 will be his percentage of replying.</dfn>

i added it but where can i set it to 100 so it will reply to my posts?


ok found it :P stupid me..

love your mod :D:D:D:D

weaver
27 Mar 2004, 19:29
ChMod all folders and files to alice 777 I'm new to all of this... What does this mean?

**Okay I am proud because I at least know what the 777 does and how to find out what the current values are. I'm using an FTP program and when I right click and choose properties, I do see where I can change the CHMod Value. However, whenever I change it to 777 and click Apply, it doesn't change the value. Help! Also, am I understanding this part correctly... That the folder Alice and all subfolders and files should have a CHMod Value of 777?

****I have them all set to 777 now. It started letting me change it for some reason.

weaver
27 Mar 2004, 21:13
Login to phpmyadmin and check in the 'bots' table that the bot id is 0Where do I find the 'bots' table?

**I found it, but have no clue how to edit them with things like favorite drink, etc.

****Figured it out. :ermm: But my bot still isn't replying to anything and I've changed the rate setting to 100 in each of the forums I want her to post in.

weaver
27 Mar 2004, 23:09
It's working now and I'm lmao... Great hack. :D

bigtime
29 Mar 2004, 00:31
Just installed this on VB3 Gold. Great script!

http://www.defend.net/deluxeforums/forumdisplay.php?f=42

krash123
29 Mar 2004, 02:27
I've got it installed, properly I think...
but when a user trys to post in the forum I have him set to post in it gives an error like


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------




Can anyone tell me how to fix it?

Zoints
29 Mar 2004, 03:56
I thought there was a bug, I was wrong.

Question though: when editing the .AIML with notepad, I get this error when running the queries: XML error: xml declaration not at start of external entity at line 1

What is a good editor that will allow me to correctly edit these files?

Thanks!

weaver
30 Mar 2004, 02:51
Well my bot was running fine until I tried to install a new unrelated hack. "She" said once that she wasn't feeling well and to try again later and hasn't replied to anything again since then. I've since uninstalled the newer hack, but the bot is still quiet. Any ideas? I have no idea where to even look to see what the trouble could be.

Btw, I also noticed the occasional extra <br> 's. I'd like to know how to fix that as well.

***Oh brother! Somehow I had deleted _talkbot.php from my forum directory. It's all fixed now!

One more question though... I have noticed that she isn't using any smilies and she has almost 100 posts. Is this normal? I thought the random smilie meant she would insert some into her posts.

Leah
30 Mar 2004, 06:15
I dont know why, but I can't download the zip file. I get an error message saying that the zip file is corrupted. :(

ChuanSE
30 Mar 2004, 08:48
Well my bot was running fine until I tried to install a new unrelated hack. "She" said once that she wasn't feeling well and to try again later and hasn't replied to anything again since then. I've since uninstalled the newer hack, but the bot is still quiet. Any ideas? I have no idea where to even look to see what the trouble could be.

Btw, I also noticed the occasional extra <br> 's. I'd like to know how to fix that as well.

***Oh brother! Somehow I had deleted _talkbot.php from my forum directory. It's all fixed now!

One more question though... I have noticed that she isn't using any smilies and she has almost 100 posts. Is this normal? I thought the random smilie meant she would insert some into her posts.

try yourforumurl/yourbotfolder/src/admin/botloader.php in your browser

eXtremeTim
30 Mar 2004, 13:40
Turning on the random smilies will make the bot post smilies. Check the setting and make sure you have used the correct entry.

eXtremeTim
30 Mar 2004, 23:47
For support with this hack from here on out please go to http://www.vbhacks.us/forum/showthread.php?t=18 That is where you can find me for support for this hack from here on out.

alfaowner
31 Mar 2004, 12:22
Database error in vBulletin 3.0.0 Release Candidate 2:

Invalid SQL:
### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO forum
(forumid, title, description, link, displayorder, daysprune, parentid, mimicbotrop, newpostemail, newthreademail, styleid, password, options)
VALUES
(NULL, 'Admin Forum', 'Please ignore, running some tests today!', '', '1', '30', '-1', '', '', '', '0', 'pass', '24263')
mysql error: Unknown column 'mimicbotrop' in 'field list'

mysql error number: 1054

Date: Wednesday 31st of March 2004 01:09:52 PM
Script: http://www.alfaowner.com/Forum/admincp/forum.php
Referer:
Username: alfaowner
IP Address: *******

Any one know what is going on? i get this error when i now try and create a new forum? which was gonna be just a lounge for my bot!

The sql has been uploaded too!?

b6gm6n
01 Apr 2004, 01:22
Not impressed so far....

Question: which phrase section do you add the 'phrase'? i have yet to find it in the edit forum properties (very confusing)

I'm sorry to have found this hack in such an array of confusion and find it's install instructions stetchy, i do hope for an update soon as i'm still eager to get this working.

Edit : Loading the botloader.php file was fun also, after an hour waiting on a blank screen and my pc slowing down to a grinding halt i wondered if i was doing something wrong, out of the 10-20 times i've tried running botloader.php with the effects listed above (in various browsers) only once have i been able to actually see some kinda screen output (then it looked like it inserted nothing into my database)

The statement above was due to my firewalls tight security, if people have this problem again they must disable their firewall when running botloader.php (might be a referrer or javascript thing)

anyways, so i now have entires in my database, but blow me if the bot isn't doing much...nothing at all actually...still cannot find any setup 'phrase' - please advise

EDIT - Turn off 'chance of post' or set to zero and it works fine!

-b6

alfaowner
01 Apr 2004, 17:34
Database error in vBulletin 3.0.0 Release Candidate 2:

Invalid SQL:
### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO forum
(forumid, title, description, link, displayorder, daysprune, parentid, mimicbotrop, newpostemail, newthreademail, styleid, password, options)
VALUES
(NULL, 'Admin Forum', 'Please ignore, running some tests today!', '', '1', '30', '-1', '', '', '', '0', 'pass', '24263')
mysql error: Unknown column 'mimicbotrop' in 'field list'

mysql error number: 1054

Date: Wednesday 31st of March 2004 01:09:52 PM
Script: http://www.alfaowner.com/Forum/admincp/forum.php
Referer:
Username: alfaowner
IP Address: *******

Any one know what is going on? i get this error when i now try and create a new forum? which was gonna be just a lounge for my bot!

The sql has been uploaded too!?

I assume no ne can help me, I will have to uninstall, or at least try to, sorry

eXtremeTim
01 Apr 2004, 18:58
As I said there is no support on vb.org for this hack anymore. If you check out the thread that I linked to a few posts up you will see the answer to fixing this problem.

Aleksey
03 Apr 2004, 21:06
I get this error


Loading startup.xml

Warning: fopen(): open_basedir restriction in effect. File(//web//sites//extremechatforums.com//public_html//www//forum//alice//aiml/startup.xml) is not within the allowed path(s): (/home/aleksey:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/aleksey/public_html/hellforums/alice/src/admin/botloaderfuncs.php on line 508

Warning: fopen(//web//sites//extremechatforums.com//public_html//www//forum//alice//aiml/startup.xml): failed to open stream: Operation not permitted in /home/aleksey/public_html/hellforums/alice/src/admin/botloaderfuncs.php on line 508
could not open XML input


how can I fix that?

eXtremeTim
07 Apr 2004, 16:22
I get this error



how can I fix that?
You didnt edit the dbprefs file correctly. This is the last bit of support I will give for this hack here. Any more problems must be posted at www.vbhacks.us in the thread I linked to above. Any more problems posted here will not be answered.

Bro_Joey_Gowdy
10 Apr 2004, 19:06
Loading startup.xml

Warning: fopen("//web//sites//joeygowdy.com//public_html//www//forum//alice//aiml/startup.xml", "r") - No such file or directory in /www.joeygowdy.com/forum/alice/src/admin/botloaderfuncs.php on line 508
could not open XML input

Bro_Joey_Gowdy
13 Apr 2004, 18:01
Loading startup.xml

Warning: fopen("//web//sites//joeygowdy.com//public_html//www//forum//alice//aiml/startup.xml", "r") - No such file or directory in /www.joeygowdy.com/forum/alice/src/admin/botloaderfuncs.php on line 508
could not open XML input
Alrighty, I finally have the bot working. For future refferance I had to totally remove the vbprefix code from my database and forums in order for the Talker Bot to work.

http://www.vbhacks.us/forum/showthread.php?p=553

FatalBreeze
17 Apr 2004, 08:09
Hey dude there is a liitle problem i've edited alice/src/admin/dbprefs.php like i should have and it sends me an error that:
Warning: opendir(http://warez-storm.host-il.com/alice/aiml/): failed to open dir: not implemented in /home/warez/public_html/alice/src/admin/botloaderfuncs.php on line 531

Warning: readdir(): supplied argument is not a valid Directory resource in /home/warez/public_html/alice/src/admin/botloaderfuncs.php on line 532

Warning: closedir(): supplied argument is not a valid Directory resource in /home/warez/public_html/alice/src/admin/botloaderfuncs.php on line 540
DONE LOADING
Inserted 0 categories into database

WARNING! You should password protect the admin directory or remove the botloader.php script or people may be able to abuse your server.
Click here to talk to the bot




execution time: 0.073003
Templates per second=0
Templates per minute=0

And as you see it isnt running the queries...
I can bet it is a problem in this field:
# This is where all the AIML and startup.xml resides
$rootdir="../../aiml/";

I have edited it to set my forum but it doesnt work!
What can i do?

Bro_Joey_Gowdy
17 Apr 2004, 17:43
Hey dude there is a liitle problem i've edited alice/src/admin/dbprefs.php like i should have and it sends me an error that:
Warning: opendir(http://warez-storm.host-il.com/alice/aiml/): failed to open dir: not implemented in /home/warez/public_html/alice/src/admin/botloaderfuncs.php on line 531

Warning: readdir(): supplied argument is not a valid Directory resource in /home/warez/public_html/alice/src/admin/botloaderfuncs.php on line 532

Warning: closedir(): supplied argument is not a valid Directory resource in /home/warez/public_html/alice/src/admin/botloaderfuncs.php on line 540
DONE LOADING
Inserted 0 categories into database

WARNING! You should password protect the admin directory or remove the botloader.php script or people may be able to abuse your server.
Click here to talk to the bot




execution time: 0.073003
Templates per second=0
Templates per minute=0

And as you see it isnt running the queries...
I can bet it is a problem in this field:
# This is where all the AIML and startup.xml resides
$rootdir="../../aiml/";

I have edited it to set my forum but it doesnt work!
What can i do?
Go into ur vb control pannel , then goto ur php info, u will need to get ur full url addy from there

http://www.vbhacks.us/forum/showthread.php?p=553

JaNa
25 Apr 2004, 04:00
Great hack! He's a bit stupid at first, but it's fun!
/me Clicks Install

BTW, Do you think you could explain the learning system? :devious:

Reeve of shinra
26 Apr 2004, 04:16
Okay ive been mucking around and I cant seem to resolve this error I am getting.

Warning: file_get_contents(http://www.nytalk.net/board/alice/s...t+is+to+be+here): failed to open stream: No such file or directory in /home/nytalk/domains/nytalk.net/public_html/board/_talkerbot.php on line 82

---

All my files are chmod to 777 and the talker.php file seems to work okay by itself.

weaver
01 May 2004, 22:40
I'm getting the same error that you are. It just started a few days ago but had been working completely fine until then. There doesn't seem to be any support at the other site so I'm on the brink of uninstalling because of this error.

Reeve of shinra
03 May 2004, 04:31
Out of curiosity, which version of vb are you using snobbymom? I am trying this out on vb3.0.1

Lugnut
05 May 2004, 03:35
I just installed this but the bot it's not posting. I modified my mySQL tables to add a prefix to vb3. I also want to add a prefix to the talkerbot. How would I get this to work with my forum. I'm a novice at php/mysql.

jcr
08 May 2004, 04:43
I have a rather strange problem.


When posting in the forum i have set the talkerbot to reply, i get the message : "mydatabase.post does not exist", of course it does not, post is callled vb3_post, but where can I change so that it writes to vb3_post instead of post?

Intex
22 May 2004, 19:26
Can someone confirm that this works on 3.0.1?

Reeve of shinra
22 May 2004, 19:41
From what I know, no one using 3.0.1 has been able to get the hack to work correctly. :(

CreedFeed
26 May 2004, 08:53
I've installed it on 3.0.1 and it only replys to the first post of a thread. I'm trying to figure out why right now.

CreedFeed
26 May 2004, 09:13
Ok I made the following change to _talkerbot.php and it works now. I'm not responsible if this blows up your server though.

==========
Find the following in _talkerbot.php
==========

|| ($threadinfo["id"]!=""))


==========
Change this to
==========

|| ($threadinfo['threadid']!=""))

Intex
26 May 2004, 09:25
CreedFeed - good job. So did you just follow the basic installation and then just make the changes above to get it to work on 3.0.1?

CreedFeed
26 May 2004, 09:31
CreedFeed - good job. So did you just follow the basic installation and then just make the changes above to get it to work on 3.0.1?
Yes. And it works!

MaxScript
27 May 2004, 01:19
what is the commands to delete database of this hack ?

Reeve of shinra
27 May 2004, 02:02
I'm getting this error on 3.0.1... any clues as to what I screwed up?

Edit: the script itself works... I can get the bot to 'reply' to a query using the botloader part but its the vb intergration that doesnt seem to work.


Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/nytalk/domains/nytalk.net/public_html/board/_talkerbot.php on line 84

Warning: file_get_contents(http://nytalk.net/board/alice/src/t...sfds+fdsf+dsfds): failed to open stream: Resource temporarily unavailable in /home/nytalk/domains/nytalk.net/public_html/board/_talkerbot.php on line 84

Kalipo
27 May 2004, 19:41
Loading startup.xml

Warning: set_time_limit(): Cannot set time limit in safe mode in /usr/local/psa/home/vhosts/frozentoast.co.uk/httpdocs/alice/src/admin/botloaderfuncs.php on line 563
Loading data aiml file: 1.aiml

Warning: set_time_limit(): Cannot set time limit in safe mode in /usr/local/psa/home/vhosts/frozentoast.co.uk/httpdocs/alice/src/admin/botloaderfuncs.php on line 563
Loading data aiml file: 2.aiml

Warning: set_time_limit(): Cannot set time limit in safe mode in /usr/local/psa/home/vhosts/frozentoast.co.uk/httpdocs/alice/src/admin/botloaderfuncs.php on line 563
Loading data aiml file: 3.aiml

Warning: set_time_limit(): Cannot set time limit in safe mode in /usr/local/psa/home/vhosts/frozentoast.co.uk/httpdocs/alice/src/admin/botloaderfuncs.php on line 563
Loading data aiml file: 4.aiml

Warning: set_time_limit(): Cannot set time limit in safe mode in /usr/local/psa/home/vhosts/frozentoast.co.uk/httpdocs/alice/src/admin/botloaderfuncs.php on line 563
Loading data aiml file: 5.aiml

Warning: set_time_limit(): Cannot set time limit in safe mode in /usr/local/psa/home/vhosts/frozentoast.co.uk/httpdocs/alice/src/admin/botloaderfuncs.php on line 563
Loading data aiml file: 6.aiml

Warning: set_time_limit(): Cannot set time limit in safe mode in /usr/local/psa/home/vhosts/frozentoast.co.uk/httpdocs/alice/src/admin/botloaderfuncs.php on line 563
Loading data aiml file: 8.aiml

Warning: set_time_limit(): Cannot set time limit in safe mode in /usr/local/psa/home/vhosts/frozentoast.co.uk/httpdocs/alice/src/admin/botloaderfuncs.php on line 563
Loading data aiml file: 9.aiml

Warning: set_time_limit(): Cannot set time limit in safe mode in /usr/local/psa/home/vhosts/frozentoast.co.uk/httpdocs/alice/src/admin/botloaderfuncs.php on line 563
Loading data aiml file: A.aiml

Warning: set_time_limit(): Cannot set time limit in safe mode in /usr/local/psa/home/vhosts/frozentoast.co.uk/httpdocs/alice/src/admin/botloaderfuncs.php on line 563
Loading data aiml file: B.aiml

Warning: set_time_limit(): Cannot set time limit in safe mode in /usr/local/psa/home/vhosts/frozentoast.co.uk/httpdocs/alice/src/admin/botloaderfuncs.php on line 563
Loading data aiml file: C.aiml

Warning: set_time_limit(): Cannot set time limit in safe mode in /usr/local/psa/home/vhosts/frozentoast.co.uk/httpdocs/alice/src/admin/botloaderfuncs.php on line 563
Loading data aiml file: D.aiml

Warning: set_time_limit(): Cannot set time limit in safe mode in /usr/local/psa/home/vhosts/frozentoast.co.uk/httpdocs/alice/src/admin/botloaderfuncs.php on line 563
Loading data aiml file: E.aiml

Warning: set_time_limit(): Cannot set time limit in safe mode in /usr/local/psa/home/vhosts/frozentoast.co.uk/httpdocs/alice/src/admin/botloaderfuncs.php on line 563
Loading data aiml file: F.aiml

Warning: set_time_limit(): Cannot set time limit in safe mode in /usr/local/psa/home/vhosts/frozentoast.co.uk/httpdocs/alice/src/admin/botloaderfuncs.php on line 563
Loading data aiml file: G.aiml

Warning: set_time_limit(): Cannot set time limit in safe mode in /usr/local/psa/home/vhosts/frozentoast.co.uk/httpdocs/alice/src/admin/botloaderfuncs.php on line 563
Loading data aiml file: H.aiml

Fatal error: Maximum execution time of 30 seconds exceeded in /usr/local/psa/home/vhosts/frozentoast.co.uk/httpdocs/alice/src/admin/botloaderfuncs.php on line 491


How dp i remove set_time_limit() so it doesnt use that feature.. if i do this will it work from then on?

Scorpian
29 May 2004, 16:26
Is there any way to make the status of bot show online all of the time?

blueuniverse
04 Jul 2004, 12:15
I tried installing this mod, but when running http://www.yourdomain.co.uk/forums/alice/src/admin/botloader.php

I just get an error 500 - internal server error

All the files are CHModded to 777

I tried to ask for support on the author's main support page, but it wouldn't let me post.

phantium
06 Jul 2004, 22:47
I get this error:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 10240 bytes) in /home/web/*/public_html/*/alice/src/admin/botloaderfuncs.php on line 458

trainer
14 Jul 2004, 01:40
does no one give support for this hack anymore?

checked here and over at the listed support site and nothing really from the creators.

anyone taking this hack over?

hello
22 Jul 2004, 18:18
I tried installing this mod, but when running http://www.nrealm.uni.cc/forum/alice/src/admin/botloader.php

I just get an error 500 - internal server error

All the files are CHModded to 777

Paprika
25 Jul 2004, 00:18
I want to know how to make this bot really smarter and actually make more sense when it talks. The last bot I had installed was a bit smarter and formatted it's talk better, overall better but lol it based on the same stuff ... it had all of the AIML files.

Are there better bots out there I should look into?

I remember the last bot I had, it had a good built-in joke that no matter what you told it, it believed you lived in Atlanta.

Corvette
05 Aug 2004, 14:48
I have a little question, My current IPB forum is being updated to 2.0 and we have a Program E chat bot like this one called Noonbot which does not work on 2.0 . Is it possible to migrate the learnings of the IPB chat bot over to this one?

Corvette
05 Aug 2004, 18:51
Also why doesen't it have any real instructions?

Mr.X
07 Aug 2004, 11:40
does anyone have any idea on how to fix this?

Loading data aiml file: std-politics.aiml
Loading data aiml file: std-profile.aiml

Fatal error: Maximum execution time of 60 seconds exceeded in /home/virtual/site2/fst/var/www/html/vb3test/alice/src/admin/botloaderfuncs.php on line 479

it will load up up to std-profile.aiml

then says the 60sec exceeded

I added the @ and still nothing

thanks

Dorign
10 Aug 2004, 06:10
Does this even work with 3.0.3? I installed it but the bot wasn't talking in threads.. On PHPBB, the alice bot would respond automatically 100% of the time if you said the bot's set name. Does that function on this one, as well?

tomshawk
10 Aug 2004, 07:00
Does this even work with 3.0.3? I installed it but the bot wasn't talking in threads.. On PHPBB, the alice bot would respond automatically 100% of the time if you said the bot's set name. Does that function on this one, as well?
Yes, I have it working on 3.0.3

Works great ;)

Now, if only I could get the TalkerBot Add-on - Learning System (http://www.vbulletin.org/forum/showthread.php?t=60429&highlight=teach) working, that one never did work :(

Make sure you go into the forum manager and change the bot response from 0 to something else

Liquid1ce
17 Aug 2004, 06:17
You can make this bot crash your server if you set the setting to talk to anyone in that forum and simply say hello.

:D

maybe you should fix that hu?

dutchbb
22 Aug 2004, 12:20
Hm, its doesn't post or reply anything.

I have no bot table????

Geographic2
22 Aug 2004, 20:58
Now, if only I could get the TalkerBot Add-on - Learning System working, that one never did work


Yes it does...

Follow the directions.

ambrosious
24 Aug 2004, 04:38
Where, exactly, in the Admin CP, can I find the "frequency" of posts?

ambrosious
24 Aug 2004, 05:00
Found it, under "Forum Manager" then "Edit" the forums you want bot to talk in, and at the bottom is the percentage number, currently set at 0, change it to something higher.

P.Jackson
31 Aug 2004, 10:15
hmm well i had this installed awhile ago just re installed it catogaries etc where filled no errors but he's just not posting :/ can some1 have a look please ill pay

roundhost
01 Sep 2004, 09:11
You can make this bot crash your server if you set the setting to talk to anyone in that forum and simply say hello.

:D

maybe you should fix that hu?

You just put me off installing it! :mad:

italks
11 Sep 2004, 21:32
well using vbulletin 3.0.3 will it work for me.Just downloaded it but confused if it will work with it.

platnum
03 Oct 2004, 02:01
2 problems...

1) All he says is "I'm not feeling very well at the moment, try again later."

2) I get this error when I post a message... "Warning: file_get_contents(http://www.website.net/alice/src/talk.php?vbid=4&input=testing+again..+seems+to+be+an+error): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /home/name/public_html/_talkerbot.php on line 82"

Any clue? :( Was looking forward to this, lol.

Logikos
03 Oct 2004, 02:09
You need to chmod your directorys to 777.

akirauk
03 Oct 2004, 23:30
im using VB 3.0.3 and have made all the edits ect and uploaded, when i goto botloader.php and run it looks like its trying to install the .aiml files but its syaing

'0' files installed



it doesnt give any error messeges.

see attached screenshot for details.

in the test forum the bot seem to be working without any errors, but all it replys with is
sorry im feeling unwell, please try later..

http://www.project-a.co.uk/forum/forumdisplay.php?f=37 (un-test /pass-test)

ive cmod'd all files in the alice directory to 777 :)

many thanks for any advice, i had a similar ai bot on an invision board and it was one of the best hacks i installed. hope to get this one working