Donnerstag, 12. Juni 2014

IHML - i have macro lol

English:
I implented user-patches from curse community and some own bugfixes into the WoW-Addon IHML 2.8.1. You can download the modified addon here. It works for me (2014-06-13).

Deutsch:
Dieses WoW-Addon ist vermutlich weniger bekannt, jedoch enorm praktisch:
Man erstell ein Makro (bzw. erledigt das Addon dieses) und zieht das in die Leiste bzw. belegt es mit einem Hotkey (ich mag die ^ Taste unter Escape).

Abhängig Vom Aufenthaltsort ODER pvp ODER vor welchem Boss man steht (BigWigs benötigt) kann man nun verschiedene Makros schreiben die ausgeführt werden sollen.
Auf Gehöfft Sonnensang z.b. möchte ich den Meisterpflug nutzen, in den Seidenfelder möchte ich einen Seidenraubenkokon herstellen, in Szenario X möchte ich Spezialfähigkeit Y verwenden, etc. etc. etc.

Nun wird das Addon IHML (curse) (wowace) (wowinterface) leider nicht mehr gewartet, einige User haben aber Kommentiert wie man die Version 2.8.1 auf den aktuellen Stand von wow (13.Juni 2014) zum Laufen bekommt:

  • GetActiveTalentGroup(isInspect, isPet) was removed in WoW v5.4.2.17688. The following changes should be made.
    50:
    local GetActiveSpecGroup = GetActiveSpecGroup
    839:
    local activetalent = GetActiveSpecGroup()
  • Replace the following lines:
    555:
    return CreateMacro(name, "INV_MISC_QUESTIONMARK", "", perChar)
    894:
    EditMacro(index, p.macroname, "INV_MISC_QUESTIONMARK", body, 1, 0)
    1227:
     image = function() return "INTERFACE\\ICONS\\INV_MISC_QUESTIONMARK", 56, 56 end,
    1289:
    EditMacro(GetMacroIndexByName(p.macroname), p.macroname, "INV_MISC_QUESTIONMARK")
    1309:
    EditMacro(GetMacroIndexByName(p.macroname), p.macroname, "INV_MISC_QUESTIONMARK", k)
    THIS A HACK!!!
    This hack forces all ihml icons to use the ? icon. In other words, specific macro icons will NOT work.
    I'm currently looking into properly fixing the addon, but until then this will remove the green texture and restore it to mostly working order.

    Here's the diff if you're lazy: http://pastebin.com/s7YuupN9 
Weitere Patches:
660 (13.06.2014) strfind kann keine leere Variable durchsuchen, muss also vorher abgleichen ob leer
if ((c.current== nil) or (strfind(c.current, L["Default Macro"]) == nil)) then --if (strfind(c.current, L["Default Macro"]) == nil) then

der Einfachheit halber fasse ich das ganze mal in eine neue Datei zusammen da ich auf die Schnelle auch kein portable Diff programm für windows gefunden habe: Download
IHML.lua (cloud)
IHML.rar (komplettes addon) (cloud)
Downloadpasswort: chinarinde.blogspot.de

Die Änderungen sindnicht von mir, ich habe diese nur ein eine neue Datei zusammengefasst!

Keine Kommentare:

Kommentar veröffentlichen