Closed conan513 closed 9 years ago
It works for me, it only takes a few minutes so everything gets loaded. Tons of sql errors tho but i fixed those. I still have to redo the PR.
Actually I experience better performance on TC comparing to R2. The lag exists but no longer than 10-20 secs just after server start until all bots logged in.
I forget to say I have lag only when I start the server first time and it's start to generate bots
I see. This is due to randomization process. It is recommended to give console command
rndbot init
after the database installation so all bots will be randomized at once. All futher randomizations are incremental and won't cause lag anymore.
Some settings doesn't have effect when I change it on Windows 8.1.
Example: randomBotLoginAtStartup = config.GetBoolDefault("AiPlayerbot.RandomBotLoginAtStartup", true);
AiPlayerbot.RandomBotLoginAtStartup = 1
default all bots login on server start but this do heavy lag and I wanna disable this so I change in the config file first but no effect, then I changed in the code to false but nothing and all bots login on start