Skip to content

Partial Refactor

ChatWithThisName requested to merge MQ2XPTracker into master
remove using namespace std, was only used for two lists. 
convert some defines to const int
changed XPTotalPerLevel, and XPTotalDivider to const
Added /xptracker resetonzone as an option
Now uses an INI. Stores "Quiet", and "ResetOnZone" settings between uses. (not char/server specific)
change from using GetTickCount() to GetTickCount64()
Created functions to get output information for percentage of AA/XP for Kill/Total outputs.
Spaces added before/after operators in calculations/assignments.
AddElement now uses long long to match Event member xp and aa instead of __int64
created InitXP() function for setting bases and resetting XP total counts replacing the duplicate code throughout. 
Removed OnDrawHud calls and adjusted to use InitXP where needed. 
removed unused laa/rlaa values from XPAverageCommand
Reduced from creating char arrays sprintf_s to value then passing to WriteChatColor and now use WriteChatf
Edited by ChatWithThisName

Merge request reports