rpherbig / dr-scripts

A series of Lich 5 (https://github.com/elanthia-online/lich-5) scripts for use with DragonRealms (http://www.play.net/dr/). Donations are welcome (http://www.paypal.me/rcuhljr)!
GNU General Public License v2.0
52 stars 177 forks source link

[hunting-buddy: ***STATUS*** stopping due to time] -- But it doesn't end hunt! #1524

Closed Missah closed 2 years ago

Missah commented 7 years ago

Hunting buddy doesn't stop my hunt.

Yaml info:

:hunting_info:
- :zone: dire_bears
  :duration: 40
  args:
  - d0
  stop_on:
#  - Light Armor
#  - Evasion
#  - Parry Ability
#  - Shield Usage
#  - Tactics
#  - Chain Armor
#  - Brigandine
  - Small Edged
#  - Brawling
#  - Targeted Magic
#  - Light Thrown
#  - Stealth
  - Small Blunt

Log info:

[hunting-buddy: ***STATUS*** 2 minutes of hunting remaining or waiting on Small Edged, Small Blunt]

--->> hunting stuff

[hunting-buddy: ***STATUS*** 1 minutes of hunting remaining or waiting on Small Edged, Small Blunt]

--->> More hunting stuff

[hunting-buddy: ***STATUS*** stopping due to time]

[combat-trainer]>attack

< Moving with great skill, you thrust a kertig throwing spike at a dire bear.  A dire bear attempts to dodge.  The spike lands a good hit (2/23) to the bear's right leg.
[You're nimbly balanced and in dominating position.]
[Roundtime 3 sec.]
The dire bear slowly tips over and falls down.
The air around you solidifies into a bright yellow glow and intercepts the attack with a shower of coruscating light.
* Attacking well, a dire bear saunters forward, its jaws wide open in menacing fashion at you.  You fail to evade.  The teeth lands a light hit (1/23) to your back.
[You're bruised, nimbly balanced with opponent in very strong position.]
You feel fully rested.
You feel fully attuned to the mana streams again.

[combat-trainer]>pre sleep 1

You raise your arms skyward, chanting the equation of the Sleep spell.

[combat-trainer]>charge my camb armband 6

You harness a small amount of energy and attempt to channel it into your cambrinth armband.
You are able to channel all the energy into the armband.
The cambrinth armband absorbs all of the energy.
Roundtime: 2 sec.

[combat-trainer]>attack

< Attacking gracefully, you jab a kertig throwing spike at a dire bear.  A dire bear fails to dodge, mainly avoiding the blow.  The spike lands a light hit (1/23) to the bear's right leg.
[You're bruised, nimbly balanced and overwhelming opponent.]
[Roundtime 1 sec.]
The serpent earcuff coils, sensing your danger.  Tiny fangs suddenly puncture your flesh, but the expected pain doesn't come.  Instead, soothing warmth radiates outward from the bite, leaving you feeling a little better than before.
The air around you solidifies into a bright yellow glow and throws off bright waves of light as it resists the attack.
* Moving well, a dire bear swipes with powerful and sharp claws at you.  You fail to evade.  The claw lands a light hit (1/23) to your left arm.
[You're bruised, nimbly balanced with opponent in strong position.]

[combat-trainer]>attack

< Driving in with an overwhelming assault, you draw a kertig throwing spike at a dire bear.  A dire bear attempts to evade, avoiding most of the blow.  The spike lands a light hit (1/23) to the bear's right leg.
[You're bruised, nimbly balanced and overwhelming opponent.]
[Roundtime 1 sec.]
You feel fully attuned to the mana streams again.

[combat-trainer]>attack

etc. etc. etc.

It's been 30 minutes, still hunting. It just never stops. I have to manually stop it.

Missah commented 7 years ago

Have no idea why some of this posting got so huge. Sorry bout that!

rpherbig commented 7 years ago

When hunting-buddy decides the hunt is over, it tells combat-trainer to stop. The most likely problem is that combat-trainer is not stopping, which usually happens once it finishes off the currently engaged target. Does combat-trainer ever kill the target after the stop message?

Missah commented 7 years ago

It appears that I manually stopped combat-trainer before the target was killed. Based on my skill with one of my weapons I'm training, it would take a very, very long time to kill the target. Can combat-trainer be modified to stop the hunt when hunting-buddy decides the hunt is over? Or is there another setting I can perhaps add to my yaml?

rpherbig commented 7 years ago

@Missah #1884 was just merged which introduces a new setting, skip_last_kill, which should fix this.

MahtraDR commented 2 years ago

@rpherbig Can close this one.