View unanswered posts | View active topics
|
Page 1 of 1
|
[ 11 posts ] |
|
| Author |
Message |
|
runtest
|
Post subject: Animal Dieing But Not Dieing Posted: Mon Oct 01, 2007 5:14 am |
|
Joined: Sat Aug 05, 2006 11:43 am Posts: 170
|
|
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 |
|
 |
|
runtest
|
Post subject: Posted: Mon Oct 01, 2007 5:59 am |
|
Joined: Sat Aug 05, 2006 11:43 am Posts: 170
|
|
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 |
|
 |
|
Luth
|
Post subject: Posted: Wed Oct 03, 2007 9:20 am |
|
 |
| 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 |
|
 |
|
runtest
|
Post subject: Posted: Wed Oct 03, 2007 9:33 am |
|
Joined: Sat Aug 05, 2006 11:43 am Posts: 170
|
|
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 |
|
 |
|
CWO
|
Post subject: Posted: Thu Oct 04, 2007 11:02 am |
|
Joined: Sat Feb 04, 2006 5:49 pm Posts: 752 Location: Chicago, IL USA
|
|
That isn't a script. Thats what the core does.
|
|
| Top |
|
 |
|
runtest
|
Post subject: Posted: Thu Oct 04, 2007 11:17 am |
|
Joined: Sat Aug 05, 2006 11:43 am Posts: 170
|
|
Ouch, well I guess its out of my hands.
|
|
| Top |
|
 |
|
Pierce
|
Post subject: Posted: Thu Oct 04, 2007 1:31 pm |
|
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 |
|
 |
|
runtest
|
Post subject: Posted: Fri Oct 05, 2007 9:01 am |
|
Joined: Sat Aug 05, 2006 11:43 am Posts: 170
|
|
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 |
|
 |
|
Pierce
|
Post subject: Posted: Sat Oct 06, 2007 11:49 am |
|
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 |
|
 |
|
runtest
|
Post subject: Posted: Sat Oct 06, 2007 11:59 am |
|
Joined: Sat Aug 05, 2006 11:43 am Posts: 170
|
|
| Top |
|
 |
|
runtest
|
Post subject: Posted: Sat Oct 06, 2007 12:47 pm |
|
Joined: Sat Aug 05, 2006 11:43 am Posts: 170
|
|
Some anti-virus says its a virus. I checked it out myself there is nothing wrong with it. Just ignore it.
|
|
| Top |
|
 |
|
Page 1 of 1
|
[ 11 posts ] |
|
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
|

|