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

how to let openkore use all CPU cores? #3945

Open
dcyxxt opened this issue Jan 12, 2025 · 12 comments
Open

how to let openkore use all CPU cores? #3945

dcyxxt opened this issue Jan 12, 2025 · 12 comments

Comments

@dcyxxt
Copy link

dcyxxt commented Jan 12, 2025

Recently, I was using Openkore to perform an operation, which was to release a skill on a unit. Due to the server settings, I could do it 9 times per second, but after running for about 2 minutes, the Openkore became slow, and then continued to slower and slower. When I restarted the Openkore, it was normal again, but it could only last for about 2 minutes. I found that all cores were not fully utilized. Is it a problem with my settings? Or is the Openkore unable to mobilize all cores?

1223

@alisonrag
Copy link
Contributor

we really need to know why this happen, do u have any plugin/macro?
send a build example and the config.
also if aspd is 193 the limit is 7 attack per sec

@dcyxxt
Copy link
Author

dcyxxt commented Jan 13, 2025

we really need to know why this happen, do u have any plugin/macro? send a build example and the config. also if aspd is 193 the limit is 7 attack per sec

the sever setting is aspd 195 as fastest

config.txt

i didnt use any macro
plugin is defeat,but i dont think i will use plugin in this config

and i set this in timeout.txt,that i can use the skill as 9times per second.
ai_skill_use 0.75
ai_skill_use_giveup 0.1
timeouts.txt

@ya4ept
Copy link
Contributor

ya4ept commented Jan 13, 2025

try to reduce the value of the parameter sleepTime

@Henrybk
Copy link
Contributor

Henrybk commented Jan 13, 2025

About the CPU cores I believe openkore is strictly a single-threaded process, so yeah it will only use one core.

@dcyxxt
Copy link
Author

dcyxxt commented Jan 14, 2025

try to reduce the value of the parameter sleepTime

it doesn't work T.T

@dcyxxt
Copy link
Author

dcyxxt commented Jan 14, 2025

About the CPU cores I believe openkore is strictly a single-threaded process, so yeah it will only use one core.

yep..I realized it

@alisonrag
Copy link
Contributor

can you tell me more about build/where to use, i will try to reproduce here

@dcyxxt
Copy link
Author

dcyxxt commented Jan 14, 2025

can you tell me more about build/where to use, i will try to reproduce here

when i use skill Dispell (ID 289) on a player, you can use it in PVP mod
I can use my equipment to remove fixed and variable casts.
then, when i am aspd at 195, it can use 9 times per second.
12123

However, after running for 1 to 2 minutes,openkore will slow down.

@alisonrag
Copy link
Contributor

ok, so use equip to remove cast/aftercast and cooldown and use dispell for 2 minutes and will openkore slow down?

@dcyxxt
Copy link
Author

dcyxxt commented Jan 14, 2025

ok, so use equip to remove cast/aftercast and cooldown and use dispell for 2 minutes and will openkore slow down?

yes

@dcyxxt
Copy link
Author

dcyxxt commented Jan 14, 2025

ok, so use equip to remove cast/aftercast and cooldown and use dispell for 2 minutes and will openkore slow down?

ai_skill_use_giveup 0
set this in timeouts

@dcyxxt
Copy link
Author

dcyxxt commented Jan 17, 2025

ok, so use equip to remove cast/aftercast and cooldown and use dispell for 2 minutes and will openkore slow down?

I guess if openkore doesn't teleport or change the map, it won't refresh,or timeouts, and then causing become slower?

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