-
Notifications
You must be signed in to change notification settings - Fork 171
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
[performance] smart scaling configurable #834
[performance] smart scaling configurable #834
Conversation
@nl-saw lemme know what you think and whether it fixes your problems. Ive tested multiple setups seems alright compared with current implementation. But lemme know |
Can test this next year :-D currently on 100% active with no scaling at all. Seems stable as well now. |
For now happy new year :) |
I have tested this again using lower default values and it seems it works better than before 👍 |
Me too . With my settings i have 13 ms after 13 hours :) And that with 2k bots |
On my side smart scaling is disabled and bots are set up active 100% with 1k bots, did not face lag issue. |
I dont want to have any bots online until i needed them. . With the same setting i had 36 ms and after one day it was like 80 ish and i had to restart . Now 13 ms after 1 day ;) AiPlayerbot.BotActiveAlone = 1 Force botActiveAlone when bot is ... of real playerAiPlayerbot.BotActiveAloneForceWhenInRadius = 0 Specify smart scaling is enabled or not.The default is 1. When enabled (smart) scales the 'BotActiveAlone' value.Only when botLevel is between WhenMinLevel and WhenMaxLevel.AiPlayerbot.botActiveAloneSmartScale = 0 Connected players: 0. Characters in world: 2000. NICE !!!! |
The scaling is only applied when smartscale is enabled though. Which is set on disabled in your config. Why do you keep botAloneActive on the value 1? Why just not keep it on 0? You might wanna reconsider "AiPlayerbot.BotActiveAloneForceWhenInRadius” between the value of 150 and 300 if u want the bots around be more alive. Default sightDistance will enforce activity aswell which is 75 yards by default if not mistaken (see def config for that). Although i appreciate you wanted to test it, but you didnt test the change :p |
Haha . Thanks for the answer - I forgot to change my settings after i compiled . But why do i get better performance then ? |
The value 1 doesnt add anything, other then additional checks being executed. So rather keep is 0 when using 1. Autoscaling simply dynamically modifies the botAloneActive percentages based on the general latency you have. Also gives a little more headspace during temp performance loss of your wow server. Basically you modify these values based on what type of behaviour u want. There is no wrong or right way, except keep botAloneActive on 1 seems abit pointless. |
No description provided.