[CF-Devel] Broken doors

pstolarc at theperlguru.com pstolarc at theperlguru.com
Sat Sep 7 06:28:13 CDT 2002


On Fri, 06 Sep 2002, Mark Wedel wrote:

>
     
     
      pstolarc at theperlguru.com
      
       wrote:
     
     >>
     
      pass_thru type doors don't seem to be working properly.  You attack them
     
     >>
     
      automatically, instead of walking through them.  
     
     >
     
     
     >
     
       I've fixed this up in CVS.
     
     <snip>
>
     
       This bad block of code actually existed for quite a while.  I remember if you 
     
     >
     
     had some pet monsters and wandered into the scorn inn, the pets would get busy 
     
     >
     
     bashing the doors.  This just showed up for players since one of the recent 
     
     >
     
     changes made much more of move code for players and monsters the same (they were 
     
     >
     
     previously mostly the same before, just happened to use different blocked 
     
     >
     
     functions).
     
     
Another place this new code fails is with checkinvs that have no_pass 1
set.  They are a special case, where you can pass if you would otherwise
trigger the checkinv.  (See the mapmaker's guide if this doesn't make
sense.)

For an example of this, try to enter a guild for which you have the key.
The gate opens, but the player can't get past the burglar prevention force
field.  (OK, its not really called that, but it should be.)

-Philip

    
    


More information about the crossfire mailing list