Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CF: Wizard Crashes
- To: crossfire (at) ifi.uio.no
- Subject: Re: CF: Wizard Crashes
- From: Jan Echternach <>
- Date: Fri, 26 May 2000 12:24:23 +0200
- In-Reply-To: <>; from on Thu, May 25, 2000 at 11:33:30PM -0700
- Mail-Followup-To:
- References: <>
- Reply-To: Jan Echternach <>
- Sender:
On Thu, May 25, 2000 at 11:33:30PM -0700, John Cater wrote:
> Warning: Tried to insert object wrong part of multipart object.
Should be harmless. Probable cause is that a part of a multisqaure
monster that was not the head casted a spell like "protection from
fire" or "strength" and the force object was inserted into the part and
not into the head.
> Remove_friendly_object: Can't find object golem (97949).
Thanks for the server logs. This is fixed by the attached patch. The
patch is already applied to the CVS tree.
> SIGSEGV received.
> Emergency saves disabled, no save attempted
> Cleaning up...
But I did not get any crashes, although I could reproduce the
"Remove_friendly_object: ..." message easily with a big wizard that had
a spellbook of summon golem and was killing his own golems with his
other spells.
The crashes must have a different cause.
--
Jan
diff -ru orig/crossfire-0.95.5-cvs2-patch13f/server/attack.c crossfire-0.95.5-cvs2/server/attack.c
--- orig/crossfire-0.95.5-cvs2-patch13f/server/attack.c Fri May 26 11:26:51 2000
+++ crossfire-0.95.5-cvs2/server/attack.c Fri May 26 11:19:50 2000
@@ -850,7 +850,7 @@
op->speed_left= -0.05;
return maxdam;
}
- if(op->type==GOLEM) {
+ if(QUERY_FLAG (op, FLAG_FRIENDLY)) {
remove_friendly_object(op);
if(get_owner(op)!=NULL)
op->owner->contr->golem=NULL;