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)

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

Quote:

Originally Posted by Meta
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.)

Quote:

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

Quote:

Originally Posted by Erwin
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:

PHP Code:

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

Replace with:

PHP Code:

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

Then find in line 231 the same thing:

PHP Code:

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

Replace with:

PHP Code:

            $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:

Quote:

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

Quote:

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

Quote:

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


Quote:

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

Quote:

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

Quote:

Originally Posted by P.Jackson
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

Quote:

Originally Posted by unitedpunjab
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":

Code:

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

Code:

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

Code:

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:

[high]* KW802 clicks Installed.[/high]

dilbert 09-13-2006 06:52 PM

Quote:

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

Quote:

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


All times are GMT. The time now is 01:02 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.02132 seconds
  • Memory Usage 1,841KB
  • 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
  • (3)bbcode_code_printable
  • (4)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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