Skip to content

Commit

Permalink
Version stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Tercioo committed May 31, 2021
1 parent 0c7092d commit 361264a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
5 changes: 3 additions & 2 deletions boot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@

local version, build, date, tocversion = GetBuildInfo()

_detalhes.build_counter = 8514
_detalhes.alpha_build_counter = 8514 --if this is higher than the regular counter, use it instead
_detalhes.build_counter = 8516
_detalhes.alpha_build_counter = 8516 --if this is higher than the regular counter, use it instead
_detalhes.bcc_counter = 16
_detalhes.dont_open_news = true
_detalhes.game_version = version
_detalhes.userversion = version .. _detalhes.build_counter
Expand Down
7 changes: 3 additions & 4 deletions functions/slash.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1674,15 +1674,14 @@ function SlashCmdList.DETAILS (msg, editbox)
--print ("|cffffaeae/details|r |cffffff33" .. Loc ["STRING_SLASH_WIPECONFIG"] .. "|r: " .. Loc ["STRING_SLASH_WIPECONFIG_DESC"])
print ("|cffffaeae/details|r |cffffff33" .. "me" .. "|r: open the player breakdown for you.") --localize-me
print ("|cffffaeae/details|r |cffffff33" .. "spells" .. "|r: list of spells already saw.") --localize-me



--print ("|cffffaeae/details " .. Loc ["STRING_SLASH_WORLDBOSS"] .. "|r: " .. Loc ["STRING_SLASH_WORLDBOSS_DESC"])
print (" ")

if (DetailsFramework.IsTBCWow()) then
--the burning crusade classic
local v = _detalhes.game_version .. "." .. (_detalhes.build_counter >= _detalhes.alpha_build_counter and _detalhes.build_counter or _detalhes.alpha_build_counter)
print (Loc ["STRING_DETAILS1"] .. "|cFFFFFF00DETAILS! VERSION|r: |cFFFFAA00BCC" .. (_detalhes.build_counter >= _detalhes.alpha_build_counter and _detalhes.build_counter or _detalhes.alpha_build_counter))
local v = _detalhes.game_version .. "." .. (_detalhes.bcc_counter)
print (Loc ["STRING_DETAILS1"] .. "|cFFFFFF00DETAILS! VERSION|r: |cFFFFAA00BCC" .. _detalhes.bcc_counter)
print (Loc ["STRING_DETAILS1"] .. "|cFFFFFF00GAME VERSION|r: |cFFFFAA00" .. _detalhes.game_version)
else
--retail
Expand Down
4 changes: 0 additions & 4 deletions startup.lua
Original file line number Diff line number Diff line change
Expand Up @@ -533,10 +533,6 @@ function Details:StartMeUp() --I'll never stop!
end)
end

if (DetailsFramework.IsTimewalkWoW()) then
Details:Msg("TBC Beta Version: 0013")
end

if (DetailsFramework.IsTBCWow()) then

local originalPosition
Expand Down

0 comments on commit 361264a

Please sign in to comment.