# lua error using warlock..

**URL:** <https://wowlazymacros.com/t/lua-error-using-warlock/2959>\
**Category:** Changelog\
**Created:** [November 1, 2016, 1:30pm UTC](https://wowlazymacros.com/t/lua-error-using-warlock/2959 "2016-11-01T13:30:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![MikeTan](https://wowlazymacros.com/user_avatar/wowlazymacros.com/miketan/32/3810_2.png) [@MikeTan](https://wowlazymacros.com/u/MikeTan)\
**Post date:** [November 1, 2016, 1:30pm UTC](https://wowlazymacros.com/t/lua-error-using-warlock/2959/1 "2016-11-01T13:30:55Z")

</div>

hello i get this message on my warlock…  
terribly sorry if its long… update elvui already…  
seems the HP is running a problem??

Message: Interface\AddOns\GS-HighPerformanceMacros\loaded.lua:24: attempt to call global ‘GSImportMacroCollection’ (a nil value)  
Time: 11/02/16 00:22:16  
Count: 1  
Stack: Interface\AddOns\GS-HighPerformanceMacros\loaded.lua:24: in main chunk  
[C]: in function `LoadAddOn’  
Interface\AddOns\GS-Core\startup.lua:556: in main chunk

etc… kinda long  
ty

---

<div class="post-metadata">

**Author:** ![Cymiryc](https://wowlazymacros.com/user_avatar/wowlazymacros.com/cymiryc/32/11390_2.png) [@Cymiryc](https://wowlazymacros.com/u/Cymiryc)\
**Post date:** [November 1, 2016, 2:30pm UTC](https://wowlazymacros.com/t/lua-error-using-warlock/2959/2 "2016-11-01T14:30:49Z")

</div>

Unsure of the actual problem or if this is indeed a fix but someone commented earlier they resolved the issue after the update by changing the line 1st ilne back to: local Sequences = GSMasterSequences

---

<div class="post-metadata">

**Author:** ![TimothyLuke](https://wowlazymacros.com/user_avatar/wowlazymacros.com/timothyluke/32/237_2.png) [@TimothyLuke](https://wowlazymacros.com/u/TimothyLuke)\
**Post date:** [November 1, 2016, 4:46pm UTC](https://wowlazymacros.com/t/lua-error-using-warlock/2959/3 "2016-11-01T16:46:44Z")

</div>

The Just released HP Macros depends on GS-E 1.5 which took longer to get out of Beta than plannned. Last minute show stopper delayed this. Apologies for the inconvenience.

---

<div class="post-metadata">

**Author:** ![MikeTan](https://wowlazymacros.com/user_avatar/wowlazymacros.com/miketan/32/3810_2.png) [@MikeTan](https://wowlazymacros.com/u/MikeTan)\
**Post date:** [November 1, 2016, 9:23pm UTC](https://wowlazymacros.com/t/lua-error-using-warlock/2959/4 "2016-11-01T21:23:28Z")

</div>

sorry for another post… i updated GSE and now i get a new message  
Message: Interface\AddOns\GS-HighPerformanceMacros\loaded.lua:34: bad argument #1 to ‘pairs’ (table expected, got nil)  
Time: 11/02/16 08:21:10  
Count: 1  
Stack: [C]: in function `pairs' Interface\AddOns\GS-HighPerformanceMacros\loaded.lua:34: in function &lt;Interface\AddOns\GS-HighPerformanceMacros\loaded.lua:26&gt; [string "safecall Dispatcher[1]"]:4: in function &lt;[string "safecall Dispatcher[1]"]:4&gt; [C]: ? [string "safecall Dispatcher[1]"]:13: in function`?’  
…ore\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90: in function `SendMessage’  
Interface\AddOns\GS-Core\Core.lua:424: in function \<Interface\AddOns\GS-Core\Core.lua:386\>  
Interface\AddOns\GS-Core\Core.lua:463: in function \<Interface\AddOns\GS-Core\Core.lua:448\>

Locals: \<none\>

i uninstalled GS-HighPerformanceMacros and it solved the problem  
is there a way to import HP manually?? ty  
can’t really play without gSE =p

---

<div class="post-metadata">

**Author:** ![tyrone-rd](https://wowlazymacros.com/letter_avatar_proxy/v4/letter/t/77aa72/32.png) [@tyrone-rd](https://wowlazymacros.com/u/tyrone-rd)\
**Post date:** [January 12, 2017, 1:56pm UTC](https://wowlazymacros.com/t/lua-error-using-warlock/2959/5 "2017-01-12T13:56:55Z")

</div>

same here please yhelp us , destro warlock

---

<div class="post-metadata">

**Author:** ![jiim](https://wowlazymacros.com/letter_avatar_proxy/v4/letter/j/91b2a8/32.png) [@jiim](https://wowlazymacros.com/u/jiim)\
**Post date:** [January 16, 2017, 8:52am UTC](https://wowlazymacros.com/t/lua-error-using-warlock/2959/6 "2017-01-16T08:52:49Z")

</div>

Hi Mike

Have you tried the import copy and paste to see if that will import the macro you are wanting to use? Copy your macro from the HP macro folder and then paste the macro in the Macro collection to import box and then click import below the box?

Then if it works you can go to /macro interface and set the icon to what ever you want.

The below Macro imported correctly and this one I manually imported by copying it out of the HP macro folder.I currently do not have the HP macros addon active.

```auto
Sequences['HP_EX_Demo'] = {
  Author='EnixLHQ',
  SpecID=266,
  Help='Single Target - This macro tries to hit the targets every Demonologist should be aiming for: Soul Shard generation for maximum Wild Imps uptime, DreadStalkers on CD, and plenty of Demonic Empowerment.',
  Helplink="https://wowlazymacros.com/forums/topic/demonology-synergy/",
  Talents="3,2,1,1,2,3,2",
  Icon='INV_MISC_QUESTIONMARK',
  Default=1,
  MacroVersions = {
    [1] = {
      KeyPress={
        "/targetenemy [noharm][dead]",
        "/cast [nopet][target=pet, dead] Summon Felguard",
        "/use [mod:alt] Drain Life",
        "/castsequence reset=target Doom, null"
      },
      "/castsequence [nochanneling] Demonbolt, Call Dreadstalkers, Demonic Empowerment, Life Tap",
      "/castsequence [nochanneling] Demonbolt, Hand of Gul'dan, Demonic Empowerment",
      "/castsequence [nochanneling] Summon Doomguard, Demonic Empowerment",
      "/castsequence [nochanneling] Demonbolt, Hand of Gul'dan, Thal'kiel's Consumption",
      "/cast [nochanneling] Command Demon",
      "/cast [nochanneling] Demonbolt",
    }
  }
}

```

TM
