Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBTeachbot 2.1 Details »»
vBTeachbot 2.1
Version: 1.00, by Martin64 Martin64 is offline
Developer Last Online: Jul 2020 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 01-28-2003 Last Update: Never Installs: 27
 
No support by the author.

vBTeachbot 2.1
(by Martin64, martin64@vbhackers.com)

[about]

This hack requires Tombot: (https://vborg.vbsupport.ru/showthrea...threadid=48053).

Want to teach your Tombot? vBTeachbot adds an option in your Admin CP that will let you teach the bot directly - it will instantly be able to answer your questions.

[screenshots]

https://vborg.vbsupport.ru/attachmen...&postid=347904
https://vborg.vbsupport.ru/attachmen...&postid=352490
https://vborg.vbsupport.ru/attachmen...&postid=352491

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 01-31-2003, 05:33 PM
Martin64's Avatar
Martin64 Martin64 is offline
 
Join Date: Nov 2001
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just a little update:

You can post vB Code, IMG code, smilies and html, and it will reply (it'll work in the forums it's allowed only, of course)

hellsatan: great idea, I'm sure people would want this, I'll send you a pm.
Reply With Quote
  #43  
Old 01-31-2003, 05:35 PM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Invalid SQL: INSERT INTO patterns (bot, word, ordera, parent, isend) VALUES ('0','WIE','2','1','0')
mysql error: Unknown column 'bot' in 'field list'
Reply With Quote
  #44  
Old 01-31-2003, 05:36 PM
Tim Wheatley's Avatar
Tim Wheatley Tim Wheatley is offline
 
Join Date: Nov 2001
Location: England
Posts: 489
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ah! BOT is a table on the DB, all the other ones (word, ordera, parent, isend) are within patterns.

Bot didn't exist within my patterns table.

I have the latest version of the bot installed... Perhaps you need an 'ADD TABLE' in your install file?
Reply With Quote
  #45  
Old 01-31-2003, 05:41 PM
Tim Wheatley's Avatar
Tim Wheatley Tim Wheatley is offline
 
Join Date: Nov 2001
Location: England
Posts: 489
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I added bot:

Code:
Database error in vBulletin Control Panel 2.2.9:

Invalid SQL: INSERT INTO patterns (bot, word, ordera, parent, isend) VALUES ('0','WHAT','2','1','0')
mysql error: Duplicate entry '0' for key 1

mysql error number: 1062

Date: Friday 31st of January 2003 08:34:01 PM
Script: http://forum.racesimcentral.com/admin/teachbot.php
Referer: http://forum.racesimcentral.com/admi...=teachbot5word
??
Reply With Quote
  #46  
Old 01-31-2003, 05:42 PM
Martin64's Avatar
Martin64 Martin64 is offline
 
Join Date: Nov 2001
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

From db.sql in the Tombot 1.1 release:

#
# Table structure for table `patterns`
#

CREATE TABLE patterns (
bot tinyint(3) unsigned NOT NULL default '0',
id int(11) NOT NULL auto_increment,
word varchar(255) default NULL,
ordera tinyint(4) NOT NULL default '0',
parent int(11) NOT NULL default '0',
isend tinyint(4) NOT NULL default '0',
PRIMARY KEY (id),
KEY wordparent (parent,word),
KEY botid (bot)
) TYPE=MyISAM;

Please verify that you have run that query, if not, add the missing columns.
Reply With Quote
  #47  
Old 01-31-2003, 05:45 PM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is what i can see:

CREATE TABLE patterns (
id int(11) NOT NULL default '0',
word varchar(255) default NULL,
ordera tinyint(4) NOT NULL default '0',
parent int(11) NOT NULL default '0',
isend tinyint(4) NOT NULL default '0',
PRIMARY KEY (id),
KEY id (id),
KEY wordparent (parent,word)
) TYPE=MyISAM;
Reply With Quote
  #48  
Old 01-31-2003, 05:48 PM
Tim Wheatley's Avatar
Tim Wheatley Tim Wheatley is offline
 
Join Date: Nov 2001
Location: England
Posts: 489
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorted, thanks.

I only had bot missing though?? Anyway, works now.
Reply With Quote
  #49  
Old 01-31-2003, 05:50 PM
Tim Wheatley's Avatar
Tim Wheatley Tim Wheatley is offline
 
Join Date: Nov 2001
Location: England
Posts: 489
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No it hasn't. Shouldn't bot be sending a value of 1, not 0?
Reply With Quote
  #50  
Old 01-31-2003, 06:13 PM
Martin64's Avatar
Martin64 Martin64 is offline
 
Join Date: Nov 2001
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, the bot value should be 0.

If it's not working though, I really recommend re-installing the tables (actually, reinstalling Tombot 1.1 completely).

You're using the db.sql that came with Tombot 1.0 (non working version). The db.sql that comes with Tombot 1.1 (first working release) is different.

Nuclion: I give you the same advice for the same reason.
Reply With Quote
  #51  
Old 01-31-2003, 06:17 PM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok tnx, installing tables right now and the aiml files. Tombot 1.0 was working though but this hack is to handy to let it that way.
Reporting back after install, stay tuned.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:20 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04757 seconds
  • Memory Usage 2,306KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete