PDA

View Full Version : Major Additions - Talkerbot V2.2.3 (AI Posting Bot)


Pages : [1] 2 3 4

eXtremeTim
09-11-2006, 10:00 PM
Talker Bot Hack v2.5.0
Hack By: Tim (eXtremeTim) Yarbrough
Website: www.extremechatforums.com (http://www.extremechatforums.com/)

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.

Whats new in 2.5.0?
Cleanup of the code to allow better support for php5 users.
Simplified the steps to get the bot working.
Improved the code in various spots.
Fixed sloppy coding issues that remained from the original version of the hack.

Whats new in 2.2.4?

Start of php 5 compatibility fixes
Query errors
ajax cosmetics issue (should be fixed now but if not please let me know)
quite a few minor random things.

Whats new in 2.2.3?

Fixed a few bugs (didnt fix the php 5.1 issues yet till i have time to make sure they dont have an undesired effect)
Added code to make bot show up online.
Made bot show up as last poster correctly.
Fixed table prefix issue

Whats new in 2.2.2?

Cleaned up code a bit.
Fixed <br> problem
Improved bots sanity
Fixed alot of stuff.

To Upgrade from 2.2.4:

Upload all files import the new product.

To upgrade from 2.2.3:

Reupload src folder from the alice dir, install the product file, and upload ewt_talkerbot.php.

To upgrade from 2.2.2:

Reupload the src folder from the alice dir and also re upload the ewt_talkerbot.php file. No changes were made to the product file.

To upgrade from 2.2.1:

Overwrite the current product
Overwrite ewt_talkerbot.php


To Upgrade From 2.2.0:

Overwrite the current product. Upload ewt_talkerbot.php


To Upgrade From A Previous Version:

Just follow the install steps in the files becuase yea there was no prior version for vb3.6 so you should have no file edits to redo.

This version is much cleaner overall then all the previous version. I have removed a good deal of the code in the core alice bot that used to cuase errors. I have moved all the control settings into the admincp. Plus many other things including a much cleaner ewt_talkerbot.php file then the original _talkerbot.php file.


About v3

Yes version 3 is being planned out yet again. I had it finished at one point only to lose it when my computer was stolen a while back. So now im planning even more stuff for version 3. I will post information about v3 later.


AIML File:

I need aiml files. If you know where to get them or have a bunch you can send me please contact me via pm on here so I can get the files. (Needing more for the base package and some to start playing with the aiml sharing features of v3 https://vborg.vbsupport.ru/)


Demo: http://www.extremewebtech.com/forums/f761-talkerbot-testing-grounds
User/Pass: test2323/test2323

eXtremeTim
09-12-2006, 12:13 AM
Trouble shooting

If your bot doesnt reply in the forum.
1) check that you uploaded ewt_talkerbot.php to your forums dir
2) check the settings to make sure they are configured correctly
3) check to see if the bot responds at all http://domainname.com/pathtoforums/alice/src/talk.php?what+is+your+name?

kg4mxz
09-12-2006, 12:36 AM
Very Nice!

eXtremeTim
09-12-2006, 12:39 AM
Thanks put alot of time into this port up cleaning up the actual ai bot code while I was at it to make it more stable under different configurations of linux and windows.

Erwin
09-12-2006, 12:50 AM
I had it working in 3.5 and 3.6 but it was not compatible with PHP 5.1 - let's see how this goes. :)

eXtremeTim
09-12-2006, 12:55 AM
If somebody has a server with php 5.1 installed on it that I can work on the core bot engine on. I will be more then happy to work on php 5.1 compatibility issues. I am already planning a complete and more extensive rewrite of the core ai engine then what I have already done to it.

Oddjob
09-12-2006, 12:59 AM
Anyone got a live demo of this?

eXtremeTim
09-12-2006, 01:01 AM
Testing The Bot:
http://extremewebtech.com/forums/forumdisplay.php?f=13
user: tester
pw: 123test

eNforce
09-12-2006, 01:07 AM
Demo: http://www.areyouserios.com/showthread.php?t=265

Also in this thread you can see the bot is responding too quickly, it quoted and posted before my reply even registered lol... Any way to have a delay in it's reply, like at least 1 minute?

eXtremeTim
09-12-2006, 01:09 AM
It shouldnt run till after the other post is done being processed. Also i noticed it doesnt like replying when a quest posts so ill look into that issue.

Added a demo account to my post above that has the demo url.

I see that issue the one time. Let me know if it happens again and ill start looking for a way to delay him. I never looked at how to make a post using the datamanager that has a delay in time.

I will release an update shortly that fixes the bot and replying to guests.

eNforce
09-12-2006, 01:15 AM
Your first post mentions we can configure how often the bot replies, where do we edit this? It is not in the Admin CP

Edit: Yeah that problem with the bot posting before me seems to have only happened once, however finding a way to delay his response may still be appropriate... it may make it seem more.. realistic :P

eXtremeTim
09-12-2006, 01:20 AM
Your first post mentions we can configure how often the bot replies, where do we edit this? It is not in the Admin CP

Edit: Yeah that problem with the bot posting before me seems to have only happened once, however finding a way to delay his response may still be appropriate... it may make it seem more.. realistic :P
Sorry need to remove that line for now. That option was temporarily removed.

On second thought when i make this bug fix in a bit ill put that option back in place.

DementedMindz
09-12-2006, 01:28 AM
Demo: http://www.areyouserios.com/showthread.php?t=265

Also in this thread you can see the bot is responding too quickly, it quoted and posted before my reply even registered lol... Any way to have a delay in it's reply, like at least 1 minute?


lmfao your having a fun convo with the bot huh?

eXtremeTim
09-12-2006, 01:29 AM
Almost done with version 2.2.1 which brings back the rate of posting and fixes a bug relating to guests and posting in a forum where the bot replies when you are using the user account associated with the bot. ;)

V2.2.1 is now finished im just packaging it all up.

V2.2.1 is now available for download.

G_Man
09-12-2006, 02:07 AM
Holy Crap...

Dropped the D: from the path and works now Tim... :doh:

Seems be running, so what do we do to update to 2.2.1 ?

aveon
09-12-2006, 02:09 AM
interesting idea

eXtremeTim
09-12-2006, 02:13 AM
Holy Crap...

Dropped the D: from the path and works now Tim... :doh:

Seems be running, so what do we do to update to 2.2.1 ?
To Upgrade From 2.2.0:

Overwrite the current product. Upload ewt_talkerbot.php


Was in the first post ;)

G_Man
09-12-2006, 02:14 AM
To Upgrade From 2.2.0:

Overwrite the current product. Upload ewt_talkerbot.php


Was in the first post ;)


I was messing with it and you did all your edits WHILE I was posting. I just don't want you thinking I am that Lazy/dumb!! :p

Cheers Mate! Gonna upgrade and play with this!!!

eXtremeTim
09-12-2006, 02:15 AM
I dont think your dumb. :)

Enjoy it. I know I am. ;)

G_Man
09-12-2006, 02:22 AM
I dont think your dumb. :)

Enjoy it. I know I am. ;)


Um...

I set the number in the forum I am using him in and he is reply FASTER than my post is appearing!!

eXtremeTim
09-12-2006, 02:23 AM
Im already working on looking at the datamanager to see if there is a post time override.

G_Man
09-12-2006, 02:26 AM
Im already working on looking at the datamanager to see if there is a post time override.

I set it at 1 and he is still replying to every post VERY quickly. I am not trying to bug as much you as much as just give you some feedback....

I am posting here if you want to look:

http://www.afterseppuku.com/theforum/forumdisplay.php?f=15

I can PM you a login/password if you want. Gawd! I feel like a little kid with a new toy!! LOL

eXtremeTim
09-12-2006, 02:31 AM
I have now put in place a delay of 2 seconds. I will update the zip file in a second. The only file that needs to be done to get the update is replace ewt_talkerbot.php. I will let you know when its up.

eXtremeTim
09-12-2006, 02:37 AM
Updated the zip file now. he will still reply instantly but it will now show up after the post hes replying to.

The rate of posting is basicly an option to control the % of the time he will reply to a thread. Basicly a say 25% chance he will reply and to use it you must enable it from the options page.

XeroSolution
09-12-2006, 02:43 AM
I keep getting this error Warning: mysql_connect(): Access denied for user 'geek'@'localhost' (using password: NO) in /home/geek/public_html/alice/src/admin/dbprefs.php on line 57

I have checked the forum path in both fields in dbprefs.
I thought it could have been my pwd making use of the ['s so I tried a trick with that and ended up changing the whole db pwd to just alpha and numerics and still getting this.

$rootdir= "/home/geek/public_html/alice/aiml/";

require('/home/geek/public_html/includes/config.php');

$DB_HOST=$config['MasterServer']['localhost'];
$DB_UNAME=$config['MasterServer']['geek_vForum'];
$DB_PWORD=$config['MasterServer']['***********'];
$DB_DB=$config['Database']['geek_vForum'];

Any help with this please?

eXtremeTim
09-12-2006, 02:48 AM
You didnt need to edit thoose config variables. That is where i pull them from the vbulletin config file. So put thoose 4 lines back how they were and you will be fine.

Nathan_R
09-12-2006, 02:49 AM
I can't get my bot to respond :(

The "Click here to talk to the bot" after installation works, but he's not replying to any posts in my designated forum.

eXtremeTim
09-12-2006, 02:50 AM
Did you read the settings so see how to configure them correctly?

Nathan_R
09-12-2006, 02:56 AM
As far as I can tell, yes, it's set up correctly.

Is there any information I can post here to help troubleshoot?

G_Man
09-12-2006, 02:57 AM
Working Pretty Good now!!

I'll quit cluttering up your thread now. Just wanted to say thanks again for a great Hack and I'll be checking in daily for updates, since I can tell you like tinkering with this thing!! :D :D :D

Tork64
09-12-2006, 03:06 AM
lol very cool, installed.

Mr Chad
09-12-2006, 03:17 AM
I get this when i do: http://beasttoast.com/forum/alice/src/talk.php

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /var/www/vhosts/xxx.com/httpdocs/forum/alice/src/graphnew.php on line 125

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /var/www/vhosts/xxx.com/httpdocs/forum/alice/src/graphnew.php on line 231

Notice: Undefined variable: HTTP_GET_VARS in /var/www/vhosts/xxx.com/httpdocs/forum/alice/src/talk.php on line 32

Notice: Undefined variable: s_inputmatched in /var/www/vhosts/xxx.com/httpdocs/forum/alice/src/graphnew.php on line 55

Notice: Undefined variable: s_patternmatched in /var/www/vhosts/xxx.com/httpdocs/forum/alice/src/graphnew.php on line 57

Notice: Undefined variable: HTTP_GET_VARS in /var/www/vhosts/xxx.com/httpdocs/forum/alice/src/talk.php on line 35

Notice: Undefined variable: HTTP_GET_VARS in /var/www/vhosts/xxx.com/httpdocs/forum/alice/src/talk.php on line 41

Notice: Undefined variable: s_inputmatched in /var/www/vhosts/xxx.com/httpdocs/forum/alice/src/graphnew.php on line 55

Notice: Undefined variable: s_patternmatched in /var/www/vhosts/xxx.com/httpdocs/forum/alice/src/graphnew.php on line 57

also i have php 5.0

eXtremeTim
09-12-2006, 03:27 AM
For now find the following line in dbprefs.php and uncomment it.

//error_reporting(0);

becomes

error_reporting(0);

eXtremeTim
09-12-2006, 03:28 AM
pm me some info for your site (admin account and what forum you want the bot posting in)

Zia
09-12-2006, 03:29 AM
http://humor.extremechatforums.com/forums/forumdisplay.php?f=627 <--- You should be able to post as a guest.
User: TalkerbotTester
pw: testing


- MISSPRISS stats is "offline" and its replying [it should be online]
- this is Forum.Not irc/live chat
- while i klik post,after the page refresh i am seeing the reply..
- that makes it easier to identify itself as a bot.It should be delayed
- replied post could be more n more rich...so user cant identify it as bot

eXtremeTim
09-12-2006, 03:32 AM
Right now the bots posting showing up instantly is going to have to stay that way. I have spent hours working on figuring out how to get the bot to post on a delay and the few ideas i have that are decent still have some drawbacks. There will hopefully be a posting delay system implemented in version 3.

I am also working on the online stuff right now. Seeing how I would like to implement it.

Dark Riku
09-12-2006, 03:55 AM
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /var/www/vhosts/xxx.com/httpdocs/forum/alice/src/graphnew.php on line 125

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /var/www/vhosts/xxx.com/httpdocs/forum/alice/src/graphnew.php on line 231

Im having the same problem as he is

eXtremeTim
09-12-2006, 03:57 AM
Use the suggested temporary fix that I supplied for him. ;)

BETIServices
09-12-2006, 04:45 AM
MySQL Error : Unknown column 'mimicbotrop' in 'field list'
Error Number : 1054

Attilitus
09-12-2006, 04:52 AM
Hey, an easy solution to the post delay problem would to have an option to automatically send all bot responses to the moderation queue to be manually monitored.

hippsta
09-12-2006, 05:50 AM
Run http://www.yourdomain.co.uk/forums/alice/src/admin/botloader.php this can take a good 30 min because it runs 300,000 queries

I'm having a slight problem, this part only takes 0.78 seconds and says it doesn't create anything.

Also, the bot only says: "i'm sorry but i was unable to form a reply right now"
I'm kinda new to MySql so i wasn't too sure but the 'bot' and 'bots' tables are in the db, and i think the bot id is 3?

Any help greatly appreciated. ^.~

Ntfu2
09-12-2006, 06:31 AM
Do you still need some place to test with php 5.1.5 available?

If so let me know. Thanks

Snake
09-12-2006, 07:08 AM
Thanks a bunch for the 3.6 version! :)

rob30UK
09-12-2006, 10:58 AM
Could you possibly let me know how I may add rules from additional AIML files to improve the knowldge?

I have found a lot of AIML files on many subjects and think I can get a good little bot going here :D

adwade
09-12-2006, 11:02 AM
Thanks put alot of time into this port up cleaning up the actual ai bot code while I was at it to make it more stable under different configurations of linux and windows.
Just wanted to say, this is a novel concept. Congrats on thinking outside the box, or 'bot' as the case may be here. :laugh:

Nice thing is, I would assume it could be programmed to form replies specific to a forum's general theme. For instance, ours is Recumbent Bicycling.

Don't know anything about aiml files (yet), but plan to look into them a bit now.

Again, Thanxx for the very interesting MOD here!:D

adwade
09-12-2006, 11:13 AM
AIML File:

I need aiml files. If you know where to get them or have a bunch you can send me please contact me via pm on here so I can get the files.

FYI, I just tripped across this site with lots of AIML info on it:

http://www.alicebot.org/aiml.html

Erwin
09-12-2006, 12:12 PM
For compatibility with PHP 5.x.x, you need to ensure you change all php files from:


<?


to


<?php


This should be done for \src\plugins\customtags.php and \src\tester.php

I'm getting a Quick Reply AJAX error for some reason... still trying to troubleshoot that... :)

Mr Chad
09-12-2006, 12:16 PM
For compatibility with PHP 5.x.x, you need to ensure you change all php files from:


<?


to


<?php


This should be done for \src\plugins\customtags.php and \src\tester.php

I'm getting a Quick Reply AJAX error for some reason... still trying to troubleshoot that... :)
i have quick tags enabled tho.

Erwin
09-12-2006, 12:39 PM
Oh yeah, don't forget subs.inc - you need to also change <? to <?php for php5 to work properly...

Erwin
09-12-2006, 12:43 PM
Yup, working for me on php 5.1 once I fixed up the <? to <?php issue, including the .inc files which are also included.

Erwin
09-12-2006, 01:01 PM
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /var/www/vhosts/xxx.com/httpdocs/forum/alice/src/graphnew.php on line 125

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /var/www/vhosts/xxx.com/httpdocs/forum/alice/src/graphnew.php on line 231


To get rid of these errors is easy (I assume you're using PHP 5.x.x too?)

Edit graphnew.php

Find in line 125:


$newword=fastforward($word,&$ffremains);


Replace with:


$newword=fastforward($word,$ffremains);


Then find in line 231 the same thing:


$newword=fastforward($word,&$ffremains);


Replace with:


$newword=fastforward($word,$ffremains);


Fixed! :)

Mr Chad
09-12-2006, 01:01 PM
anyway you can hook me up with the fixed one :D

Prisoner
09-12-2006, 01:10 PM
Edited:

I got it, thanks.

Mr Chad
09-12-2006, 01:15 PM
thanks ill do changes when i get home. :D.

Nathan_R
09-12-2006, 01:42 PM
pm me some info for your site (admin account and what forum you want the bot posting in)

PM sent. Thanks! :)

bashy
09-12-2006, 03:48 PM
Hi peeps

All i get when the bot replies is this:
Im sorry but I was not able to form a reply right now

Can anyone advise, have i done something wrong or is this normal, if its normal then it dont make for a good post, more so when theres about 10 of the same post lol

Any advice please?

Prisoner
09-12-2006, 04:28 PM
I ran the install completely but it is not responding to posts made in the designated forum.

euan doc
09-12-2006, 05:02 PM
I keep getting the following database error when I try changing the rate at which the bot posts


Database error in vBulletin 3.6.0:

Invalid SQL:
UPDATE vb3forum SET
title_clean = 'General Chat',
title = 'General Chat',
description_clean = 'chat away in here',
description = 'chat away in here',
link = '',
displayorder = 1,
parentid = 1,
daysprune = -1,
defaultsortfield = 'lastpost',
defaultsortorder = 'desc',
showprivate = 0,
newpostemail = '',
newthreademail = '',
### Bitfield: vb3forum.options ###
options = IF(options & 8, options - 8, options),
options = IF(options & 16, options - 16, options),
options = IF(options & 32, options - 32, options),
options = IF(options & 32768, options - 32768, options),
options = IF(options & 8192, options, options + 8192),
options = IF(options & 4, options, options + 4),
options = IF(options & 1, options, options + 1),
options = IF(options & 2, options, options + 2),
options = IF(options & 16384, options, options + 16384),
options = IF(options & 256, options - 256, options),
options = IF(options & 64, options, options + 64),
options = IF(options & 128, options, options + 128),
options = IF(options & 512, options, options + 512),
options = IF(options & 1024, options, options + 1024),
options = IF(options & 2048, options, options + 2048),
options = IF(options & 4096, options, options + 4096),
options = IF(options & 65536, options, options + 65536),
styleid = 0,
password = '',
fdebates = 1,
mimicbotrop = '50'
WHERE forumid = 10;

MySQL Error : Unknown column 'mimicbotrop' in 'field list'
Error Number : 1054
Date : Tuesday, September 12th 2006 @ 02:01:29 PM
Script : http://www.edinburghclubbing.co.uk/vb/admincp/forum.php?do=update
Referrer : http://www.edinburghclubbing.co.uk/vb/admincp/forum.php?do=edit&f=10
IP Address : 80.192.32.124
Username : EuanS2
Classname : vb_database

Meta
09-12-2006, 05:04 PM
I can't get my bot to respond :(

The "Click here to talk to the bot" after installation works, but he's not replying to any posts in my designated forum. So sorry ... i have the same problem.

"Click here to talk to the bot" works fine, everything controlled more than twice. Permissions set to 777, options set to post and read in forum #58, he shall write as user #193 (called Hubert), which is the one who worked for us yet in the last version of talkerbot.

The rate of bots posting in #58 is set to 100. Also we tried it with "Use Rate Of Posting System" set to "no". Of course "Talkerbot Active" is set to "yes" and the plug-in-system is enabled.

I think, we have done everything as described in the TalkerBotInstall.txt ... but what happens is nothing. No reaction ... neither a post nor a error ... absoluty nothing.

I'm so sorry for bothering you with posts like this one. But i will be very glad if you have an idea what could be wrong.

Thank you in advance!



(Poor english, i know. I do my best.)

Prisoner
09-12-2006, 05:50 PM
So sorry ... i have the same problem.

"Click here to talk to the bot" works fine, everything controlled more than twice. Permissions set to 777, options set to post and read in forum #58, he shall write as user #193 (called Hubert), which is the one who worked for us yet in the last version of talkerbot.

The rate of bots posting in #58 is set to 100. Also we tried it with "Use Rate Of Posting System" set to "no". Of course "Talkerbot Active" is set to "yes" and the plug-in-system is enabled.

I think, we have done everything as described in the TalkerBotInstall.txt ... but what happens is nothing. No reaction ... neither a post nor a error ... absoluty nothing.

I'm so sorry for bothering you with posts like this one. But i will be very glad if you have an idea what could be wrong.

Thank you in advance!



(Poor english, i know. I do my best.)
This is exactly the same problem that I am having.

bashy
09-12-2006, 06:19 PM
With regards to my post
This is literally all i get out of the bot "Im sorry but I was not able to form a reply right now"

Its replying ok i have set it to about 15, its just that it dont reply with any sort of normallity lol, its that same phras over and over :(
Its replied about 15 times now with the same phrase!
I have had to disable it for now :(

Does this look about right?

# This is where all the AIML and startup.xml resides
$rootdir= "/usr/home/bashys/domains/bashys-place.com/public_html/forums/alice/aiml/";

require('/usr/home/bashys/domains/bashys-place.com/public_html/forums/includes/config.php');

$DB_HOST=$config['MasterServer']['localhost'];
$DB_UNAME=$config['MasterServer']['REMOVED'];
$DB_PWORD=$config['MasterServer']['REMOVED'];
$DB_DB=$config['Database']['REMOVED'];

hippsta
09-12-2006, 06:24 PM
My Previous Post still Applies here...

Run http://www.yourdomain.co.uk/forums/a.../botloader.php this can take a good 30 min because it runs 300,000 queries

I'm having a slight problem, this part only takes 0.78 seconds and says it creates 0 categories.

Also, the bot only says: "i'm sorry but i was unable to form a reply right now"

I'm kinda new to MySql so i wasn't too sure but the 'bot' and 'bots' tables are in the db, and i think the bot id is 3, can't figure out how to change it... and i'm using PHP 4.31 apparently >.<

Any help greatly appreciated. ^.~

hippsta
09-12-2006, 06:26 PM
Oh Bashy there was a post before where Tim said not to change the:

$DB_HOST=$config['MasterServer']['servername'];
$DB_UNAME=$config['MasterServer']['username'];
$DB_PWORD=$config['MasterServer']['password'];
$DB_DB=$config['Database']['dbname'];

because thats where Alice grabs the info from VB

bashy
09-12-2006, 06:52 PM
Is this right?
So how does it know where to get the database info then, does it get this from VB itself?

hippsta
09-12-2006, 06:56 PM
presumeably so, which php version are u using?

Neal-UK
09-12-2006, 07:43 PM
When I make a post, nothing happens.

I've no idea what i'm doing in phpMyadmin for this bot thing.

It's settings via vBulletin are fine however...

bashy
09-12-2006, 08:01 PM
Not sure of the php version but it aint 5 lol 4. sommat
Also my bot aint posted since removing my db settings from the file

eXtremeTim
09-12-2006, 08:21 PM
MySQL Error : Unknown column 'mimicbotrop' in 'field list'
Error Number : 1054
That query should be run by the product for version 2.2.1

eXtremeTim
09-12-2006, 08:22 PM
Could you possibly let me know how I may add rules from additional AIML files to improve the knowldge?

I have found a lot of AIML files on many subjects and think I can get a good little bot going here :D
What you do is add them into the aiml folder and basicly just run the bot loader again. ;)

bashy
09-12-2006, 08:23 PM
Ok i have set

$DB_HOST=$config['MasterServer']['servername'];
$DB_UNAME=$config['MasterServer']['username'];
$DB_PWORD=$config['MasterServer']['password'];
$DB_DB=$config['Database']['dbname'];

Back to exactly that, and it still only posts Im sorry but I was not able to form a reply right now

I know it has limited vocabulary but this is bad lol

Please see image, is this correct as i cant see how to check if its 0 or 1 also i aint sure what to chage if it is wrong lol

eXtremeTim
09-12-2006, 08:32 PM
Everybody whos bot doesnt post you did make sure to set the permisions for the bot so that he could actually post in the forum your trying to use him in correct? Since it factors in the standard vBulletin permissions becuase of the datamanager.

Everybody I just woke up and im trying to sort thro this nice list of things that im waking up to. lol

Neal-UK
09-12-2006, 08:36 PM
In the vb options yes, forum id's correct and the user id also.

I've named my bot "My Site Name" Bot also....

eXtremeTim
09-12-2006, 08:50 PM
Everybody whos bot is not posting in the forums please go to http://pathtoyourforums.com/alice/src/talk.php?input=How+are+you? and see if the bot replies there.

bashy
09-12-2006, 08:55 PM
Mine replied "They are fine as far as I know."
Yet does not reply like that in the forum it says "Im sorry but I was not able to form a reply right now" all the time lol

EDIT

I have just ran the botloader again and it appears to be working ok now!!

Neal-UK
09-12-2006, 08:56 PM
Fair to partly cloudy. was the response on GB Pride.

Yet does not reply like that in the forum it says "Im sorry but I was not able to form a reply right now" all the time lol - I get nothing

Meta
09-12-2006, 09:06 PM
Ich habe auf Dich gewartet. ... what means: "I've been waiting for you."

(Hubert is german, so he speaks german.)

I also logged me in as Hubert (#193) to see, if he can write in Forum #58 (our Test-Forum). No problem. He can ... but he won't.

eXtremeTim
09-12-2006, 09:08 PM
Working right now to implement the newest alice engine which will be nice becuase it will start laying the groundwork for v3 which will have multiple bot support.

eXtremeTim
09-12-2006, 09:09 PM
I think alot of the problems are cuased by the shotty old alice engine.

Dermo-MIO
09-12-2006, 09:11 PM
i like this im going to install it when i get free time from collge, can i ask you your guest message with adds is that a hack you created and if so are you planning on releasing it on here ? thanks

kg4mxz
09-12-2006, 09:23 PM
My botloader.php file gets to a point (it varies, but usually between A-I) snd stops. I think it is my browser (FF 1.5) but am not sure. Any idea?

SkyCatcher
09-12-2006, 09:24 PM
Hmm, I'm not getting anything. 1st my safe mode was on so I turned that off and chmodded alice dir and subdirs to 777.

Ran the botloader and it went all the way through but at the bottom it said 0 inserted for everything.

It created the bot tables but the fields were empty.

I tried the talk and tester programs but when I type something into the box I get a blank screen for a reply.

The tester says:

Response:

basically, it's blank.

Not sure what went wrong.

eXtremeTim
09-12-2006, 09:36 PM
I already have in my hands the new alice engine and I have been playing with it some but its going to require a bit of work to get it to the point where I can see about using it for this purpose. Since it seems to have some conflicts with vbulletin.

eXtremeTim
09-12-2006, 09:38 PM
I am going to post a set of steps and things to help you guys debug your installs. Becuase I am getting flooded with messages.

Prisoner
09-12-2006, 10:46 PM
So sorry ... i have the same problem.

"Click here to talk to the bot" works fine, everything controlled more than twice. Permissions set to 777, options set to post and read in forum #58, he shall write as user #193 (called Hubert), which is the one who worked for us yet in the last version of talkerbot.

The rate of bots posting in #58 is set to 100. Also we tried it with "Use Rate Of Posting System" set to "no". Of course "Talkerbot Active" is set to "yes" and the plug-in-system is enabled.

I think, we have done everything as described in the TalkerBotInstall.txt ... but what happens is nothing. No reaction ... neither a post nor a error ... absoluty nothing.

I'm so sorry for bothering you with posts like this one. But i will be very glad if you have an idea what could be wrong.

Thank you in advance!

(Poor english, i know. I do my best.)

This is exactly the same problem that I am having.

Problem solved. Like a dummy, I failed to upload the ewt_talkerbot.php to the forums directory.

Tim, you might want to include that in the instructions.

Thanks.

Clicking Installed!

Erwin
09-12-2006, 11:13 PM
To get rid of these errors is easy (I assume you're using PHP 5.x.x too?)

Edit graphnew.php

Find in line 125:


$newword=fastforward($word,&$ffremains);


Replace with:


$newword=fastforward($word,$ffremains);


Then find in line 231 the same thing:


$newword=fastforward($word,&$ffremains);


Replace with:


$newword=fastforward($word,$ffremains);


Fixed! :)
Anyone tried this and getting a side effect of the bot not remembering things being discussed?

Mmm...

Tim, did you change any of the variables in the new code compared to the old code?

eXtremeTim
09-13-2006, 12:21 AM
If you get the new zip and replace your forums ewt_talkerbot.php file he should remember the convos more effectively now. There was a typo in there where i forgot to update $bbuserinfo to $vbulletin->userinfo so it wasnt effectively tracking sessions.

Mr Chad
09-13-2006, 12:27 AM
erwin i made your changes but still when running the talk.html and entering data i still get:

Notice: Undefined variable: HTTP_GET_VARS in /var/www/vhosts/xxx.com/httpdocs/forum/alice/src/talk.php on line 32

Notice: Undefined variable: s_inputmatched in /var/www/vhosts/xxx.com/httpdocs/forum/alice/src/graphnew.php on line 109

Notice: Undefined variable: s_patternmatched in /var/www/vhosts/xxx.com/httpdocs/forum/alice/src/graphnew.php on line 113

Notice: Undefined variable: HTTP_GET_VARS in /var/www/vhosts/xxx.com/httpdocs/forum/alice/src/talk.php on line 35

Notice: Undefined variable: HTTP_GET_VARS in /var/www/vhosts/xxx.com/httpdocs/forum/alice/src/talk.php on line 41

Notice: Undefined variable: s_inputmatched in /var/www/vhosts/xxx.com/httpdocs/forum/alice/src/graphnew.php on line 109

Notice: Undefined variable: s_patternmatched in /var/www/vhosts/xxx.com/httpdocs/forum/alice/src/graphnew.php on line 113

eXtremeTim
09-13-2006, 12:44 AM
yea im still updating things to remove all the old vars such as HTTP_GET_VARS. Since thoose should be $_GET.

G_Man
09-13-2006, 01:29 AM
If you get the new zip and replace your forums ewt_talkerbot.php file he should remember the convos more effectively now. There was a typo in there where i forgot to update $bbuserinfo to $vbulletin->userinfo so it wasnt effectively tracking sessions.


Tim,

You are updating this thing so quickly, I am having trouble remembering/knowing if I have the latest version. When you update, could you take 10 seconds and add another .1/.2/.3 or summat. This way I'll know by the file name if I have the latest version.

And again, applause for this fun Mod and your efforts!!

Wade

eXtremeTim
09-13-2006, 01:43 AM
Vbulletin.org lets ya know when i release a minor bug fix becuase it changes the installed to green and i believe it says updated. ;)

But yes I have been updating faster then even I can keep up with for updating the version numbers lol.


Right now im hoping to let v2.2.1 sit for a while so I can start working on v3. :) But I will still fix issues with 2.2.1 as they are pointed out and any features i make for v3 that I can implement into v2.2 I will see about doing so.

issa
09-13-2006, 02:46 AM
I am using EWT - Talkerbot v2.2.1, and even though I've even tried entering the install queries manually, I'm still getting this old error whenever I try to set the bot's ROP:

Database error in vBulletin 3.6.0:

MySQL Error : Unknown column 'mimicbotrop' in 'field list'
Error Number : 1054

Mr Chad
09-13-2006, 02:57 AM
what about s_ vars

eXtremeTim
09-13-2006, 03:02 AM
run the following query on your database. (remember if you use a table prefix to append it)

ALTER TABLE `forum` ADD `mimicbotrop` INT( 5 ) DEFAULT '0' NOT NULL ;

issa
09-13-2006, 03:02 AM
i dont really understand sql, but this query seems incorrect

ALTER TABLE `forum` ADD `mimicbotrop` INT( 5 ) DEFAULT '0' NOT NULL ;

`forum` should not be literal, but should instead be the name of the target forum. changing this to my forum's name fixed the error.

edit: i came back to post this before i saw your post. when using the install xml, the forum prefix is not appended as you wish.

eXtremeTim
09-13-2006, 03:04 AM
yea i realize i did forget to put the forum prefix in now. Ill update the xml shortly.

bashy
09-13-2006, 04:12 AM
Can this create new threads?
If not, do you think it would be possible?

eXtremeTim
09-13-2006, 04:54 AM
I is theoretically possible for me to make it so it can create threads every so often via some random timing and a cron script. Not exactly sure how I would go about doing that but I will definately look into it.

Meta
09-13-2006, 08:07 AM
Problem solved. Like a dummy, I failed to upload the ewt_talkerbot.php to the forums directory. Yes ... that was the problem. Very funny. Silly me. Now it works, thanks a lot!

hugh_
09-13-2006, 08:25 AM
How can I uninstall this hack? Is it just a matter of removing the product and dropping the two tables called bot and bots?

Meta
09-13-2006, 08:34 AM
Hm ... works almost fine now. But there's another funny problem ... and it's hard to explain. Hubert (the Name of the bot) doubles his posts. Example:


me: Hallo

he: (something)

me: Hallo again


Result:

me: Hallo

he: (something)

he: (same something)

me: Hallo again

he: (something new)



Very confusing. Any idea?

bashy
09-13-2006, 08:35 AM
Nice 1, thi would be a great added bonus...
It might wake up some of the members


I is theoretically possible for me to make it so it can create threads every so often via some random timing and a cron script. Not exactly sure how I would go about doing that but I will definately look into it.

Meta
09-13-2006, 08:57 AM
Hm ... works almost fine now. But there's another funny problem ... and it's hard to explain. Hubert (the Name of the bot) doubles his posts. Example:


me: Hallo

he: (something)

me: Hallo again


Result:

me: Hallo

he: (something)

he: (same something)

me: Hallo again

he: (something new)Update: It only happens (the doubling of posts), if the same user talks again to Hubert. If another user talks to Hubert it works fine. But if the same user "answers" to Hubert, he will double his "pre-post".


Another strange thing: If Hubert answers, of course he is at least for a moment the last poster in the thread. On the searchresult-page (getnew/getdaily) it shows up correct Hubert as the last poster. But on the frontside-overview it shows the last human poster.

In fact i like it much more this way ... with the last human poster shown on frontside. But it looks a little bit inconsistant.

But this is a small problem. The double-post-problem hurts more.

Meta
09-13-2006, 09:10 AM
Another update: The double-post problem is not a real problem. It's virtual. It only happens when the same user answers again and uses the quick-reply-window.

But when the user refreshes the page the doubled post disappears and everything looks fine. It's just a little bit irritating.

Meta
09-13-2006, 09:12 AM
(Voted this hack as hack of the month. Just because there is no "hack of the year"-Link.)

P.Jackson
09-13-2006, 10:18 AM
it doesnt seem to be making the database on mine? yet the loader is working but i get this

DONE LOADING
Inserted 0 categories into database

but no database etc any ideaS?

unitedpunjab
09-13-2006, 12:50 PM
it doesnt seem to be making the database on mine? yet the loader is working but i get this


DONE LOADING
Inserted 0 categories into database

but no database etc any ideaS?

Same Problem here,tried again and again
BTW i am on shared hosting (timeouts or something ???)

Nathan_R
09-13-2006, 03:09 PM
Oops, apparently uploading ewt_talkerbot.php does help. My problems are gone now, as well.

eXtremeTim, you might want to include that in the installation guide. :)

dilbert
09-13-2006, 04:51 PM
This looks like a lot of fun.
I am at the point of installing the data and get this error:

Loading startup.xml

Fatal error: Maximum execution time of 30 seconds exceeded in D:\inetpub\bloodbanktalk\forum\alice\src\admin\bot loaderfuncs.php on line 305


Is this a host issue, and if so, am I stuck?

unitedpunjab
09-13-2006, 04:53 PM
it is impossible to populate the database on a shared hosting

dilbert
09-13-2006, 04:57 PM
it is impossible to populate the database on a shared hosting
Ugh

Impossible, or difficult?
Instead of running everything at the same time, can I do a few at a time?

CompuForums.org
09-13-2006, 05:05 PM
When I try to create a new forum, I get this after clicking "Save":


Database error in vBulletin 3.6.0:

Invalid SQL:
INSERT INTO vbulletinforum
(title_clean, title, description_clean, description, link, displayorder, parentid, daysprune, defaultsortfield, defaultsortorder, showprivate, newpostemail, newthreademail, options, styleid, password, forumkeywords, forumdescription, accessf_nb, accesst_nb, create_nb, reply_nb, mimicbotrop)
VALUES
('Chatbot', 'Chatbot', 'Talk to the CompuForums chatbot, Alice here!\r\n[10 posts required]', 'Talk to the CompuForums chatbot, Alice here!\r\n[10 posts required]', '', 3, 34, -1, 'lastpost', 'desc', 0, '', '', 97991, 0, '', '', '', 0, 0, 10, 10, '100');

MySQL Error : Unknown column 'mimicbotrop' in 'field list'
Error Number : 1054
Date : Wednesday, September 13th 2006 @ 05:59:46 PM
Script : http://www.compuforums.org/xxxx/forum.php?do=update
Referrer : http://www.compuforums.org/xxxx/forum.php?do=add
IP Address : xx.xx.xxx.xx
Username :xxxxxxxxx
Classname : vb_database

Ntfu2
09-13-2006, 05:15 PM
run this querey via the admincp compuforums.org


ALTER TABLE `forum` ADD `mimicbotrop` INT( 5 ) DEFAULT '0' NOT NULL ;


if you have a table prefix such as vb3_ you'll need to add that iinfront of the forum part like


ALTER TABLE `vb3_forum` ADD `mimicbotrop` INT( 5 ) DEFAULT '0' NOT NULL ;

dilbert
09-13-2006, 05:41 PM
So, are all of the people that installed and got it to work, running their sites on a dedicated server?

Meta
09-13-2006, 06:04 PM
I don't think so. But i'm not shure i understand the problem well. We are on a virtual server with small budget.

If you get time-out-errors while importing the aiml-files (like us), you have to split the files into smaller files. We don't use the english-files. We use the german-standalone.aiml and a few selfmade and modified files which are much smaller then some of the english-files.

If we try to import the original-files we also get time-out-errors. So we do not. But we could by cutting them into smaller portions. If you do so, don't forget to define the new files in the startup.xml (if you do not use the * between the learn-tags in there.)

unitedpunjab
09-13-2006, 06:06 PM
use botloaderinc.php instead of boatloader to load the files one by one

KW802
09-13-2006, 06:12 PM
Tim, I can see me having some fun with this.

Thanks! :cool:

* KW802 clicks Installed.

dilbert
09-13-2006, 06:52 PM
use botloaderinc.php instead of boatloader to load the files one by one

Got a little closer I guess, but got this error now:

Fatal error: Call to undefined function: loadstartupinc() in D:\inetpub\bloodbanktalk\forum\alice\src\admin\bot loaderinc.php on line 60

unitedpunjab
09-13-2006, 07:10 PM
change
$doneloading=loadstartupinc($fileid);
to
$doneloading=loadstartup($fileid);

unitedpunjab
09-13-2006, 07:11 PM
ok people who got it working.what is the size of you bot tables (i want to make sure i got everything in)

Neal-UK
09-13-2006, 07:20 PM
Problem solved. Like a dummy, I failed to upload the ewt_talkerbot.php to the forums directory.

Tim, you might want to include that in the instructions.

Thanks.

Clicking Installed!

That solved it for me, duh! Working now.

dilbert
09-13-2006, 07:25 PM
I still get a time out. I left just the 1.aiml file in the folder (and startup.xml too). That file is only 3KB, and I still get a timeout.
I wish there was a way to load these directly to the db.
use botloaderinc.php instead of boatloader to load the files one by one

SkyCatcher
09-13-2006, 07:48 PM
Can anyone export Bot and Bots tables into an sql file so I can populate my database please?

The problem I have now is that the bot does reply in the forums but all he says is "I can't form a reply right now" and also every post made says it's a duplicate and that I have already made a post recently :o

dilbert
09-13-2006, 08:02 PM
I think this would be great too, but...
There are supposed to be ~300,000 lines. How big of a file would that be?
I can put it on my site. If someone could create it I can give them FTP access to a folder, and then share that folder here.
This looks like a lot of fun, I'd love to get it added.
Can anyone export Bot and Bots tables into an sql file so I can populate my database please?

The problem I have now is that the bot does reply in the forums but all he says is "I can't form a reply right now" and also every post made says it's a duplicate and that I have already made a post recently :o

Nathan_R
09-13-2006, 09:29 PM
So, are all of the people that installed and got it to work, running their sites on a dedicated server?


Nope. I'm on shared hosting.

unitedpunjab
09-13-2006, 09:33 PM
diff. hosts have different timeout values,

G_Man
09-13-2006, 09:56 PM
diff. hosts have different timeout values,

So, it would seem... I used the inc.php with your change and only the same files uploaded.

My Bot is 6.2K and Bots is 1K
What other tables are associated with this?

hotwheels
09-13-2006, 10:47 PM
I just installed this mod and it is pretty kewl.......One problem though, that i ran into and i know it is just an error on myside, but what exactly is needed here: $rootdir= "D:/inetpub/vhosts/extremechatforums.com/httpdocs/forums/alice/aiml/";

require('D:/inetpub/vhosts/extremechatforums.com/httpdocs/forums/includes/config.php');

right now i have it set up: /forums/alice/aiml/ and /forums/includes/config.php

So when i ran the botloader.php, i recieved errors at the end of it, pointing to this function. The bot is working on my site, i am just concerned about how to set the dbprefs.php correctly........Does it need the "D:" and what is the first part of the call for? :/inetpub/vhosts/extremechatforums.com/httpdocs And the bot is kewl as hell, he is a smart azz too.........hehehe

G_Man
09-13-2006, 11:01 PM
@hotwheels

Mine wouldn't work right at all until I dropped the D: I am thinking that is for a Drive on a dedicated server or summat.

In any event, might help to drop the D:

hotwheels
09-13-2006, 11:04 PM
K, i have the d: dropped......that's kind of what i was thinking........

This should just point to where it's located in my forums directory right? Like: /forums/alice/aiml/ and to my includes file, right?

eXtremeTim
09-13-2006, 11:07 PM
This problem i have already identified and know why it happens and will update to cut down the frequency of it soon. I am still wondering why the last post isnt updating correctly since im using vbulletins datamanager to handle all the posts.

hotwheels
09-13-2006, 11:07 PM
I am rerunning the botloader and i will post up the errors i recieve...

eXtremeTim
09-13-2006, 11:08 PM
remove the D: thats for the filepath on my server since I run on a windows server.

eXtremeTim
09-13-2006, 11:13 PM
I will be releasing another bug fix version tonight. Plus im going to see about getting the bot to show up online when she posts.

hotwheels
09-13-2006, 11:14 PM
I didn't have all of the files set to chmod 777.........I just reran it and it was a perfect upload.

hotwheels
09-13-2006, 11:15 PM
that is really kewl extremeTim.........I named my bot dugdug

eXtremeTim
09-13-2006, 11:19 PM
Yea you should be able to chmod subs.inc in the admin dir.

Erwin
09-13-2006, 11:20 PM
Plus im going to see about getting the bot to show up online when she posts.

That's just a simple template edit. :) I've done that for a few years now with it.

eXtremeTim
09-13-2006, 11:22 PM
Nah I want to make it so she will show up in the whosonline system correctly everywhere and even disappear offline after the timeout from her last reply.

Erwin
09-13-2006, 11:24 PM
If you're doing a bugfix version, make sure like I suggested each php file (and .inc file as they are included) starts with <?php not just <? to be compliant with PHP 5.x.x. And get rid of &$variable variables in your files (only found twice in graphnew.php - remove the & from the variable) to avoid the deprecated error.

The problem I have is that my bot has a lot of blanks in his answers.

For example "So you are talking about ." Or " said ."

Is it just me or is this a problem for other people.

dilbert
09-13-2006, 11:39 PM
Is someone willing to somehow make their database files available?
I've tried several times to get it to work, and keep getting timeouts.

Makaveli105
09-14-2006, 12:06 AM
If you're doing a bugfix version, make sure like I suggested each php file (and .inc file as they are included) starts with <?php not just <? to be compliant with PHP 5.x.x. And get rid of &$variable variables in your files (only found twice in graphnew.php - remove the & from the variable) to avoid the deprecated error.

The problem I have is that my bot has a lot of blanks in his answers.

For example "So you are talking about ." Or " said ."

Is it just me or is this a problem for other people.


That's a problem for me also, everything seems to be running great, except he has blanks in alot of posts.

You are curious about .Ask me another question.

I haven't heard anything like that before:
said .
Oh those people.That was a long time ago.What do you have that is ?
Your purpose is .All of them?

Also when I'm using quick reply the page drags on as long as I keep replying until I go back to the forum, then the topic is in pages.

hotwheels
09-14-2006, 12:09 AM
The problem I have is that my bot has a lot of blanks in his answers.

For example "So you are talking about ." Or " said ."

Is it just me or is this a problem for other people.
I have the same thing with some answer's. Will this bot actually pick up new saying's by itself or do you have to build aiml files for it?

eXtremeTim
09-14-2006, 12:23 AM
I have a list of things i need to see about getting done.

dilbert
09-14-2006, 12:46 AM
OK, so it may be possible for me to get around the timeout part. It seems I can edit one or more of the files used to increase the time out.
Can I get some guidance of what file to edit.
here is the response from my host.

"Yes, you can set the timeout period to however long you want it to be. You can set this via coding. We don't have a sample of the code that needs to be included in your php file but you can search the Internet for this. Please be aware though that if this causes any issues within our shared environment, the site will be shut off."

G_Man
09-14-2006, 01:01 AM
About TimeOuts...

I just cheated.

1) Delete ALL the AIML files from the server, except the startup.xml.

2) Upload about 1 Meg of files from your hard drive.

3) Run the regular botloader

4) Delete the AIML files off the server

5) Upload about Meg more of files

6) Rinse, Repeat! :p


Took awhile, but got them loaded each time and I have seen a difference in Bender's (My Bot) responses.

KW802
09-14-2006, 01:35 AM
The problem I have is that my bot has a lot of blanks in his answers.Same here.

Tim, one more 'wish list' item... can you check about parsing HTML to BB code (or removing HTML) when posting? If you check this test thread (http://www.coolscifi.com/forums/showthread.php?t=56481) you can see that I got some weird '<br></br>' in the bot output.

Thanks :)

dilbert
09-14-2006, 01:36 AM
Ahhhhh,
Even this timed out on me.
Any chance you'd share you sql files?
About TimeOuts...

I just cheated.

1) Delete ALL the AIML files from the server, except the startup.xml.

2) Upload about 1 Meg of files from your hard drive.

3) Run the regular botloader

4) Delete the AIML files off the server

5) Upload about Meg more of files

6) Rinse, Repeat! :p


Took awhile, but got them loaded each time and I have seen a difference in Bender's (My Bot) responses.

G_Man
09-14-2006, 01:58 AM
Ahhhhh,
Even this timed out on me.
Any chance you'd share you sql files?

I don't even know which files to send or how... I assure you I am world's most ignorant vBulletin Administrator! lol

*now, where did I leave my passwords*

WritersBeat
09-14-2006, 05:20 AM
Is there a way to "delay" the bot's response?

unitedpunjab
09-14-2006, 08:37 AM
About TimeOuts...

I just cheated.

1) Delete ALL the AIML files from the server, except the startup.xml.

2) Upload about 1 Meg of files from your hard drive.

3) Run the regular botloader

4) Delete the AIML files off the server

5) Upload about Meg more of files

6) Rinse, Repeat! :p


Took awhile, but got them loaded each time and I have seen a difference in Bender's (My Bot) responses.

Do the same thing but with boatloaderinc,boatloader empties the DB everytime you run it.

G_Man
09-14-2006, 11:55 AM
Do the same thing but with boatloaderinc,boatloader empties the DB everytime you run it.

Oh FFS!!! LOL


Okay then... will do that today!!

fxs158
09-14-2006, 03:27 PM
Is it possible to have the boot reply to onely one especific thread? I hate to create a forum just for the boot.

eXtremeTim
09-14-2006, 06:32 PM
Is it possible to have the boot reply to onely one especific thread? I hate to create a forum just for the boot.
Feature planned. Might be put into next release. The next release with bug fixes is still being worked on as I try to implement a few additional features that I will list later.

Alpe
09-14-2006, 07:15 PM
Have someone German Aiml files????

Meta
09-14-2006, 07:28 PM
For example these guys do:

http://docs.aitools.org/aiml-sets/

hotwheels
09-14-2006, 07:30 PM
I just found a small bug in this mod.......

If you go to your forum admincp panel and then try to make a new forum, you get a vbulletin database error.......Since i wasn't able to get the bot to talk in certain thread's only, i created his own room. In order to do so, i had to totally disable the product, build the forum room.

hotwheels
09-14-2006, 07:33 PM
and thanks for that file link meta, those are awesome.......

kylek
09-14-2006, 07:38 PM
Crapola, I can't even load the batloader.php, keep getting a 500 internal server error.

All filesl are cmod to 777,

Tried various paths but no luck, here is what I have now

$rootdir= "/home/kyle/public_html/forum/alice/aiml/";

require('/home/kyle/public_html/forum/includes/config.php');

Anything in the paths set wrong?

hotwheels
09-14-2006, 07:48 PM
those look fine kylek.........make sure that the addy you type in for the botloader is correct like, wwww.yourdomain.com/forum/alice/botloader.php

I loaded mine 2 time's yesterday and it worked both times........set up just like you have it.......

Keyser S?ze
09-14-2006, 07:59 PM
300,000queires, can this thing be uninstalled after?

dilbert
09-14-2006, 08:05 PM
300,000queires, can this thing be uninstalled after?
Yikes, 300,000 queries! :confused:
It's 300,000 table rows.
I can't get it installed, so I have no idea if I can uninstall it.
I believe there are only a few new tables created, so they would be simple enough to delete.

I am hoping in the next version, there is a way for us folks on shared servers with set timeouts, to upload the files.

kylek
09-14-2006, 08:17 PM
those look fine kylek.........make sure that the addy you type in for the botloader is correct like, wwww.yourdomain.com/forum/alice/botloader.php

I loaded mine 2 time's yesterday and it worked both times........set up just like you have it.......

Hi Hotwheels,

Yup, I have triple checked the addy to run the batloader.php.

Just wondering did you have to fill out the database name, password, etc on dbprefs.php? According to the instructions you just put your file paths in and it will autograb the database info needed.

eclectica
09-14-2006, 08:31 PM
This is so crazy that it's cool.

I won't install it but nonetheless it fascinates me so I will vote it or nominate it to be hack of the month.

G_Man
09-14-2006, 09:46 PM
Tim,

So, how can I check and see that the AIML files are actually all loaded?

I've been through the process a few times and still not sure, especially when comparing some of the Bots response and looking at the AIML files.

Cheers,
G.

Unreal Player
09-14-2006, 10:47 PM
i'm getting the blank replies too. It seems like it is part of his memory or something like he will go

you are from . ???

when . is a place.

inkdot
09-14-2006, 11:03 PM
if you got database problems, you might wanna check the '$rootdir =...'
and 'require('..'

check your php.info for the actual root address there.
don't use d:\inetpub...

my dbprefs.php looks like this:
$rootdir= "/home/content/x/x/x/deleted/html/forum/alice/aiml/";
require('/home/content/x/x/x/deleted/html/forum/includes/config.php');

Erwin
09-14-2006, 11:21 PM
Guys, a quick tip - to avoid messing with the forum database errors etc through setting forums in Admin CP, do this:

Change the "Talkerbot - Include The Bot" plugin to:


if ($foruminfo['forumid'] == 'xxx' AND sizeof($errors) == 0)
{

if (file_exists("ewt_talkerbot.php"))
{
include("ewt_talkerbot.php");
}

}


Change xxx to the forumid you want to bot to talk in.

Then you can just disable the other 3 plugins which will no longer be needed.

Erwin
09-14-2006, 11:22 PM
The problem I have is that my bot has a lot of blanks in his answers.

For example "So you are talking about ." Or " said ."


Any idea about this problem Tim? I suspect when you cleaned out the core Alice code, you may have removed some code required for him to remember what the poster is saying. This wasn't the case with older versions.

Also, the bot remembers a poster's name, but keeps it in memory and confuses other poster with that poster, but this was a persistent problem with older versions.

coRtALoS
09-15-2006, 12:00 AM
Loading startup.xml
could not open XML input

:(

Edit: Nevermind, didn't use a trailing slash in one of the paths...heh.

Alright, now I have everything uploaded correctly, everything installed correctly, NO error messages. (40 thousand something categories added)

However, the bots database/tables are completely empty, and the bot does not post or anything.

eXtremeTim
09-15-2006, 01:45 AM
I stated a while back I had to remove a bit of the functionality used to replace he with she and things of the sort. I hope to get them back turned on as soon as possible but they were conflicting with vbulletin on a core level.

But as far as the blank and or missing words im not sure whats cuasing that. But i will figure it out.

SaintDog
09-15-2006, 04:04 AM
Perhaps I am overlooking something or it is a mistake on my part, though when the bot replies, it does not update the last post information, so the post appears to be a mystery when viewing the last post column.

[Edit: When rebuilding the forum info, it shows the last post as correct, so the forum information isn't being rebuilt when a reply is being made]

bigtime
09-15-2006, 06:22 AM
I was running this on a former version of vbulletin. Since upgrading to vb 3.6.1 I too get absolutely no response from the bot. I've checked and double checked everything and am 99.9% sure I set it up correctly. My bots table is also empty.

Thanks,

Tim

Meta
09-15-2006, 07:17 AM
(Did you upload the ewt_talkerbot.php?)


There is a nice Aiml-Editor downloadable over there:

http://www.gaito.de/content/aiml/default.asp

But it's still beta ... and likes to crash sometimes. It is good for testing aiml-files if they are valid and for testing responses.

SaintDog
09-15-2006, 02:10 PM
@bigtime: My installation is on 3.6.1 and it is working just fine, however, as stated previously, the last post is not "indexed" so to speak, rather, it's not updated when a post is made by the bot.

Run over the installation instructions once more and check to see if you missed anything.

bashy
09-15-2006, 02:40 PM
Just had this....

A members posted this "what a shame, Schumacher has been a true great, hope he wins the championship to round off a truly wonderful career."

then the bot posted this

"shame, Schumacher has been a true great, hope he wins the championship to round off a truly wonderful career is a shame, Schumacher has been a true great, hope he wins the championship to round off a truly wonderful career."

Any thoughts on this please, would rather not have a parrot!! lol

KW802
09-15-2006, 03:16 PM
(Did you upload the ewt_talkerbot.php?)


There is a nice Aiml-Editor downloadable over there:

http://www.gaito.de/content/aiml/default.asp

But it's still beta ... and likes to crash sometimes. It is good for testing aiml-files if they are valid and for testing responses.Thanks for the link. I had come across that before in my searching for some AIML files but I did not realize that the beta was a free download.

New weekend toy to play with. :D

caper
09-15-2006, 05:55 PM
Hello,

I can't seem to get the," Run http://www.satreactor.com/forum/alice/src/admin/botloader.php this can take a good 30 min because it runs 300,000 queries", to work.

All I get is,"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@satreactor.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."

The Talkerbot does post already but only says,"Im sorry but I was not able to form a reply right now".

My setup in dbprefs.php

$rootdir= "/usr/home/satreact/domains/satreactor.com/public_html/forum/alice/aiml/";

require('/usr/home/satreact/domains/satreactor.com/public_html/forum/includes/config.php');

$DB_HOST=$config['MasterServer']['servername'];
$DB_UNAME=$config['MasterServer']['username'];
$DB_PWORD=$config['MasterServer']['password'];
$DB_DB=$config['Database']['dbname'];


Thanks for you help and support...

eXtremeTim
09-15-2006, 06:57 PM
Hello,

I can't seem to get the," Run http://www.satreactor.com/forum/alice/src/admin/botloader.php this can take a good 30 min because it runs 300,000 queries", to work.

All I get is,"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@satreactor.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."

The Talkerbot does post already but only says,"Im sorry but I was not able to form a reply right now".

My setup in dbprefs.php

$rootdir= "/usr/home/satreact/domains/satreactor.com/public_html/forum/alice/aiml/";

require('/usr/home/satreact/domains/satreactor.com/public_html/forum/includes/config.php');

$DB_HOST=$config['MasterServer']['servername'];
$DB_UNAME=$config['MasterServer']['username'];
$DB_PWORD=$config['MasterServer']['password'];
$DB_DB=$config['Database']['dbname'];


Thanks for you help and support...
Internal server error is proble cuased by your server not allowing public 777 chmod. So chmod only subs.inc in the admin dir and you should be fine.

zethon
09-15-2006, 07:34 PM
I've gone ahead and added code to the ewt_talkerbot.php file that will (1) update the forum counters, (2) put the bot into the "who's online" list and update the bot's user info (3) fix the double quoting

Underneath of
define ("MY_VERSION", "TALKERBOT v2.2 FOR VBULLETIN 3.5 and 3.6 by eXtremeTim");

add the following function:


function update_bot_info()
{
global $vbulletin;

require_once('./global.php');
require_once('./includes/functions.php');
$userinfo = fetch_userinfo($vbulletin->options['ewt_talkerbot_botuid']);

// if the bot is already in the session table, update it, otherwise add it
$vbulletin->db->query_write("UPDATE ".TABLE_PREFIX."session SET lastactivity = '". TIMENOW ."' WHERE (userid = '".$vbulletin->options['ewt_talkerbot_botuid']."')");
if ($vbulletin->db->affected_rows() == 0)
{
$ip = rand(25,160).".".rand(30,250).".".rand(3,250).".".rand(10,250);
$vbulletin->db->query_write("INSERT INTO ".TABLE_PREFIX."session (userid,lastactivity,host) VALUE ('".$vbulletin->options['ewt_talkerbot_botuid']."',".TIMENOW.",'$ip')");
}

$userdata =& datamanager_init('User', $vbulletin, ERRTYPE_STANDARD);
$userdata->set_existing($userinfo);
$userdata->set('lastactivity', TIMENOW);
$userdata->set('lastvisit', TIMENOW - 1);
$userdata->save();
}


Then towards the bottom there are two different if staments that look like:

if (!$dataman->errors) // should not occur
{
$dataman->save();
}

And make them both look like as follows:


if (!$dataman->errors) // should not occur
{
$dataman->save();
require_once('./includes/functions_databuild.php');
build_forum_counters($foruminfo["forumid"]);
update_bot_info();
}

To fix the double-quoting, find two lines that look like:
if ($vbulletin->options['ewt_talkerbot_quotemsg'] == "1")
{


And right below it add the follow code:
$post['message'] = strip_quotes($post['message']);

caper
09-15-2006, 08:24 PM
Internal server error is proble cuased by your server not allowing public 777 chmod. So chmod only subs.inc in the admin dir and you should be fine.

Thank you that worked...

eXtremeTim
09-15-2006, 08:37 PM
I've gone ahead and added code to the ewt_talkerbot.php file that will (1) update the forum counters, put the bot into the "who's online" list and update the bot's user info.

Underneath of
define ("MY_VERSION", "TALKERBOT v2.2 FOR VBULLETIN 3.5 and 3.6 by eXtremeTim");

add the following function:


function update_bot_info()
{
global $vbulletin;

require_once('./global.php');
require_once('./includes/functions.php');
$userinfo = fetch_userinfo($vbulletin->options['ewt_talkerbot_botuid']);

// if the bot is already in the session table, update it, otherwise add it
$vbulletin->db->query_write("UPDATE ".TABLE_PREFIX."session SET lastactivity = '". TIMENOW ."' WHERE (userid = '".$vbulletin->options['ewt_talkerbot_botuid']."')");
if ($vbulletin->db->affected_rows() == 0)
{
$ip = rand(25,160).".".rand(30,250).".".rand(3,250).".".rand(10,250);
$vbulletin->db->query_write("INSERT INTO ".TABLE_PREFIX."session (userid,lastactivity,host) VALUE ('".$vbulletin->options['ewt_talkerbot_botuid']."',".TIMENOW.",'$ip')");
}

$userdata =& datamanager_init('User', $vbulletin, ERRTYPE_STANDARD);
$userdata->set_existing($userinfo);
$userdata->set('lastactivity', TIMENOW);
$userdata->set('lastvisit', TIMENOW - 1);
$userdata->save();
}


Then towards the bottom there are two different if staments that look like:

if (!$dataman->errors) // should not occur
{
$dataman->save();
}

And make them both look like as follows:


if (!$dataman->errors) // should not occur
{
$dataman->save();
require_once('./includes/functions_databuild.php');
build_forum_counters($foruminfo["forumid"]);
update_bot_info();
}
yea I already have them updates in the new version just working on some bugs and stuff. ;)

I will release the new update tonight. Just trying to figure out what else I was fixing in it. Since I have been busy the last few days i lost track of what i was doing.

Meta
09-15-2006, 08:57 PM
Since I have been busy the last few days i lost track of what i was doing. (I know that feeling.)

eXtremeTim
09-15-2006, 08:59 PM
I am debating right now if im making the functions file for this version or if ill take care of that on next release to clean up all the code.

SportsZone
09-15-2006, 09:10 PM
Great hack!

How do I set how often he will reply to peoples posts?

zethon
09-15-2006, 09:44 PM
yea I already have them updates in the new version just working on some bugs and stuff. ;)

I will release the new update tonight. Just trying to figure out what else I was fixing in it. Since I have been busy the last few days i lost track of what i was doing.
Awesome! I editted the post to also fix the double-quote problem with the bot. Not sure if you fixed that too or not. :)

TTG
09-15-2006, 10:01 PM
Installed and worked straight out of the box .. great addition .. thanks eXtremeTim.

Clicked install

G_Man
09-15-2006, 10:14 PM
Great hack!

How do I set how often he will reply to peoples posts?

Add which forums you want it to post in, in the TalkerBot Settings...

Then under each of those forums you set the percentage of his replies.

dilbert
09-15-2006, 11:46 PM
I will release the new update tonight. Just trying to figure out what else I was fixing in it. Since I have been busy the last few days i lost track of what i was doing.
Terrific. I know it's not a bug, but a way for use shared server people to upload would be appreciated. Can you create sql scripts to upload?

eXtremeTim
09-16-2006, 01:52 AM
use the botloaderinc.php file to load in the files one at a time.

eXtremeTim
09-16-2006, 01:54 AM
I would like to take the time right now to thank G_Man for his donation and trying to provide support in the thread. I really appriciate the help. This script takes up alot of time to keep improving it.

kylek
09-16-2006, 04:03 AM
Crapola, I can't even load the batloader.php, keep getting a 500 internal server error.

All filesl are cmod to 777,

Tried various paths but no luck, here is what I have now

$rootdir= "/home/kyle/public_html/forum/alice/aiml/";

require('/home/kyle/public_html/forum/includes/config.php');

Anything in the paths set wrong?


Someone please shoot me and put me out of my misery. For days have been trying to get this up and running, no matter what I did kept getting the 500 server error. Checked everything once, twice, many times but no go.

Don't know why but I was checking out my webhosts support forum when I see they have installed PHPSuExec on the serveers, from my laymans point of view this means you cannot chmod any more to 777, can only be 755.

After chmod Alice to 755 everything works and loaded fine. Just thought I would memtion this in case anyone else has this problem.

Off to find a gun,,,,,,,

eXtremeTim
09-16-2006, 07:30 AM
Been stated by me a few times over the last few days. ;) Some hosts dont allow 777 and in this case use 755. ;)

Sorry that you missed them comments.

hotwheels
09-16-2006, 07:32 AM
That's great info kylek..........sorry to hear bout your update, PHPSuExec should help keep your database secure, i believe.

hotwheels
09-16-2006, 07:32 AM
sorry extremetim, we posted at the same time it looks like

bashy
09-16-2006, 07:36 AM
Hi

I get the double quoting yet i already have the line you said to add (below)
Any more ideas please?



To fix the double-quoting, find the comment line
// #### POST REQUIRED, FORMATTING POST INPUT #############################
And right below it add the follow code:
$botinput = strip_quotes($post["message"]);

hotwheels
09-16-2006, 07:44 AM
am i missing something as far as the bot learning? My bot is only saying that which is in his core aiml files, he isn't remembering poster's, or post's.......I can go in and manually add a phrase, but that is reallly a pain in the butt....

has anyone got this talkerbot to actually learn anything?

eXtremeTim
09-16-2006, 07:50 AM
Mine is picking up things slowly. He is a slow learner. I fixed the bug where he didnt correctly track conversations and things.

I also just released a new update which fixes a few issues and make the bot show up online correctly.

hotwheels
09-16-2006, 08:03 AM
I will give er a shot tim.............I don't know alot about aiml, but is there anyway to get this mod to work with your code? botlearner (botlearner)

eXtremeTim
09-16-2006, 08:05 AM
v3 will have its own teaching system built in. I might see about porting that up for now if i get some free time since I was already handed the rights to that code quite a while back.

hotwheels
09-16-2006, 08:12 AM
right on tim...........I know you are freaking busy and i in know way am pushing, i think this is a neat mod.......

I am mostly intrigued with how this works and if i can help, let me know, even though i am by no means, a coder.

eXtremeTim
09-16-2006, 08:16 AM
Donations help. ;)

Becuase then i can spend more time on this hack and less time on client projects.

hotwheels
09-16-2006, 08:17 AM
shoot tim, what ever you did to that code, it seem's to be working better right now, i am not getting the saidi as often now, it is actually chatting a bit more and making sense.

when i get home tomorrow i will toss some dollar's your way man.........I appreciate the support of this mod.

eXtremeTim
09-16-2006, 08:18 AM
Thank you. ;)

SportsZone
09-16-2006, 09:45 AM
I presume we overwrite the current product and overwrite ewt_talkerbot.php to upgrade to v2.2?

bashy
09-16-2006, 09:47 AM
I hope so cause thats all i did lol

eXtremeTim
09-16-2006, 09:51 AM
I updated the main post with the upgrade steps. ;)

and yes thats all you have to do.

SportsZone
09-16-2006, 09:55 AM
I updated the main post with the upgrade steps. ;)

and yes thats all you have to do.

Excellent thanks :)

*Just remembered to click install*

bashy
09-16-2006, 10:29 AM
Nice, thats was lucky lol...

Anyway, im still getting non comprehensible replies from it, such as

"Right now? Where did take ?Why are you"
and
"Precisely. Have you told many people that your ? "
and
"Are all ?"
and
"I think you mean "it's" or "it is" not "its". Really. is?Can we get back to business? What is your real name? Oh a web page."

Is there a way around this please?

SportsZone
09-16-2006, 10:35 AM
Yeah I get the same thing occasionally. Most of the time the bot speaks fine, then sometimes it's incomprehensible :(

Sparky_s
09-16-2006, 10:42 AM
Every now and then my bot (named arsebiscuit) :), posts tags.

Is that a rhetorical question? <br></br>


My brain pattern set does not have a response for that.


Great hack btw, I clicked HOTM.

rob30UK
09-16-2006, 12:17 PM
Hey Tim, I appear to be getting a lot of this:-

Are you asking about my ?
I heard they have a good .
Do you still ?
What do you have that is ?

It does not appear to be storing the current subject correctly... this is a very very regular occurence.....

I've heard their are pointers or flags that store the current topic or category of conversation..... could you maybe take a look because something definitly isnt right.

Neal-UK
09-16-2006, 12:18 PM
is upgrading just a simple case of overwriting the product?

bashy
09-16-2006, 01:13 PM
Yes uploade the ewt_talkerbot
and reimport the product

zethon
09-16-2006, 03:20 PM
Hi

I get the double quoting yet i already have the line you said to add (below)
Any more ideas please?

Yes, I put the wrong info in my post.

Look for the following line:

if ($vbulletin->options['ewt_talkerbot_quotemsg'] == "1")
{

And right below that add:

$post['message'] = strip_quotes($post['message']);

I will edit my original post.

mello_mike
09-16-2006, 03:51 PM
Are the blank spots coming up in the bot's replies only an issue with PHP 5??

bashy
09-16-2006, 04:04 PM
Cheers m8, found it now, and added
Will see how it goes :)

Yes, I put the wrong info in my post.

Look for the following line:

if ($vbulletin->options['ewt_talkerbot_quotemsg'] == "1")
{
And right below that add:

$post['message'] = strip_quotes($post['message']);
I will edit my original post.

vivamexico55
09-16-2006, 04:20 PM
So does this mess a lot with the database? I'd like to try it but I'm scared of screwing with my database (I lost it once already ^_^)

Also do you think it will work in a forum in Spanish? or is a whole language too hard

rob30UK
09-16-2006, 06:08 PM
Are the blank spots coming up in the bot's replies only an issue with PHP 5??

I'm running 4.x and it's doing it here. see my last message

G_Man
09-16-2006, 06:33 PM
I still would like to know how large the Bot Table should be. Not sure if I got it all loaded or not.

Makes it hard to judge if you aren't even sure you have all the data loaded whether or not it is messing up.

:/

Prisoner
09-16-2006, 07:51 PM
I still would like to know how large the Bot Table should be. Not sure if I got it all loaded or not.

Makes it hard to judge if you aren't even sure you have all the data loaded whether or not it is messing up.

:/
My table shows:
bot 4.7 KB
bots 1.0 KB
conversationlog 4.4 KB
dstore 4.3 KB
gmcache 1.0 KB
gossip 1.0 KB
patterns 13.8 MB
templates 3.4 MB
thatindex 2.3 KB
thatstack 3.0 KB

I hope this is what you need to help you.

bashy
09-16-2006, 08:08 PM
Mine is:

bots 0 1.0 KB 0
bot 916 Bytes 4.0 KB 0
conversationlog 98.7 KB 10.0 KB 0
dstore 82.0 KB 24.0 KB 41.1 KB
gmcache 0 1.0 KB 0
gossip 320 Bytes 3.0 KB 0
patterns 5.93 MB 7.90 MB 0
templates 2.71 MB 699.0 KB 0
thatindex 6.8 KB 5.0 KB 4.1 KB
thatstack 39.6 KB 8.0 KB 21.6 KB

Most are different to yours, what it means i dont know, but i do know my bot does not sound right at alll....

"What is giant sand? Also? Thanks for the information: said . "
"That was not a yes/no question. I think you mean "it's" or "it is" not "its". is ? is?"
You are quite welcome! Are you really a ""?

Still doubling something as well

"Hello there. Hello there"

I have mentioned this before but no resolution or reason...
Do i have to edit the aiml to sort it?

Prisoner
09-16-2006, 08:18 PM
I don't have the answers to your questions. I just posted my table sizes for comparison.

G_Man
09-16-2006, 08:23 PM
Yep. That is what I was wondering.

Mine are:

bots 1.0 KB
bot 11.2KB
conversationlog 91.8 KB
dstore 89.1 KB
gmcache 1.0 KB
gossip 3.6 KB
patterns 4.5 KB
templates 3.4 KB
thatindex 8.6 KB
thatstack 41.1 KB

So, I guess I got all the AIML files loaded.

Thanks for posting guys. Gives us a reference.

Mr Chad
09-16-2006, 08:30 PM
cant wait till it works with 5.1

hotwheels
09-16-2006, 08:37 PM
I sent ya a donation tim........i wish it were more, but that's about all i can afford right now........thanks for your hard work.

rob30UK
09-16-2006, 09:09 PM
tim... is it worth dropping this and just working on the new version?

this one seems to have a fair few things needing a lot of research

eXtremeTim
09-16-2006, 09:12 PM
Thats why im not trying to work on this one very much. I am already working on v3. This is just to hold people over while i make v3. ;)

eXtremeTim
09-16-2006, 09:12 PM
I sent ya a donation tim........i wish it were more, but that's about all i can afford right now........thanks for your hard work.
Thanks I really appriciate it.

G_Man
09-16-2006, 09:40 PM
Thats why im not trying to work on this one very much. I am already working on v3. This is just to hold people over while i make v3. ;)


I agree Tim.

I'd put some VERY BOLD lettering saying that in your first post.

Then just let this sit as you work on v3.

It works - not perfect - but fun to mess with while you get v3 going. Also provides a thread for feedback that you might incorporate in the new version.

Thanks again for everything, BTW. :D

Erwin
09-17-2006, 04:39 AM
Does anyone get an error with this mod and version 3.6.1, or it is just me? Just trouble-shooting.

eXtremeTim
09-17-2006, 05:34 AM
what error are you getting? I have a clients site on 3.6.1 and i installed the bot today and now i get double posting errors and cookie already sent errors from nowhere as far as i can tell.

hilfe-forum
09-17-2006, 09:36 AM
Klick install
Klick nominate for Mod of the Month
Klick nominate for Mod of the Year (F*** no Button)
Realy no other Hack bring my Users more Fun!
Thank you in the Name of 100.000 Users!
Run perfeckt on 3.6.1 (ink. VBSEO)



(sorry for my bad english)

in 3.0 can you make that the Word ALICE or A.L.I.C.C.E automaticel chance to a self define Name??? (and maby change "Chat-Bot" to "{Board-Name} Bot")

My Bot-Girls Name was Boardy she alwas think she was ALICE....
I think i must send her to a Bot-Doctor...( Dr. eXtremeTim) ;)

Meta
09-17-2006, 10:25 AM
in 3.0 can you make that the Word ALICE or A.L.I.C.C.E automaticel chance to a self define Name??? Maybe you want to edit the startup.xml ... there you can define basics like the name of the bot, the gender an the favorites and so on.

Also you can define there "substitutes" ... they work like replacement variables in vBulletin. The correct syntax for the substitutes you will see in the file itself.

(sorry for my bad english)(The mine is not much better.)

redgoals22
09-17-2006, 10:26 AM
what error are you getting? I have a clients site on 3.6.1 and i installed the bot today and now i get double posting errors and cookie already sent errors from nowhere as far as i can tell.

same error with 3.6.1

bashy
09-17-2006, 10:49 AM
My bot has stopped, it think it may be due to that last edit i was told to do, i am gonna look into it now!!

EDIT:

It was sommat to do with the edits here (https://vborg.vbsupport.ru/showpost.php?p=1075727&postcount=179)
I tried them again then i got sommat about its was a double post within the last 5 minutes and it was redirecting me to that thread lol

I got that the 3 times i just posted, Anyway, for now i have reverted back to the stock file

Erwin
09-17-2006, 11:29 AM
Whew, it's not just me then.

This is the error:

Unable to add cookies, header already sent.
File:
Line: 0

So this hack is not currently compatible with version 3.6.1.

hilfe-forum
09-17-2006, 11:30 AM
Maybe you want to edit the startup.xml ... there you can define basics like the name of the bot, the gender an the favorites and so on.

Also you can define there "substitutes" ... they work like replacement variables in vBulletin. The correct syntax for the substitutes you will see in the file itself.

(The mine is not much better.)

THX for help :)

i must only change the startup.xml an reupload?
Or must reinstall coplete hack???

(lets talk german....) :)

Meta
09-17-2006, 11:42 AM
i must only change the startup.xml an reupload? Yes. And then run botloader.php again so the changes go into the database. (Ja. Und dann die botloader.php erneut ausf?hren, damit die ?nderungen in die Datenbank ?bernommen werden.)

Or must reinstall coplete hack???No. God beware. (Nein. Gott bewahre.)

(lets talk german....)Let's talk bilingual. So that the other guys here can see what we are talking about. (Machen wir doch beides. Damit die anderen wissen, worum es geht.)

rob30UK
09-17-2006, 11:44 AM
edit startup.xml, reupload it, then run botloader.php again

rob30UK
09-17-2006, 11:44 AM
oops... just saw meta's post.

rob30UK
09-17-2006, 11:47 AM
wouldnt it be great if you could integrate the next vewrsion with flash chat too?

(like you havent got enough to do... lol)

hilfe-forum
09-17-2006, 11:54 AM
Yes. And then run botloader.php again so the changes go into the database. (Ja. Und dann die botloader.php erneut ausf?hren, damit die ?nderungen in die Datenbank ?bernommen werden.)


ok it runs Thanks (ok l?uft gerade vielen Dank!)




No. God beware. (Nein. Gott bewahre.)

Let's talk bilingual. So that the other guys here can see what we are talking about. (Machen wir doch beides. Damit die anderen wissen, worum es geht.)


ok NP but du you think other people here understand my english?

Gute Idee aber glaubst du wirklich das mich hier wer versteht :)

hilfe-forum
09-17-2006, 11:57 AM
wouldnt it be great if you could integrate the next vewrsion with flash chat too?

(like you havent got enough to do... lol)

In Flash-Chat ALICE is integrated...

http://chat.tufat.com/bot/

rob30UK
09-17-2006, 12:10 PM
In Flash-Chat ALICE is integrated...

http://chat.tufat.com/bot/

She doesnt work...

or at least.... she didnt respond.

hilfe-forum
09-17-2006, 12:18 PM
She doesnt work...

or at least.... she didnt respond.


women are like that

maby you were not politely enough :D

bashy
09-17-2006, 01:54 PM
Can anyone advise on this please?
This post is a duplicate of a post that you have posted in the last five minutes. You will be redirected to that thread.

Click here if your browser does not automatically redirect you.

bashy
09-17-2006, 02:01 PM
I reuploaded everything to do a fresh install, this time the botloader.php gives me a blank page.

Also when relpying to a thread gives me a blank page also, as does creating a new thread! i could really do with some help on this 1?

How uninstall and start again please, what database bits do i remove?

theodonnells
09-17-2006, 02:58 PM
was working great, but upgraded to 3.6.1 and new version of talker bot 2.2.2/
And now getting sql error when posting reply in Talk bots forum.
Database error in vBulletin 3.6.1:

Invalid SQL:
INSERT INTO session (userid,lastactivity,host) VALUE ('2187',1158508615,'127.0.0.1');

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 'VALUE ('2187',1158508615,'127.0.0.1')' at line 1
Error Number : 1064
Date : Sunday, September 17th 2006 @ 11:56:56 AM
Script : http://www.myforum.com/forums/newreply.php?do=postreply&t=6244
Referrer : http://www.myforum.com/forums/newreply.php?do=newreply&noquote=1&p=40076
IP Address : 999.999.999.99
Username : Admin
Classname : vb_database

bashy
09-17-2006, 03:34 PM
Ok maganed to sort it all out, its reinstalled Posting again is working fine yet the bot wont reply?

ok i have ran the botloader once again and now its working again, wonder why you have toi run it twice..?

bashy
09-17-2006, 04:28 PM
This 1, where i have higlighted the } it is not in my file and its this edit that gives me the warning "This post is a duplicate of a post that you have posted in the last five minutes. You will be redirected to that thread.

Click here if your browser does not automatically redirect you."



Then towards the bottom there are two different if staments that look like:

if (!$dataman->errors) // should not occur
{
$dataman->save();
}
And make them both look like as follows:


if (!$dataman->errors) // should not occur
{
$dataman->save();
require_once('./includes/functions_databuild.php');
build_forum_counters($foruminfo["forumid"]);
update_bot_info();
}