Skip to content

Instantly share code, notes, and snippets.

View Rainrider's full-sized avatar
⚙️
Loading status ...

Rainrider

⚙️
Loading status ...
  • Erlangen, Germany
View GitHub Profile
@Rainrider
Rainrider / AceConfigDialog-3.0.lua.patch
Created July 23, 2017 16:33
Add validation error popup to AceConfigDialog-3.0
Index: AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua
===================================================================
--- AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua (revision 1159)
+++ AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua (working copy)
@@ -611,6 +611,36 @@
end
end
+local function validationErrorPopup(appName, rootframe, basepath, info, message, ...)
+ if not StaticPopupDialogs["ACECONFIGDIALOG30_VALIDATION_ERROR_DIALOG"] then
ExonumiaDB = {
[6] = {
[78179] = "",
[30236] = "",
[30244] = "",
[78850] = "",
[45637] = "6:1:45335 6:2:45340 6:3:45340",
[29757] = "",
[65087] = "",
@Rainrider
Rainrider / Exonumia_Collect.lua
Last active December 17, 2015 19:28
Warrior
ExonumiaDB = {
{
[78179] = "1:1:76984 1:2:76984 1:3:76988",
[30236] = "",
[30244] = "",
[78850] = "",
[45637] = "",
[29757] = "",
[65087] = "1:1:65268 1:2:65268 1:3:65273",
[89262] = "",
@Rainrider
Rainrider / WatchFrame.lua
Created November 9, 2011 03:14
Repositon the watcher frame
local wf = _G["WatchFrame"]
local currentHeight = wf:GetTop() - wf:GetBottom()
wf:SetUserPlaced(true)
wf:ClearAllPoints()
wf.ClearAllPoints = function() end
wf:SetPoint("TOPRIGHT", MinimapCluster, "BOTTOMRIGHT", 0, 0)
wf.SetPoint = function() end