Skip to content

Instantly share code, notes, and snippets.

Wetxius Wetxius

  • Russia
View GitHub Profile
@Wetxius
Wetxius / Temp.lua
Created Jul 10, 2020
ShestakUI\Core\Temp.lua
View Temp.lua
local T, C, L, _ = unpack(select(2, ...))
-- if C.automation.summon ~= true then return end
----------------------------------------------------------------------------------------
-- Auto confirm summon
----------------------------------------------------------------------------------------
local AutoSummon = CreateFrame("Frame")
AutoSummon:RegisterEvent("CONFIRM_SUMMON")
AutoSummon:SetScript("OnEvent", function(_, event)
if event == "CONFIRM_SUMMON" then
@Wetxius
Wetxius / Temp.lua
Last active Jun 17, 2020
Outfitter skin
View Temp.lua
local T, C, L, _ = unpack(select(2, ...))
-- if C.skins.outfitter ~= true then return end -- TODO: add gui configuration
----------------------------------------------------------------------------------------
-- Outfitter skin
----------------------------------------------------------------------------------------
local frame = CreateFrame("Frame")
frame:RegisterEvent("PLAYER_LOGIN")
frame:SetScript("OnEvent", function()
CharacterFrame:HookScript("OnShow", function(self) PaperDollSidebarTabs:SetPoint("BOTTOMRIGHT", CharacterFrameInsetRight, "TOPRIGHT", -14, 0) end)
@Wetxius
Wetxius / Core.lua
Created Jun 16, 2020
ShestakUI\Modules\ActionBars\Core.lua
View Core.lua
local T, C, L, _ = unpack(select(2, ...))
if C.actionbar.enable ~= true then return end
----------------------------------------------------------------------------------------
-- Hide Blizzard ActionBars stuff(by Tukz)
----------------------------------------------------------------------------------------
local frame = CreateFrame("Frame")
frame:RegisterEvent("PLAYER_LOGIN")
frame:SetScript("OnEvent", function()
MainMenuBar:SetScale(0.00001)
@Wetxius
Wetxius / MiniMap.lua
Created Jun 13, 2020
ShestakUI\Modules\Maps\MiniMap.lua
View MiniMap.lua
local T, C, L, _ = unpack(select(2, ...))
if C.minimap.enable ~= true then return end
----------------------------------------------------------------------------------------
-- Minimap border
----------------------------------------------------------------------------------------
local MinimapAnchor = CreateFrame("Frame", "MinimapAnchor", UIParent)
MinimapAnchor:CreatePanel("ClassColor", C.minimap.size, C.minimap.size, unpack(C.position.minimap))
----------------------------------------------------------------------------------------
@Wetxius
Wetxius / Core.lua
Created Jun 2, 2020
ShestakUI_Config\Core.lua
View Core.lua
local T, C, L
local _, ns = ...
----------------------------------------------------------------------------------------
-- GUI for ShestakUI(by Haleth, Solor)
----------------------------------------------------------------------------------------
local realm = GetRealmName()
local name = UnitName("player")
-- [[ Variables ]]
@Wetxius
Wetxius / Core.lua
Created Jun 2, 2020
ShestakUI_Config\Core.lua
View Core.lua
local T, C, L
local _, ns = ...
----------------------------------------------------------------------------------------
-- GUI for ShestakUI(by Haleth, Solor)
----------------------------------------------------------------------------------------
local realm = GetRealmName()
local name = UnitName("player")
-- [[ Variables ]]
@Wetxius
Wetxius / Numeration.lua
Created May 17, 2020
ShestakUI\Modules\Skins\Numeration.lua
View Numeration.lua
local T, C, L, _ = unpack(select(2, ...))
if C.skins.numeration ~= true or not IsAddOnLoaded("Numeration") then return end
----------------------------------------------------------------------------------------
-- Numeration skin
----------------------------------------------------------------------------------------
Numeration["windows"].width = 217
Numeration["windows"].maxlines = 7
Numeration["windows"].linegap = 7
NumerationFrame.maxlines = Numeration["windows"].maxlines
@Wetxius
Wetxius / ChatFrames.lua
Created May 1, 2020
ShestakUI\Modules\Chat\ChatFrames.lua
View ChatFrames.lua
local T, C, L, _ = unpack(select(2, ...))
if C.chat.enable ~= true then return end
----------------------------------------------------------------------------------------
-- Style chat frame(by Tukz and p3lim)
----------------------------------------------------------------------------------------
local origs = {}
local function Strip(info, name)
return string.format("|Hplayer:%s|h[%s]|h", info, name:gsub("%-[^|]+", ""))
@Wetxius
Wetxius / Temp.lua
Last active May 30, 2020
Details skin. ShestakUI\Core\Temp.lua
View Temp.lua
local T, C, L, _ = unpack(select(2, ...))
----------------------------------------------------------------------------------------
-- Temporary stuff
----------------------------------------------------------------------------------------
if not IsAddOnLoaded("Details") then return end
hooksecurefunc(_detalhes.gump, "CriaNovaBarra", function(_, instancia, index)
local bar = _G["DetailsBarra_"..instancia.meu_id.."_"..index]
local icon = _G["DetailsBarra_IconFrame_"..instancia.meu_id.."_"..index]
@Wetxius
Wetxius / Temp.lua
Created Apr 20, 2020
ShestakUI\Core\Temp.lua
View Temp.lua
local T, C, L, _ = unpack(select(2, ...))
----------------------------------------------------------------------------------------
-- Temporary stuff
----------------------------------------------------------------------------------------
local frame = CreateFrame("Frame")
frame:RegisterEvent("PLAYER_ENTERING_WORLD")
frame:SetScript("OnEvent", function()
if not IsAddOnLoaded("Numeration") then return end
You can’t perform that action at this time.