[ABD] Forum AI v0.2.0

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Registered User
Posts: 267
Joined: Thu Mar 07, 2002 3:58 am
Location: Australia

[ABD] Forum AI v0.2.0

Post by zemaj »

Name: Forum AI

Description: This mod with give your forums an "artifical intelligence" bot based on the ALICE system (Program E by Paul Rydell) which will respond to users' posts in your forum and chat with users.

Version: 0.2.0

Download: http://prdownloads.sourceforge.net/iai/ ... p?download

Project site: https://sourceforge.net/projects/iai/

Code: Select all

## New to v0.2.0:
## o various bug fixes (esp. blank posts fix)
## o some degree of coding clean up, but needs more work (I got bored after about 3 hours :P )
## o SRS (Salient Response System) - makes bot give far more salient (succinct and to the point) responses
## o response for private messages to bot's username
## o waaaay better variable tracking
## o customisable welcome message from bot to newly registering users
## o much, much better AIML updating from admin panel
## o move away from various traditional ALICE systems to better suit phpBB/forum systems
## o repositioning of files to better fit phpBB standards
## o improved installation procedure in install.php (now loads initial aiml files at same time)
## o added some intergration mods (note the ChatBox intergration mod - this is REALLY cool ;) )
Many, many thanks to parad0x for this. Instead of having to wade through some 50 pages of replies you can find all the info you'll need here. You can find the latest version of this [here] to see if there have been any changes.
parad0x wrote: Just trying to consolidate everything since the release of Version 0.2.0
I may (and most likely have) left things out, as this has turned out to be a fairly large task. If you spot something that I need to add or change, please let me know. I will keep this post up to date as best I can. I hope this helps.

Name: Forum AI
Author: zemaj
Description: This mod with give your forums an "artificial intelligence" bot based on the ALICE system (Program E by Paul Rydell) which will respond to users' posts in your forum and chat with users.
Main download: http://www.phpbb.com/phpBB/viewtopic.php?t=24191
Project site: http://palgn.com/iai/
Prerequisites: PHP (4.0.4+) compiled --with-mysql and --with-xml and a recent version of MySQL 3.23.xx and Apache.

AIML files:
(make sure you know what you are doing if you choose to overwrite)
http://www.crucialpc.com/media/ext.zip (file extensions)
http://www.crucialpc.com/media/comp_terms.zip (computer terms)
http://www.crucialpc.com/media/jargon.zip (computer jargon)
http://www.crucialpc.com/media/Love_and_Fear.zip (phobias and such)
http://prdownloads.sourceforge.net/prog ... p?download

Other third party files:
http://www.netclectic.com/forums/files/ ... uilder.zip

Q. Can I delete the AIML files after I install them to the brain?
A. Yes, but you will need them again if you wipe the brain.

Q. My bot is stupid or makes no sense, what is wrong with her?
A. You most likely need to install more AIML files.

Q. Some of the AIML files time out when I try to install them, what do I do?
A. http://www.phpbb.com/phpBB/viewtopic.ph ... &start=984

Q. I get an error similar to this: XML error: mismatched tag at line 15430
A. http://www.phpbb.com/phpBB/viewtopic.ph ... &start=987

Q. My bot will sometimes post her reply before my question, is there a fix? (pick one)
A. http://www.phpbb.com/phpBB/viewtopic.ph ... &start=480 (sleep method)
A. http://www.phpbb.com/phpBB/viewtopic.ph ... &start=867 (cron method)
A. http://www.phpbb.com/phpBB/viewtopic.ph ... &start=953 (php ver. of cron)

Q. How do I load multiple sets of AIML files, what if there are duplicates?
A. http://www.phpbb.com/phpBB/viewtopic.ph ... &start=922

Q. How do I keep the bot from replying to smilies?
A. http://www.phpbb.com/phpBB/viewtopic.ph ... &start=925

Q. My bot posts in response to me deleting a post. (pick one)
A. http://www.phpbb.com/phpBB/viewtopic.ph ... &start=878 (mr.luc fix)
A. http://www.phpbb.com/phpBB/viewtopic.ph ... &start=472 (netclectic fix)

Q. Will this MOD take up much space on my server?
A. It depends on how many AIML files you have installed. Mine is nearing 30meg in the db.

Q. I want the online/offline images to work with the bot.
A. http://www.phpbb.com/phpBB/viewtopic.ph ... &start=506

Q. The bots name isn't colored like it should be.
A. http://www.phpbb.com/phpBB/viewtopic.ph ... &start=513

Q. I want my bot to look like she is always online, how do I do this? (do both)
A. http://www.phpbb.com/phpBB/viewtopic.ph ... &start=484
A. http://www.phpbb.com/phpBB/viewtopic.ph ... &start=486

Q. Can I make my bot look like she is doing something in the Who's online?
A. http://www.phpbb.com/phpBB/viewtopic.ph ... &start=964

Q. Will this work with the Last Visit mod by Niels?
A. Yes, do this: http://www.phpbb.com/phpBB/viewtopic.ph ... &start=493

Q. My bot doesn't seem to respond correctly when using PM.
A. http://www.phpbb.com/phpBB/viewtopic.ph ... &start=965

Q. Where can I see a live demo of this?
A. There are several people in this thread that have listed their sites, some are down and some are live. You may also see a bot here: http://forum.crucialpc.com

I will try to get this all together into a release version 1.0.0 soon. I'm very busy, but I WILL do it ;) I promise.

Last edited by zemaj on Sat May 22, 2004 10:11 am, edited 11 times in total.
Former Team Member
Posts: 4439
Joined: Wed Mar 13, 2002 3:08 pm
Location: Omnipresent

Post by netclectic »

[edit]: For a quick reference see the very useful Topic Consolidation thanks to parad0x
netclectic wrote: Interested, tell me more.
Last edited by netclectic on Thu May 01, 2003 12:08 am, edited 1 time in total.
Defend the game:
Registered User
Posts: 447
Joined: Fri Dec 14, 2001 4:06 pm
Location: /dev/cpu/[0-9]+ :D

Post by sj26 »

Yes! I am definitely interested, but not for replying to topics, rather for being a boss of a battle system. Would it be able to be programmed to battle a user? I am creating RPG Mod and would be very interested to talk to you more. Follow the link to the RPG Mod Forums.
[ Working on: It's a secret! ]
[ Links: My Mods | My Site | PALGN ]
User avatar
Former Team Member
Posts: 9171
Joined: Wed Apr 10, 2002 7:31 pm
Location: France

Post by morpheus2matrix »

yes! i'm also interesting ! !
Former phpBB MOD-Team Member -

Forgive my bad English :(

No support by PM/Email - Thanks - You can thanks me here :) - Pay me for installing MOD's :lol:
Registered User
Posts: 40
Joined: Mon Feb 18, 2002 4:09 pm
Location: Bonnybridge, Scotland

Post by Kajun »

Sounds like fun, I'm interested. If it was configurable to operate only in specified forums, this would be great fun.
User avatar
Registered User
Posts: 27
Joined: Wed Jun 05, 2002 8:16 am

Post by Killah »

iam intrested...would love to have it....will be much better if u can configure it to work on specific forums and stufss...nice one..so when u relasesing it

User avatar
Registered User
Posts: 517
Joined: Sun Apr 21, 2002 1:53 am
Location: I'm not sure

Post by RMS »

...how would this be? Would it be specificially made to be a sort of interactive FAQ bot kind of thing that works from a rough, but building database or what?
Well so long as it is looks reasonably intelligent, and maybe I can get away with passing him off as another member for a while that would be awesome. :P
WOuld you be able to assign his name, and profile stuff like the other users?
This is my signature.
Kage Musha
Registered User
Posts: 444
Joined: Sun Dec 23, 2001 10:03 pm
Location: Someone's Heart

Post by Kage Musha »

hehe sounds good. This one could be fun as a member ;)
https://www.rpggarden.com Development: Battle Mod
Released: PS2 Theme
Image Search b4 asking (less work for us :lol: )
Plz do not abuse my IM mediums or I'll have to block ya :evil:
User avatar
Registered User
Posts: 517
Joined: Sun Apr 21, 2002 1:53 am
Location: I'm not sure

Post by RMS »

hrm, if one could be created, could perhaps two be made? ...maybe even with slightly different "personalities" or even if not, have them still be able to look like they talk to each other sometimes :P
This is my signature.
Registered User
Posts: 29
Joined: Fri Apr 05, 2002 5:14 pm

Post by Joshua418 »

I am very interested.
Would it be configureable so that one could limit the sections it can respond to?

Registered User
Posts: 99
Joined: Sun Apr 07, 2002 3:09 am

Post by Night4554 »

mad hotness :P
Registered User
Posts: 267
Joined: Thu Mar 07, 2002 3:58 am
Location: Australia

Post by zemaj »

I'll make it so that it will only respond to forums which are choosen. I'm also looking at an aproximate percentage of posts which get responses. I'll posts up a list of stuff it will do later in the week.

It should be out in about 3/4 weeks. I can't start work untill the end of this week, but I'll have a lot of time 2 weeks from now which means I should be able to get it done in afew nights then.

Registered User
Posts: 106
Joined: Thu Jan 03, 2002 2:35 pm

Oh yes

Post by Acer »

If it could have a male/female personality would be the kick.
I also agree if it could be passed off as a member with nick and a profile would be a good thing.
Since it is AI, it would have its own database to learn from if it could be set to respond to certain topics. Also making it global so that it can be place on different hosting servers.
If you are talking something simular to Alice that would read post, this would be so KOOL!!!!
Registered User
Posts: 267
Joined: Thu Mar 07, 2002 3:58 am
Location: Australia

Post by zemaj »

Actually it uses ALICE technology, which means, while it's hard to edit (basically you have to learn the language whihc it uses) after that you can basically define all the basic responses.

Also there will be options to define:
  • name
Straight from the admin panel - thus no advanced knowledge needed.

Right now the brain doesn't really have a good "remembering capacity" - it doesn't really record things well, but I'm working on this for a more advanced version.

Finally about storing it on one server - this could be ok, but it does take a while to process each comand, so the server would have to be fast. Also, it is a little hard to do with php, but it can be done.

User avatar
Former Team Member
Posts: 7632
Joined: Tue Jan 08, 2002 6:27 am
Location: Australia
Name: Lachlan Smith

Post by smithy_dll »

eliza and parry stuff? cool
would you be able to make it lock topics with certain keywords etc...
Systems Engineering

Return to “[2.0.x] MODs in Development”