Re: Unknown Apply ...

From: Skylar (skylar@ifconfig.intserv.com)
Date: 05/22/96


On Tue, 21 May 1996, Brian Christopher Guilbault wrote:

> I am getting a whole slew of errors that say this in my syslog.
> 
> SYSERR: Unknown apply adjust attempt - handler.c
> 
> I'm not sure that is the exact syntax, but it is close to that. I have 
> looked through the code and I know WHY the error is written. It is logged 
> when some affect bitvector isn't valid on an item. I am getting LOTS of 
> them and am wondering if anyone knows an easier way to track them down 
> then to load only a few objects at a time from the zone in question. What 
> I've been doing is booting the game with only the guilty zone file, then 
> rebooting with only about 10 objs, then using process of elimination to 
> find the guilty obj. Once I do that I have to remove all bits, then add 
> them one-by-one, rebooting every time until I find the guilty one.
> 
> If anyone knows an easier way to do this, please let me know, I'd 
> appreciate it greatly.

In handler.c, in the function affect_modify(), at the end, where it spits
that SYSERR, add these lines after that (and before the break;) 

sprintf(buf, "DEBUG: Trying to set APPLY %d by %d!", loc, mod);
log(buf);

The results will be in your syslog.  Just search your .obj files for either
of the numbers, or if they're too common, you could just take the first
one and search for "A <whatever that number is>"

-Sky



This archive was generated by hypermail 2b30 : 12/18/00 PST