Skip to content

Commit

Permalink
Further improved new comms with restored backwards compatibility (one…
Browse files Browse the repository at this point in the history
… way) with older versions of DBM, Bigwigs, and raid lead tools. This allows this version of DBM to accept timers and such from older versions, NOT older versions to accept new comms from this version. Goal is to ensure that people who update get a good experience and those that don't, well at least they aren't punishing the ones that did.
  • Loading branch information
MysticalOS committed Feb 16, 2023
1 parent 949e983 commit 6d0bbda
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions DBM-Core/DBM-Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -80,21 +80,21 @@ local fakeBWVersion, fakeBWHash
local bwVersionResponseString = "V^%d^%s"
-- The string that is shown as version
if isRetail then
DBM.DisplayVersion = "10.0.26 alpha"
DBM.ReleaseRevision = releaseDate(2023, 2, 15) -- the date of the latest stable version that is available, optionally pass hours, minutes, and seconds for multiple releases in one day
fakeBWVersion, fakeBWHash = 259, "3fbb48c"
DBM.DisplayVersion = "10.0.26"
DBM.ReleaseRevision = releaseDate(2023, 2, 16) -- the date of the latest stable version that is available, optionally pass hours, minutes, and seconds for multiple releases in one day
fakeBWVersion, fakeBWHash = 265, "5c1ee43"
elseif isClassic then
DBM.DisplayVersion = "1.14.31 alpha"
DBM.ReleaseRevision = releaseDate(2023, 2, 15) -- the date of the latest stable version that is available, optionally pass hours, minutes, and seconds for multiple releases in one day
fakeBWVersion, fakeBWHash = 41, "287b8dd"
DBM.DisplayVersion = "1.14.31"
DBM.ReleaseRevision = releaseDate(2023, 2, 16) -- the date of the latest stable version that is available, optionally pass hours, minutes, and seconds for multiple releases in one day
fakeBWVersion, fakeBWHash = 47, "ca1da33"
elseif isBCC then
DBM.DisplayVersion = "2.6.0 alpha"--When TBC returns (and it will one day). It'll probably be game version 2.6
DBM.ReleaseRevision = releaseDate(2023, 2, 15) -- the date of the latest stable version that is available, optionally pass hours, minutes, and seconds for multiple releases in one day
fakeBWVersion, fakeBWHash = 41, "287b8dd"
DBM.ReleaseRevision = releaseDate(2023, 2, 16) -- the date of the latest stable version that is available, optionally pass hours, minutes, and seconds for multiple releases in one day
fakeBWVersion, fakeBWHash = 47, "ca1da33"
elseif isWrath then
DBM.DisplayVersion = "3.4.33 alpha"
DBM.ReleaseRevision = releaseDate(2023, 2, 15) -- the date of the latest stable version that is available, optionally pass hours, minutes, and seconds for multiple releases in one day
fakeBWVersion, fakeBWHash = 41, "287b8dd"
DBM.DisplayVersion = "3.4.33"
DBM.ReleaseRevision = releaseDate(2023, 2, 16) -- the date of the latest stable version that is available, optionally pass hours, minutes, and seconds for multiple releases in one day
fakeBWVersion, fakeBWHash = 47, "ca1da33"
end
DBM.HighestRelease = DBM.ReleaseRevision --Updated if newer version is detected, used by update nags to reflect critical fixes user is missing on boss pulls

Expand Down

0 comments on commit 6d0bbda

Please sign in to comment.