Page 1 of 1

Crash when a script attached on a npc kills him

Posted: Mon Feb 06, 2012 10:03 am
by Terciob
Hi, finally i found the cause of a weird and old crash on my server. To reproduce:

npc ai:

Code: Select all

use os;
use npc;
program myself()
	while (self())
		start_script ("crash", self());
		sleep (10);
		wander();
	endwhile
endprogram 
the attached script:

Code: Select all

use uo;
use vitals;
program crash_my_server (npc)
	attach (npc);
	applyrawdamage (npc, 6000);
endprogram 
Dedicated for Muaddib which in the past analyzed a 1.2gb large crash dump trying to solve this issue.

Re: Crash when a script attached on a npc kills him

Posted: Wed Aug 29, 2012 1:13 am
by Turley
Long ago but not forgotten, fixed in Rev. 559 :)