- Boss segments now need to have at least 30 seconds to be added on the overall data.

- When the segment limit is reach, segments with less combat time will be erased instead of the olders.
- Added item level tracker.
- Details Storage now stores the item level of the character as well and only guild runs.
- Fixed window positioning when changing from Solo mode to Group mode.
This commit is contained in:
Tercio
2015-03-16 00:56:58 -03:00
parent c5957e1dfd
commit 44070b38a5
13 changed files with 412 additions and 237 deletions
+7 -4
View File
@@ -2606,7 +2606,13 @@
return _detalhes.zone_type
end
function _detalhes.parser_functions:ZONE_CHANGED_NEW_AREA (...)
local zoneName, zoneType, _, _, _, _, _, zoneMapID = _GetInstanceInfo()
_detalhes.zone_type = zoneType
_detalhes.zone_id = zoneMapID
_detalhes.zone_name = zoneName
if (_detalhes.last_zone_type ~= zoneType) then
_detalhes:SendEvent ("ZONE_TYPE_CHANGED", nil, zoneType)
_detalhes.last_zone_type = zoneType
@@ -2614,10 +2620,6 @@
_detalhes:CheckChatOnZoneChange (zoneType)
_detalhes.zone_type = zoneType
_detalhes.zone_id = zoneMapID
_detalhes.zone_name = zoneName
if (_detalhes.debug) then
_detalhes:Msg ("(debug) zone change:", _detalhes.zone_name, "is a", _detalhes.zone_type, "zone.")
end
@@ -2859,6 +2861,7 @@
if (_detalhes.schedule_store_boss_encounter) then
if (not _detalhes.logoff_saving_data) then
--_detalhes.StoreEncounter()
local successful, errortext = pcall (_detalhes.StoreEncounter)
if (not successful) then
_detalhes:Msg ("error occurred on StoreEncounter():", errortext)