Sphereserver / Source-X

Ultima Online server emulator
Apache License 2.0
57 stars 45 forks source link

@hitCheck trigger too slow #1166

Closed Nmls021 closed 11 months ago

Nmls021 commented 11 months ago

Hi,

I have found that @hitCheck on X is much more slower than on older spheres. Here is 1 second timer. Due to slower hitCheck its nearly impossible to do a swing while running around your target. Probably best way would be adjustable timer on it

GladieUO commented 11 months ago

I tested it yesterday evening with latest build and I can hit the target everytime Im passing around him while running with each next swing as it comes.... Maybe you are trying to achieve something else, that Im not aware of. Just wanted to share my testing.

Nmls021 commented 11 months ago

Thats weird. Then it can be problem in the sphere.ini or in my custom combat system? I tried to use this event and I have 1,5s delay between hitChecks. I guess its reason that my swing dont come when i pass around my target?

[events e_test_combat] on=@hitcheck sysMessage hitCheck time:

with result: https://cdn.discordapp.com/attachments/476635430821953567/1167230955795267656/image.png?ex=654d5f89&is=653aea89&hm=0efa1d2665ff6d5d3e84f83ed2d1e09d9a42a300656957fec78e387cfd02cd72&

GladieUO commented 11 months ago

Ideally you should test it with latest sphere + X script pack, try different sphere.ini settings, and if the problem persist, then its an sphere issue, if not, its your custom combat.

Nmls021 commented 11 months ago

Alright im sorry, problem is in my scripts. I made a stupid mistake when I transfer and test scripts from 56d to X. Please close issue, thank you.