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

Skill delay time problem #2280

Closed
ikkk5000 opened this issue Aug 20, 2018 · 10 comments
Closed

Skill delay time problem #2280

ikkk5000 opened this issue Aug 20, 2018 · 10 comments

Comments

@ikkk5000
Copy link

This server have not skill delay time, So player can use skill quickly by manual operation.
But OpenKore have skill delay time about 1s~2s.
I try to modify control\timeouts.txt, but it's not work.

ai_attack 0.1
ai_attack_waitAfterKill 0.1
ai_skill_use 0.1

I think that modifying the code at src/ XX.pm is an effective method.
Can someone help me?
Thank you.

@ghost
Copy link

ghost commented Aug 24, 2018

#2245

@ikkk5000
Copy link
Author

Thank you for your answer.
I try it, but its not work.
I upload the video. Please help me. Thank you.

Video:

OpenKore
https://youtu.be/dD93JY_eMWc

Manual operation
https://youtu.be/C_T-7JWSQUI

@ghost
Copy link

ghost commented Aug 26, 2018

You can try use the monsterSkill with the timeout condition set on 0.1 ! ^^ ??

@ikkk5000
Copy link
Author

Where is monsterSkill condition??

@ghost
Copy link

ghost commented Aug 26, 2018

I dunno if it will work but you can set something such as :

monsterSkill Aspersio {
timeout 0.1
monsters Petite
}

@ikkk5000
Copy link
Author

Where add this code?
macros.txt?

@Nipodemos
Copy link
Contributor

@ikkk5000 config.txt

@ikkk5000
Copy link
Author

Oh! I had try it, but its not work.

I think that modifying the code at src/ XX.pm is an effective method.
But I don't know where is set up about skill's attack packet send time.

@lututui
Copy link
Member

lututui commented Aug 28, 2018

sleepTime is definitely involved

@alisonrag
Copy link
Contributor

using the following configuration i was able to use the skill more faster then using the manual:

config.txt:

attackUseWeapon 0
sleepTime 1000

attackSkillSlot Adoramus {
	lvl 10
	dist 1.5
	maxCastTime 0.1
	minCastTime 0.1
	hp
	sp > 10
	onAction
	whenStatusActive
	whenStatusInactive EFST_POSTDELAY
	stopWhenHit 0
	inLockOnly 0
	notInTown 0
	timeout 0
	disabled 0
	maxAttempts 0
	maxUses 0
	inInventory
	isSelfSkill 0
	manualAI 0
}

timeouts.txt:

ai_skill_use 0.1

video:
https://youtu.be/Fw0hgDn4HFw

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

No branches or pull requests

4 participants