[CF-Devel] RE: [Crossfire-cvs] CVS commit: crossfire

Tim Rightnour root at garbled.net
Wed Jan 2 14:06:38 CST 2002


On 02-Jan-02 Michael Toennies wrote:
>
     
      Hm, which kind of server crashes?
     
     >
     
      Iam a bit curious about it, because the core routines aren't triggered by
     
     >
     
      ani
     
     >
     
      official client and the information grapping stuff inside other routines
     
     >
     
      can't be problematic.
     
     >
     
     
     >
     
      The only other thing is that i forced to use the head tile. But thats
     
     >
     
      something whats
     
     >
     
      introduced earlier from mark.
     
     >
     
     
     >
     
      Has you a log or something what crashes and why?
     
     
Two problems I saw:

1) millions of lines in the logfiles from the following code:
#ifdef DEBUG /* hm, should really not happens */
if(!op->animation_id || !NUM_ANIMATIONS(op)) {
        LOG(llevError,"Object lacks animation.\n");
        dump_object(op);
        return;
    }
#endif

2) Crashes from the following code:
 max_state=NUM_ANIMATIONS(op)/ NUM_FACINGS(op);
    base_state=0;

Because in some cases, NUM_FACINGS(op) was coming up 0.

---
Tim Rightnour <
     
     root at garbled.net
     
     >
NetBSD: Free multi-architecture OS 
     
     http://www.netbsd.org/
     
     
NetBSD supported hardware database: 
     
     http://mail-index.netbsd.org/cgi-bin/hw.cgi
     
     
    


More information about the crossfire mailing list