Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Improved Sorcery Trigger Support

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Eric Sandall <eric AT sandall.us>
  • To: Andrew Stitt <afrayedknot AT thefrayedknot.armory.com>
  • Cc: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] Improved Sorcery Trigger Support
  • Date: Thu, 25 Aug 2005 21:50:42 -0700 (PDT)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 25 Aug 2005, Andrew Stitt wrote:
The sorcery team has been working on improving on_cast triggers. The
work is mostly complete, and I think its ready for broader testing and
feedback from the development/user-base.

The main improvement was to integrate (on_cast) triggers with dependency
sorting. In the old implementation, an on_cast trigger was effectively a
cast -c after the triggering spell completed. This leads to many spells
being cast multiple times. For example, if zlib casts, it will trigger
a number of casts. During a rebuild, those spells are already going to
be cast.

The new implementation puts triggers into the same dependency tree and
works hard to only cast a trigger once (if there arent any dependency
loops, its guaranteed). As a consequence, triggered spells are inspected
at the same time as other spells, as opposed to being a seperate cast
entirely.

I've got this code working and have made a temporary sorcery tarball
availible as sorcery-trigger.tar.bz2 on the mirror. To use it, set your
sorcery branch to 'triggers', then do sorcery update. Try casting zlib :-)

I'll probably integrate things to devel for a wider audience soon,
I'd like to get some preliminary testing first though.
<snip>

Thanks for all the work Andrew! I'll try testing it and providing
commentary as you asked when I'm more awake tomorrow.

- -sandalle

- --
Eric Sandall | Source Mage GNU/Linux Developer
eric AT sandall.us | http://www.sourcemage.org/
http://eric.sandall.us/ | SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/ #196285 | http://www.shock.wsu.edu/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDDp+nHXt9dKjv3WERAqAeAJ9UB/TOdgH7483QD7gop5b7MxcuXgCgjt8s
dTue3AS+aYLXTWwylPCATls=
=6i9+
-----END PGP SIGNATURE-----




Archive powered by MHonArc 2.6.24.

Top of Page