Re: Planned OasisOLC Enhancements

From: Torgny Bjers (artovil@arcanerealms.org)
Date: 09/13/02


On 02-09-13 18.42, "Mythran" <kip_potter@HOTMAIL.COM> wrote:
> From: "Mike Stilson" <mike@VELGARIAN.SYTES.NET>
>> On Mon, Aug 12, 2002 at 02:54:42PM -0700, Mythran wrote:
>>>> 3. Perhaps (this might be off topic) build a mudedit command, where you
>>> are able to change things like the different startrooms, wizlock(so it's
>>> saved over boots), level to holler, some of the mud variables you set in
>>> config.c could easily be transferred to a file and loaded on boots instead.
>>>>
>>> Hrm, the 3rd idea sounds pretty good
>>> also....I will think about it and see who else replies to this message and
>>> see their opinions...
>>>
>>> Anyone else have opinions based on the above comments?
>>
>> This snippet already exists (if not I can make one) something about
>> world.c or something, sorry, don't remember the name of the ftp file.
>>
>>>
>>> Mythran
>>
>> -me
>
> Hmm...I was thinking, instead of removing config.c, I could use config.c for
> the
> OasisOLC cedit (Game Configuration Command).  Since all the vars I am changing
> are inside of config.c.....but then again, this would move away from the
> current
> OasisOLC files of medit.c oedit.c redit.c et cetera.
>
> Mythran

Damn shame that I have everything in SQL, but I have this working, so I can
reload the configuration if I edit it from the outside (which I do through
the web in our administration interface).

Although I think you should keep config.c as it is, and instead add a file
called configedit.c and keep as much of the new code there, to make the
patch easier, since most of the stuff you can centralize there instead of
bloating config.c with lots of new stuff.

Just my two cents...

Regards,
/Torgny

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT