L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 04, 2008, 05:01:29 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Development > Module Requests > Topic: List command for Bebot
Pages: [1]   Go Down
« previous next »
Print
Author Topic: List command for Bebot  (Read 309 times)
0 Members and 1 Guest are viewing this topic.
Slacklin
Rookie
**
Offline Offline

Posts: 30


List command for Bebot
« on: October 24, 2007, 02:24:20 AM »

Description:
In IGN there was an ability to use the command "info" to create very detailed help files using plain text documents. These files could be customized by the individual but allowed for information such as quest progressions, item creation and the like to be displayed. I am interested in seeing if this is possible to import into Bebot as this really is the last part of IGN that we use.


Commands:

!info: Starts up info at designated main page, should know side and profession of sender

!info <quest/textname>: Starts the designated text or quest name file but should read the profession of the sender

!info <quest/textname> <profession>: Starts the text or quest file based on item and profession, should know side of sender

I think that this would be very useful since many guilds were accustomed to using the file system to help their guildmates out.

Not sure how to code this into Bebot as I am not too familiar with the commands.
Logged
Blueeagle
Omnipotent
BeBot Developer
Expert
********
Offline Offline

Gender: Male
Posts: 313



Re: List command for Bebot
« Reply #1 on: October 24, 2007, 09:47:48 AM »

I do not think using text-files to do this is "the right way". BeBot is geared to use the database more. However I can see that editing the contents of the database using tells and so on can be tedious.

So a possible solution is to have users post their files online and then have the bot read them in with something like !info add <quest/textname> <pointer to file>

However a backup feature need to be in place to prevent accidentaly (or deliberately) overwriting something.

The bot can easily find both faction and profession of the person invoking the command, but one should also be able to specify profession and faction when one person invokes an !info on behalf of another player. Also one might want ot be able to have the bot send the info to a spesific player in a tell.

Now there will be a question of formatting the text files. BeBot has got a unique color module and existing text files I would think uses <font color>-tags. This is not really a problem as they will still be parsed. However using the BeBot ##color## system would be preferable as it's customisable in-game. This would entail a rewrite of your existing textfiles.

This would be quite a big module but it should be doable.

As for writing modules for BeBot you might want to have a look-see at modules/_ExampleModule.php as it contains a nice default framework.

Logged

The only problem that can't be solved by adding another wrapper is having too many wrappers.
Slacklin
Rookie
**
Offline Offline

Posts: 30


Re: List command for Bebot
« Reply #2 on: October 24, 2007, 08:52:35 PM »

Editing the files should not prove to be too difficult since it can be done using Real Expressions and the like or using FART (Find and replace text). I understand the DB is where keeping information should be but like you said, editing the bugger can be difficult if you are doing a lot of editing. I will post one of the file that I am referring to later tonight so you can get an idea of what we have.
Logged
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Development > Module Requests > Topic: List command for Bebot
« previous next »
 
Jump to:  

Recent
online not working after ...
by Alreadythere
[Today at 03:53:28 PM]

Bot not working after tod...
by Alreadythere
[Today at 01:04:41 PM]

Tokens Calulator
by Temar
[December 03, 2008, 01:09:03 PM]

Bebot does not work with ...
by IKShadow
[December 03, 2008, 08:54:04 AM]

!items database
by Temar
[December 03, 2008, 07:27:59 AM]

massive_pvp_time_table 1
by Sudoka
[December 03, 2008, 06:49:07 AM]

Log playtime from buddys ...
by IKShadow
[December 02, 2008, 06:48:12 AM]

[request] Raid timers
by Elesar1
[December 01, 2008, 04:41:09 PM]

Shared DB online list
by Temar
[December 01, 2008, 01:55:47 AM]

relay colors
by Temar
[December 01, 2008, 01:54:56 AM]
Stats
Members
Total Members: 1246
Latest: Vingus
Stats
Total Posts: 11192
Total Topics: 1508
Online Today: 21
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 4
Guests: 12
Total: 16
vikor
upstart
daltarak
Sudoka

Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.229 seconds with 28 queries. (Pretty URLs adds 0.025s, 4q)
Loading...