-
Notifications
You must be signed in to change notification settings - Fork 77
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
Map unloading problem #1083
Comments
instance maps immediately unload on reset. problem - in 571 map mostly, i'm write some instruments for search this... see #852 and some other. |
да, 571 сильно лагает, и чем дольше аптайм, тем всё больше и больше лагает, на данный момент что я увидел идет сильная нагрузка на части кода в циклах: и // non-player active objects причем первое чаще, второе реже |
in #1166 |
- use unordered_map instead of TypeUnorderedMapContainer template collection - full rewrite object update making system, make dependent update queue for players items - correct Camera appending to not-in-world objects - add Transport objects to current Map storing/updating system (currently by half-hack) - simplify code NEED TEST and measurements CPU load and resource leaks! related to #1165, #1083, #852
- use GuidSet for make object-safe UpdateDataMapType (this fix at least pet action bar after mount) - revert some changes from versions 3-6 (need more work) - use unordered_map instead of TypeUnorderedMapContainer template collection - full rewrite object update making system, make dependent update queue for players items - correct Camera appending to not-in-world objects - add Transport objects to current Map storing/updating system (currently by half-hack) - simplify code NEED TEST and measurements CPU load and resource leaks! related to #1165, #1083, #852
- use LockedVector instead of std::list in Camera object. - use GuidSet for make object-safe UpdateDataMapType (this fix at least pet action bar after mount) - revert some changes from versions 3-6 (need more work) - use unordered_map instead of TypeUnorderedMapContainer template collection - full rewrite object update making system, make dependent update queue for players items - correct Camera appending to not-in-world objects - add Transport objects to current Map storing/updating system (currently by half-hack) - simplify code NEED TEST and measurements CPU load and resource leaks! related to #1165, #1083, #852
- use LockedVector instead of std::list in Camera object. - use GuidSet for make object-safe UpdateDataMapType (this fix at least pet action bar after mount) - revert some changes from versions 3-6 (need more work) - use unordered_map instead of TypeUnorderedMapContainer template collection - full rewrite object update making system, make dependent update queue for players items - correct Camera appending to not-in-world objects - add Transport objects to current Map storing/updating system (currently by half-hack) - simplify code NEED TEST and measurements CPU load and resource leaks! related to #1165, #1083, #852
- use GuidSet for make object-safe UpdateDataMapType (this fix at least pet action bar after mount) - use unordered_map instead of TypeUnorderedMapContainer template collection - full rewrite object update making system, make dependent update queue for players items - add Transport objects to current Map storing/updating system (currently by half-hack) - simplify code NEED TEST and measurements CPU load and resource leaks! related to #1165, #1083, #852
- use GuidSet for make object-safe UpdateDataMapType (this fix at least pet action bar after mount) - use unordered_map instead of TypeUnorderedMapContainer template collection - full rewrite object update making system, make dependent update queue for players items - add Transport objects to current Map storing/updating system (currently by half-hack) - simplify code NEED TEST and measurements CPU load and resource leaks! related to #1165, #1083, #852
- use GuidSet for make object-safe UpdateDataMapType (this fix at least pet action bar after mount) - use unordered_map instead of TypeUnorderedMapContainer template collection - full rewrite object update making system, make dependent update queue for players items - add Transport objects to current Map storing/updating system (currently by half-hack) - simplify code - use storing guids instead of pointers in Camera/Viewpoint subsystem for fit new object storing system NEED TEST and measurements CPU load and resource leaks! related to #1165, #1083, #852
- use GuidSet for make object-safe UpdateDataMapType (this fix at least pet action bar after mount) - use unordered_map instead of TypeUnorderedMapContainer template collection - full rewrite object update making system, make dependent update queue for players items - add Transport objects to current Map storing/updating system (currently by half-hack) - simplify code - use storing guids instead of pointers in Camera/Viewpoint subsystem for fit new object storing system - fix very old bug with Sentry totem (appears only now). NEED TEST and measurements CPU load and resource leaks! related to #1165, #1083, #852
…safe UpdateDataMapType (this fix at least pet action bar after mount) - use unordered_map instead of TypeUnorderedMapContainer template collection - full rewrite object update making system, make dependent update queue for players items - add Transport objects to current Map storing/updating system (currently by half-hack) - simplify code - use storing guids instead of pointers in Camera/Viewpoint subsystem for fit new object storing system - fix very old bug with Sentry totem (appears only now). NEED TEST and measurements CPU load and resource leaks! related to #1165, #1083, #852
Somewhen some maps do not unloading after expire
i think this cause lag in high uptime servers .
i use this patch for monitor this issue
https://github.com/mns/mangosR2/commit/025ac35441f3cdfa9ec7f14e0bba5095d50c1df3
result :
Online players: 107 (max: 124) Queued players: 0 (max: 0)
Server uptime: 1 Day(s) 4 Hour(s) 22 Minute(s) 50 Second(s).
Update time diff: 231 loaded maps: 25
ActiveMaps : [Eastern Kingdoms] [Kalimdor] [Outland] [Northrend] [Deeprun Tram]
[Warsong Gulch] [Arathi Basin] [Tempest Keep] [Nagrand Arena] [Blade's Edge Arena]
[Ruins of Lordaeron] [Ruins of Lordaeron] [Ruins of Lordaeron] [Ruins of Lordaeron]
[Ruins of Lordaeron] [The Nexus] [Gundrak] [Strand of the Ancients] [Ebon Hold]
[Dalaran Sewers] [Dalaran Sewers] [Dalaran Sewers] [Dalaran Sewers] [Dalaran Sewers]
[Dalaran Sewers]
The text was updated successfully, but these errors were encountered: