Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 13466] New: on_cast dispel_self dispels requesting spell not target spell

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 13466] New: on_cast dispel_self dispels requesting spell not target spell
  • Date: 28 Jan 2007 02:31:52 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=13466

Summary: on_cast dispel_self dispels requesting spell not target
spell
Product: Sorcery
Version: 1.14.x
Platform: x86
OS/Version: Linux
Status: NEW
Severity: critical
Priority: P2
Component: Cast
AssignedTo: sm-sorcery-bugs AT lists.ibiblio.org
ReportedBy: iuso AT sourcemage.org


I ran into this while testing udev stuff. I can reproduce this with both
current stable and devel sorcery (no stage root). I'm tired so here's the
relevant parts of what we already discussed on #sourcemage with BearPerson:

03:58 <@iuso> in my local grimoire i added a TRIGGERS to hotplug with 'on_cast
udev dispel_self'
03:59 <@iuso> then i cast hotplug, and then udev
03:59 <@iuso> udev asked correctly if i want to run the trigger to dispel
hotplug
03:59 <@iuso> but then when it came around to the actual dispel, it asked
something like 'on_cast being cast triggers a dispel_self on
udev, proceed?"
04:00 <@iuso> if i said 'y' it would dispel udev :o
04:00 <@iuso> i looked at hotplug's tablet and /var/state/sorcery/triggers,
they're just as they're supposed to
04:01 <@iuso> i might have run into something that's been hidden in plain
sight
for long. i think i've only seen spell deprecations so far using
'on_cast foo dispel_self'
04:01 <@iuso> meaning that this bug won't surface if the spell is requesting
for itself to be removed
04:02 <@iuso> (because this one seems to be about the requesting and removed
spell getting mixed up)
04:03 <@BearPerson> though it's weird that 'on_cast being cast' is what it
says
04:03 <@BearPerson> what's the line in the /var/state/sorcery/triggers?
04:04 <@iuso> hotplug:udev:on_cast:dispel_self
04:04 <@iuso> the line in triggers is just like the rest
04:05 <@BearPerson> hmm
04:05 <@BearPerson> do_trigger "$spell:on_cast:$trg_target:
$trg_action"
04:05 <@BearPerson> line 269, /var/lib/sorcery/modules/libdepengine
04:06 <@BearPerson> I'm not quite up-to-date, and am not quite sure about the
code thereabouts, but that line definitely looks like the
source of the bug
04:18 <@BearPerson> I think the line should read do_trigger
"$trg_target:$spell:on_cast:$trg_action", but I'm not sure

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



  • [SM-Sorcery-Bugs] [Bug 13466] New: on_cast dispel_self dispels requesting spell not target spell, bugzilla-daemon, 01/27/2007

Archive powered by MHonArc 2.6.24.

Top of Page