Animal Dieing But Not Dieing

Report core bugs regarding the Ultima Online Emulator Core release (version 097). You can attach your Core Dump. One bug per post.
Locked
runtest
Grandmaster Poster
Posts: 194
Joined: Sat Aug 05, 2006 11:43 am

Animal Dieing But Not Dieing

Post 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?
runtest
Grandmaster Poster
Posts: 194
Joined: Sat Aug 05, 2006 11:43 am

Post 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.
Luth
Former Developer
Posts: 200
Joined: Mon Jan 30, 2006 8:10 am

Post by Luth »

I also .kill-ed a monster, and a duplicate with 0 hp remained standing.
runtest
Grandmaster Poster
Posts: 194
Joined: Sat Aug 05, 2006 11:43 am

Post 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?
User avatar
CWO
POL Expert
Posts: 1160
Joined: Sat Feb 04, 2006 5:49 pm

Post by CWO »

That isn't a script. Thats what the core does.
runtest
Grandmaster Poster
Posts: 194
Joined: Sat Aug 05, 2006 11:43 am

Post by runtest »

Ouch, well I guess its out of my hands.
Pierce
Forum Regular
Posts: 420
Joined: Thu Feb 02, 2006 8:33 am

Post 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 :)
runtest
Grandmaster Poster
Posts: 194
Joined: Sat Aug 05, 2006 11:43 am

Post 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.
Pierce
Forum Regular
Posts: 420
Joined: Thu Feb 02, 2006 8:33 am

Post 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.
runtest
Grandmaster Poster
Posts: 194
Joined: Sat Aug 05, 2006 11:43 am

Post 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
runtest
Grandmaster Poster
Posts: 194
Joined: Sat Aug 05, 2006 11:43 am

Post by runtest »

Some anti-virus says its a virus. I checked it out myself there is nothing wrong with it. Just ignore it.
Locked