Source-X icon indicating copy to clipboard operation
Source-X copied to clipboard

Attack stop

Open youhide opened this issue 4 years ago • 10 comments

if you attack and cast spell the fight is canceled for your char, the other stay on fight the both stays on war mode tested in pvp

youhide avatar May 20 '21 23:05 youhide

When you cast something your current action is cancelled and you have to attack again, it's the normal behaviour. If the opponent hit you you will fight back

My current action is wrestling I cast spell my current action is now magery

drk84 avatar May 21 '21 09:05 drk84

i have found instances where you do not hit them back but appear to be in combat, even when you get hit.

Soulless-1 avatar Jun 20 '21 14:06 Soulless-1

im using this for workaround, maybe a better solution on core is the way...

ON=@SpellSelect if ( == Wrestling) || ( == Swordsmanship) || ( == Macefighting) || ( == Fencing) || ( == Archery) ctag.lastaction= //serv.log write lastaction for , action <ctag.lastaction> endif ON=@SpellFail if (<ctag0.lastaction>) //serv.log magery casted, take back to lastaction <ctag.lastaction> timerfms 10, action=<ctag.lastaction> ctag.lastaction endif ON=@SpellSuccess if (<ctag0.lastaction>) //serv.log magery casted, take back to lastaction <ctag.lastaction> timerfms 10, action=<ctag.lastaction> ctag.lastaction endif

youhide avatar Jun 20 '21 14:06 youhide

Afair i solved that as a player using the attacklast macro, i can be wrong. Dunno if it's the case to add an OptionFlag for this

cbnolok avatar Sep 04 '21 10:09 cbnolok

@drk84 @cbnolok

Guys, common.. This is a huge problem for PvP. Behaviour changed comparing to 56b. On 56b attack never canceled when you casted spell on self. It interrupted but continued after spell cast.

Moreover attacklast macro does not help. So PvP is broken, you have to tab and attack again.

This needs to be fixed.

This is 56b behaviour, char continues to attack automatically.

https://user-images.githubusercontent.com/31130012/139171504-e1beda35-8141-4121-8fbd-802d5b56b89e.mp4

a1exp avatar Oct 28 '21 01:10 a1exp

LastATtack macro works here with client 7.0.20. I attack the character, then cast magic arrow, i press the attacklast macro and i swing again

drk84 avatar Oct 28 '21 17:10 drk84

@drk84 I tested on 2.0.3, 5.0.6 and latest version of Orion, same behaviour. Also double checked with default script pack to make sure that's not my scripts problem. You can see on the video below.

  1. I attack 1st dummy
  2. Then I cast Magic Arrow to the second dummy
  3. Then I press "attacklast" client macro and as you can notice second dummy becomes hightlighted.

So attacklasts's target swtiched from 1st to 2nd dummy after spell cast.

https://user-images.githubusercontent.com/31130012/139309515-87628c63-a1c0-464f-8969-e503b2278c42.mp4

a1exp avatar Oct 28 '21 17:10 a1exp

Another video, same scenario, but after I press "attacklast" and just come to the second dummy, my char automatically starts attacking it.

Somehow spell cast switched uid of char which should be attacked on "attacklast"

https://user-images.githubusercontent.com/31130012/139310561-cd21f93f-83ed-4e0e-a342-7a1bcfc04c42.mp4

a1exp avatar Oct 28 '21 18:10 a1exp

We could see how it is done at sphere56

Tolokio avatar Oct 20 '22 14:10 Tolokio

It also happens with healing? or any other skill? or just magery?

Tolokio avatar Aug 28 '24 22:08 Tolokio