Firelands: Shannox Trap locations #117


  • New
  • Other
Open
Assigned to ardentvark
  • _ForgeUser6980843 created this issue Jul 7, 2011

    What is the issue?

    Hey there, I am currently trying my hand out at LUA programming to add some functionality to Firelands. Specifically, I'm trying to add trap locations from Shannox to the hudmap. I have never programmed LUA before, but I have programmed in other langauges (C++, SAS, R, other statistical programming langauges) and so I've been trying to adapt previously written code from other encounters to this Shannox encounter.

    I've found code for the encounterID, and his trap spell ID's, but when I add the newly created firelands.lua into the hudmap encounters folder in my add ons directory, I am not able to get the core Hudmap to recognize the new encounter file. I've tried adding the RegisterModule() from the encounters.lua into the firelands.lua file as well, but no luck still.

    I'm thinking that when I can get the Firelands options to show up in the Hudmap Encounters module in game, it should be okay, but that's not happening so far. I'll try uploading the file as an attachment so you can see what I'm doing here and maybe we can get this working. :D

    Please provide any additional information below.

  • _ForgeUser6980843 added the tags New Other Jul 7, 2011
  • _ForgeUser6980843 added an attachment firelands.lua Jul 7, 2011

    firelands.lua

    <p>Firelands.lua file I made from past code</p>

  • _ForgeUser1376682 posted a comment Aug 4, 2011

    First you need to add in in the HudMap.toc like this:

    modules\zones\firelands.lua

    and the next thing is ImmolationTrap = SN[101209, 99838] (theres missing a "," at the end too ;) ) only can have one spell ID since it's only to get the spell name.

    Also you have to rename ImmoTrapColor in ImmolationTrapColor otherwise you will get a nil error.

    Last thing is you should uncommend the local target = encounters:GetMobTarget(53691) if you plan on using it...

    I think that's it I hope it will help you :D

  • bmost10222 posted a comment Sep 1, 2011

    You should check out Hudmap Cataclysm Encounters. I've already added a Firelands file to it (Although it doesn't really contain anything), so you wouldn't even have to worry about setting up that stuff. I haven't really been actively maintaining HCE because I haven't found that much of a need for it in Firelands and I don't have that much time.


To post a comment, please login or register a new account.