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 01, 2008, 02:01:10 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 > Feedback and Suggestions > Topic: Help Files
Pages: [1]   Go Down
« previous next »
Print
Author Topic: Help Files  (Read 516 times)
0 Members and 1 Guest are viewing this topic.
Visceru
Freshman
*
Offline Offline

Posts: 10


Help Files
« on: June 18, 2007, 03:50:09 PM »

I notice in the patch notes that the custom/help folder has been added, and in the docu-wiki it's mentioned that help files are now all internal to the PHP modules through the $this -> help[] array.

Firstly, what lead to the decision to put the online documentation into the php files?  I intend to document all the commands properly for a guild of users that wants to migrate from IGN.  Documentation is by far the primary reason they are still using IGN, and they require a real level of online help for people new to chat bots instead of the meager user help BeBot currently has.  As it stands, I can add all the documentation I want to the PHP, but then it all gets overwritten and deleted when a new version of the bot is released.

An alternative would be that I get involved with the development and contribute docs to the SVN.  But I was hoping to elicit help from a couple of other friends in writing the text.  They aren't programmers and wouldn't be comfortable editing string values in the help[] array.


So that brings me to my second question. Smiley  Are you planning to use the custom/help folder (or a root/help folder for that matter) at all in the future?  I notice there isn't any code in the bot currently that reads from it.  What kind of format might be used if it were?  Any chance of an .xml file per module? I think it'd be better to separate documentation from code.  It'd also be fantastic if people implementing these modules would document them for the bot's online help instead of pointing people to the wiki, or even worse, just leaving the help regurgitating "no help found" for everything.
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1085


Re: Help Files
« Reply #1 on: June 18, 2007, 04:31:36 PM »

There are currently no plans to move back to external help files. The custom/help/ folder was just a relict that didn't get removed yet.

We moved to a new help system because it was more files to keep up to date, reading outside files could offer potential security problems, and linking between help for one command and any alias it might have would require two files, as windows doesn't support any soft linking. Besides, for most commands there was no current help anyways, so changing the system resolved in not much new work. And with the new help system the formatting is the same for all help output.

You are more then welcome to help us with the help for commands. Even your friends without any php experience can help, just have them write the help as unformatted text, and insert it into the help array via copy and paste.

Most modules should have at least basic help already in SVN.
Logged
Visceru
Freshman
*
Offline Offline

Posts: 10


Re: Help Files
« Reply #2 on: June 18, 2007, 05:33:04 PM »

Thanks for the reply.  I agree that unifying the help file format is nice. I'll have a think about getting to work. It'll be some time before I get the chance to do much, but nice to know all this.

In the meantime I hope any new features added are being documented in the online help by everyone adding them! Smiley
Logged
Vhab
BeBot Contributor
Experienced
*******
Offline Offline

Posts: 158


WWW
Re: Help Files
« Reply #3 on: June 18, 2007, 11:47:10 PM »

If you're really uncomfortable with writing them into the plugins, you can always just write the help text, post it on the forums and wait for one of the code monkeys to pick it up and commit to svn Tongue
Logged
Visceru
Freshman
*
Offline Offline

Posts: 10


Re: Help Files
« Reply #4 on: June 25, 2007, 02:11:19 PM »

No no I'm a coder myself, I'm comfortable with the mechanics, just not so much of the idea.  Although I see the logic of putting it in there, and understand the decision to do so, it goes against my desire for a few reasons.

One reason is for localisation.  I would prefer the docs to be seperate to allow the whole documentation to be localised into different languages easily.

But my main reason that I've decided I won't be contributing to the SVN is because the documentation I write is all in character (IC), and thus is not appropriate for the majority audience of BeBot.

For instance, here's an excerpt from the afk command:

AFK:  "Allows you to flag yourself as being away from your comlink.  The AI will increase security on incoming messages, locking any would-be request and notifying him or her that their transmission has been scrambled and will be unheard by you."

Thus, every single module, whether modified in function by me or not will have to be overwritten with one in the \custom\modules folder, as every command needs documentation.  And then every time the bot gets updated I will have to check whether the files have actually changed, and rewrite all my docs into the custom folders.

So....  Lots of work Sad
Logged
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Development > Feedback and Suggestions > Topic: Help Files
« previous next »
 
Jump to:  

Recent
[request] Raid timers
by Alreadythere
[Today at 11:42:32 AM]

Shared DB online list
by Temar
[Today at 01:55:47 AM]

relay colors
by Temar
[Today at 01:54:56 AM]

BeBot v0.6.0 released
by Alreadythere
[November 30, 2008, 05:32:00 PM]

Change to Bid.php
by Temar
[November 30, 2008, 11:41:44 AM]

OnlineOrg
by Jiheld
[November 29, 2008, 12:44:27 PM]

Silly Newbie Question.
by Temar
[November 29, 2008, 12:00:02 PM]

massive_pvp_time_table 1
by gerborg
[November 29, 2008, 06:55:35 AM]

Bot not see Guild Chat
by Delvar
[November 28, 2008, 08:30:34 AM]

Starting Bot
by Allisande
[November 28, 2008, 07:08:21 AM]
Stats
Members
Total Members: 1243
Latest: Whackoeng
Stats
Total Posts: 11143
Total Topics: 1505
Online Today: 21
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 1
Guests: 15
Total: 16

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.334 seconds with 29 queries. (Pretty URLs adds 0.022s, 4q)
Loading...