Re: [CODE] A stable special proc

From: George (greerga@CIRCLEMUD.ORG)
Date: 01/26/98


On Mon, 26 Jan 1998, Chuck Reed wrote:

>I have added in mounts in my game and currently have no way of saving them.
> I was going to add a store called "The Stables" in which you could store
>one mount for a price.  Now, seeing as there may be more than one of these
>across the world eventually, I was thinking that the best way to code this
>was to make files similar to plrobjs and plralias to store all their mounts
>and what stable they were at.  However, not knowing at ALL how to do this,
>I was wondering if anyone knew of a different way that would work?

Could store it like the socials are in one big file like:
<stable vnum> <player idnum> <mount vnum> <time in> etc.

Parsing would be basically a sscanf statement.

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST