ike3 / mangosbot

This is a modification of MaNGOS (Zero, One, R2, Trinity) server which brings a number of bots online and available for any player. Also allows you to use your account/guild characters as bots.
http://ike3.github.io/mangosbot-docs/
GNU General Public License v2.0
183 stars 78 forks source link

Wndows 8.1 shits again #13

Closed conan513 closed 9 years ago

conan513 commented 9 years ago

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

Kittnz commented 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.

ike3 commented 9 years ago

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.

conan513 commented 9 years ago

I forget to say I have lag only when I start the server first time and it's start to generate bots

ike3 commented 9 years ago

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.