[CF-Devel] Bug: non-standard wands cause crash

Andreas Vogl andi.vogl at gmx.net
Thu Oct 5 11:29:55 CDT 2000


On Thu, 5.10.2000, Jan Echternach wrote:
>
     
      > 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.
     
     >
     
     
     >
     
      Another wild guess:  Maybe the code for computing the value of the
     
     >
     
      wand/staff is dividing the number of charges by the number of maximum
     
     >
     
      charges.
     
     
Nope. Don´t forget that the appearance of the bug depends on the "sp"
value (=> spell) the wand contains. A wand of large snowstorm is okay, but
a wand of shockwave will cause a server-crash.
I´m almost certain that this bug cannot be solved by changing the map-data
in any way. We would have to locate the bug in the code.

>
     
      I think the easiest solution would be to replace the non-standard wands
     
     >
     
      with scrolls. BTW, wands can be recharged.  I don't know if the map
     
     >
     
      desinger had taken this into account.
     
     
Actually, the recharge option was the reason to use wands.
Of course, I can invent some other "goodie" and replace them. I wanted to
fix the bug mainly because... it´s a bug :-)


Andreas V.


    
    


More information about the crossfire mailing list