Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delay for the first left-click attack. #197

Closed
thivod opened this issue May 29, 2018 · 10 comments
Closed

Delay for the first left-click attack. #197

thivod opened this issue May 29, 2018 · 10 comments

Comments

@thivod
Copy link

thivod commented May 29, 2018

At CipfSoft 7.7 tibia, there was a little delay when the player sets the left click attack on a monster or another player, before the attack itself came out.

@peonso
Copy link
Collaborator

peonso commented May 29, 2018

I got mixed results from testing, some attacks got delayed, but some attacks go as fast as I click, as if it happen someway like this #103 (comment). As if there are times where it check for attack and if it matches with the left-click it happens instantly, else it waits for the trigger. The way OTServ and Tibia Server handle those sort of stuff is totally different, and I'm guessing here, but it would probably be a pain in the ass to try to match things.

@Ochmar
Copy link
Contributor

Ochmar commented Oct 18, 2018

Are there any solutions nearby? It's very frustrating when using spears, for example. (Each onhand drag makes it delay).

@peonso
Copy link
Collaborator

peonso commented Oct 19, 2018

@Ochmar this is an unrelated issue, please test if changing WEAPON_NONE for WEAPON_DIST in this line fix your problem. https://github.com/TwistedScorpio/OTHire/blob/76717e719c4469bdfe47bea35e966fa78210a5c9/source/player.cpp#L2950

But was this present in 7.72? I'm not sure, can you test in a real server?

@thivod
Copy link
Author

thivod commented Oct 20, 2018

@Ochmar You could easily test this issue and others at http://experimental.realots.org.
I tested it a bit and ur right, there is no delay when u throw a spear and drag to ur hand the same spear you've just thrown.

@thivod
Copy link
Author

thivod commented Oct 20, 2018

@peonso do u think changing WEAPON_NONE for WEAPON_DIST will fix this?

Another thing I just realised is that if u got a xbow on, none of the hits u receive makes the shielding animation (they wont puff), i think there is already a issue openned for that, isnt there?

@Ochmar
Copy link
Contributor

Ochmar commented Oct 20, 2018

@peonso Yes, there should be no delay.
And yes, changing it to WEAPON_DIST works like a charm. Thank you so much.

@thivod Thanks for this link, will definitely take a look.

@peonso
Copy link
Collaborator

peonso commented Oct 21, 2018

@thivod you shouldn't be able to block (poff) only holding items without defenses. But can without items using fist fighting.

@Wirless
Copy link

Wirless commented Nov 12, 2018

this should be configuable in config lua exAction exhaust or action exhaust just obfuscate ammo from it

@peonso
Copy link
Collaborator

peonso commented Dec 24, 2018

Probably related to #103

@peonso
Copy link
Collaborator

peonso commented Dec 18, 2020

This one is considered duplicate of #103

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants