sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
Re: [SM-Discuss] Improved API for query and store config information
- From: Paul <dufflebunk AT dufflebunk.homeip.net>
- To: sm-discuss <sm-discuss AT lists.ibiblio.org>
- Subject: Re: [SM-Discuss] Improved API for query and store config information
- Date: Mon, 22 Mar 2004 12:18:04 -0500
There is a libapi that should contain all functions that are allowed to
be called in a spell.
I would suggest you save the persistent stuff to different files,
perhaps add a .p suffix?
On Mon, 2004-03-22 at 11:53, VladimÃr Marek wrote:
> > > persistent_load
>
> [ balast ]
>
> > > persistent_save
>
> [ balast ]
>
> > Couldn't Sorcery automatically run those before/after the scripts?
>
> Yes, that is great idea. I have to found exactly where ( = which all
> scripts can be run from the spell ). And it will change with the BUILD
> split too, I think.
>
> Anywhere described what everything can be called from the spell ?
>
> HOWEVER
>
> The problem is that when you call persistent_save, it overwrites whole
> $SPELL_CONFIG. That would broke all spell which are unavare of this new
> system, and write to $SPELL_CONFIG directly. Solutions:
>
> a) Leave spells, prite persistent_load & persistent_load in every file
> we need
>
> b) Rewrite all spells
>
> c) Do as in a) but when most of spells will be using this method,
> reconsider b) :)
>
> I think c) is right
>
> > -sandalle
>
> --
> Vladimir Marek
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss
--
De mortuis nihil nisi bonum.
Attachment:
signature.asc
Description: This is a digitally signed message part
-
Re: [SM-Discuss] Improved API for query and store config information
, (continued)
-
Re: [SM-Discuss] Improved API for query and store config information,
Casey Harkins, 03/19/2004
-
Re: [SM-Discuss] Improved API for query and store config information,
Andrew, 03/19/2004
-
Re: [SM-Discuss] Improved API for query and store config information,
Paul, 03/20/2004
- Re: [SM-Discuss] Improved API for query and store config information, Andrew, 03/20/2004
- Re: [SM-Discuss] Improved API for query and store config information, -={|TooManyMirrors|}=-, 03/20/2004
-
Re: [SM-Discuss] Improved API for query and store config information,
Paul, 03/20/2004
-
Re: [SM-Discuss] Improved API for query and store config information,
Andrew, 03/19/2004
-
Re: [SM-Discuss] Improved API for query and store config information,
Vladimír Marek, 03/22/2004
-
Re: [SM-Discuss] Improved API for query and store config information,
Eric Sandall, 03/22/2004
-
Message not available
- Re: [SM-Discuss] Improved API for query and store config information, Eric Sandall, 03/22/2004
-
Message not available
-
Re: [SM-Discuss] Improved API for query and store config information,
Vladimír Marek, 03/22/2004
- Re: [SM-Discuss] Improved API for query and store config information, Eric Sandall, 03/22/2004
-
Re: [SM-Discuss] Improved API for query and store config information,
Paul, 03/22/2004
-
Re: [SM-Discuss] Improved API for query and store config information,
Vladimír Marek, 03/22/2004
-
Re: [SM-Discuss] Improved API for query and store config information,
Paul, 03/22/2004
- Re: [SM-Discuss] Improved API for query and store config information, Vladimír Marek, 03/22/2004
- Re: [SM-Discuss] Improved API for query and store config information, Paul, 03/22/2004
-
Re: [SM-Discuss] Improved API for query and store config information,
Paul, 03/22/2004
-
Re: [SM-Discuss] Improved API for query and store config information,
Vladimír Marek, 03/22/2004
-
Re: [SM-Discuss] Improved API for query and store config information,
Eric Sandall, 03/22/2004
-
Re: [SM-Discuss] Improved API for query and store config information,
Casey Harkins, 03/19/2004
Archive powered by MHonArc 2.6.24.