[CF-Devel] Bug: non-standard wands cause crash
Andreas Vogl
andi.vogl at gmx.net
Wed Oct 4 20:02:19 CDT 2000
On Wed, 4.10.2000 Jan Echternach wrote:
>
> Open crossedit, insert a (standard archetype) wand
>
> somewhere. Add a spell to the wand that wouldn't appear
>
> on wands in the shops. For example: "sp 159" (->nightfall).
>
> Add food, e.g. "food 5" so that it has 5 charges.
>
> Add "identified 1" so that it is already identified.
>
>
>
> Now start a cf-server & client and enter the game. Pick up
>
> the wand. Apply it (ready) and fire it. You'll see that
>
> this works. Now left-click on the wand. BOING - server crash!
>
> Errormessage is "Floating exception".
>
>
Just a blind guess: Does setting "level 1" fix the crash? Unspecified
>
level means level 0, which is invalid.
Nope sorry, it´s not that easy. I´ve always put a level > 0 to the
wands. I just forgot to mention that in the description above.
That bug is really weird, and it applies only to wands and staffs.
It doesn´t apply to rods for example, although wands and rods are
treated with one and the same function most of the time.
Moreover, it doesn´t seem like there would be any difference between
standard and no-standard wand spells (except that the former cause
crashes and the latter don´t).
And finally, the error message "Floating exception":
That sounds like a buffer overflow occured. And all this caused by a
left-click.
It´s a miracle...
Andreas V.
More information about the crossfire
mailing list