Add performance tuning

Add a diff with and without player in server. The server will tune bot activity to reach the desired server tick speed (in ms), as what CMaNGOS' playerbots are using.

ce4bd79d2d is used as a reference.
This commit is contained in:
Brian Oost
2024-05-27 23:30:06 +02:00
parent fb839823af
commit 3879b5116e
6 changed files with 200 additions and 3 deletions

View File

@@ -178,6 +178,10 @@ class PlayerbotAIConfig
uint32 playerbotsXPrate;
uint32 botActiveAlone;
uint32 enablePrototypePerformanceDiff;
uint32 diffWithPlayer;
uint32 diffEmpty;
bool freeMethodLoot;
int32 lootRollLevel;
std::string autoPickReward;