vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Talkerbot V2.2.3 (AI Posting Bot) (https://vborg.vbsupport.ru/showthread.php?t=126386)

eXtremeTim 09-11-2006 10:00 PM

Talkerbot V2.2.3 (AI Posting Bot)
 
Talker Bot Hack v2.5.0
Hack By: Tim (eXtremeTim) Yarbrough
Website: 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...esting-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/a...+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

Quote:

Originally Posted by eNforce
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

Quote:

Originally Posted by eNforce
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

Quote:

Originally Posted by G_Man
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

Quote:

Originally Posted by eXtremeTim
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

Quote:

Originally Posted by eXtremeTim
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

Quote:

Originally Posted by eXtremeTim
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...splay.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

Quote:

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

Quote:

Originally Posted by eXtremeTim
http://humor.extremechatforums.com/f...play.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.


All times are GMT. The time now is 06:25 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02188 seconds
  • Memory Usage 1,832KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete