Page 1 of 1

Animal Dieing But Not Dieing

Posted: Mon Oct 01, 2007 5:14 am
by runtest
ROFL

I created a goat, I killed the goat, and the weirdest thing did happen I say!
For the goat, the really dead goat, with no life he ran away!

To put that in more readable terms. I created a goat and used the .kill command on it, and a body fell over dead but then a duplicate with 0 health started running. Also in combat pull out an animals health bar and the client freezes up.

Did you forget to put in a delete for the animal after death?

Posted: Mon Oct 01, 2007 5:59 am
by runtest
Two more errors, thought I would just add them here instead of cluttering the place up.

* Regen does not work.
* Players have access to the command bar, I have disabled their access to it but it still appears when they log in.

Posted: Wed Oct 03, 2007 9:20 am
by Luth
I also .kill-ed a monster, and a duplicate with 0 hp remained standing.

Posted: Wed Oct 03, 2007 9:33 am
by runtest
If I read correctly, when a creatures HP == 0 then it deletes the creature, finds its direction, plays an animation, and places a body at end of animation. So where is this script?

Posted: Thu Oct 04, 2007 11:02 am
by CWO
That isn't a script. Thats what the core does.

Posted: Thu Oct 04, 2007 11:17 am
by runtest
Ouch, well I guess its out of my hands.

Posted: Thu Oct 04, 2007 1:31 pm
by Pierce
Do you use ApplyDamage or ApplyRawDamage in your .kill or whatever scripts?

First you should use ApplyRawDamage with a value higher than the str/hp value of the npc. I usually add another 1000 or 2000 with this command. Then they die as expected nevertheless what skills they have :)

Posted: Fri Oct 05, 2007 9:01 am
by runtest
No, no, the animal dies. Its life is 0, the core forgets to delete the animal after hp is 0.

Step 1: HP Is detected at 0 or below.
Step 2:Get animal direction and such.
Step 3: Delete animal.
Step 4: Play appropriate animation.
Step 5: Delete end animation.
Step 6: Place corpse.

Posted: Sat Oct 06, 2007 11:49 am
by Pierce
Strange. I never had this problem. Even with the newest core. They always does the "steps" you suggest. Perhaps you can make a screenshot of that dead animal, walking around. Maybe it looks nice or helps the devs to find your problem.

Posted: Sat Oct 06, 2007 11:59 am
by runtest
http://www.filefactory.com/file/78cc0d/

Better yet, here is a video. I can not find free screen recording software so try and deal with the ads. :P :P

Posted: Sat Oct 06, 2007 12:47 pm
by runtest
Some anti-virus says its a virus. I checked it out myself there is nothing wrong with it. Just ignore it.