PenUltima Online

It is currently Sat Sep 06, 2008 5:48 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Animal Dieing But Not Dieing
PostPosted: Mon Oct 01, 2007 5:14 am 
Offline

Joined: Sat Aug 05, 2006 11:43 am
Posts: 169
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?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 01, 2007 5:59 am 
Offline

Joined: Sat Aug 05, 2006 11:43 am
Posts: 169
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.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 03, 2007 9:20 am 
Offline
POL Developer

Joined: Mon Jan 30, 2006 8:10 am
Posts: 85
I also .kill-ed a monster, and a duplicate with 0 hp remained standing.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 03, 2007 9:33 am 
Offline

Joined: Sat Aug 05, 2006 11:43 am
Posts: 169
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?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 04, 2007 11:02 am 
Offline

Joined: Sat Feb 04, 2006 5:49 pm
Posts: 748
Location: Chicago, IL USA
That isn't a script. Thats what the core does.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 04, 2007 11:17 am 
Offline

Joined: Sat Aug 05, 2006 11:43 am
Posts: 169
Ouch, well I guess its out of my hands.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 04, 2007 1:31 pm 
Offline

Joined: Thu Feb 02, 2006 8:33 am
Posts: 276
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 :)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 05, 2007 9:01 am 
Offline

Joined: Sat Aug 05, 2006 11:43 am
Posts: 169
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 06, 2007 11:49 am 
Offline

Joined: Thu Feb 02, 2006 8:33 am
Posts: 276
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 06, 2007 11:59 am 
Offline

Joined: Sat Aug 05, 2006 11:43 am
Posts: 169
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


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 06, 2007 12:47 pm 
Offline

Joined: Sat Aug 05, 2006 11:43 am
Posts: 169
Some anti-virus says its a virus. I checked it out myself there is nothing wrong with it. Just ignore it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl