Sphereserver / Source-X

Ultima Online server emulator
Apache License 2.0
58 stars 47 forks source link

Npc double hit #1065

Closed DavideRei closed 1 year ago

DavideRei commented 1 year ago

Npc randomly strike 2 times in a row. @hittry is fired 2 times in a row without speed change (ARGN1) between the 2 hits.

This is a zombie hitting me with serv.rticks, actdiff, argn1 in @hittry. the delay between the hits sometimes changes randomly and serv.rticks is the same or changes by 1. Like the last two hits.

image

And the problem get worse as dex increases. A dragon with 100 dex kills a player in 5 sec if it always hits.

Tested on clean sphere, last version.

Issue confirmed by others on discord. Seems to happen on all combat settings.

drk84 commented 1 year ago

If you set ARGN1 manually to a value like 50 in the @HitTry trigger does this still happen?

drk84 commented 1 year ago

Yes it happens also by manualyl setting argn1

drk84 commented 1 year ago

But it happens more rarely

drk84 commented 1 year ago

Possible fix sent.

DavideRei commented 1 year ago

It works!!!! awesome!!