автор:
SilverIce
m src/game/Creature.cpp
m src/game/Creature.h
m src/game/GridNotifiersImpl.h
m src/game/Map.cpp
m src/game/Unit.cpp
m src/game/Unit.h
m src/game/World.cpp
m src/game/World.h
m src/mangosd/mangosd.conf.dist.in
m src/shared/revision_nr.h
[11193] Optimize visibility update and AI notification code. Optimization decreases amount of visibility and AI notification operations in 8-10 times, and as a result, lowers CPU usage by 30-40%
You need to update your config file, new "Visibility.RelocationLowerLimit" and "Visibility.AIRelocationNotifyDelay' options added
Special thanks to Ambal for code hints and advices
Thanks to Undergarun and kero99 for making tests
Дальше...