• 0

    posted a message on Archy
    Quote from gizmo1972 >>

    GetArchaeologyRaceInfo still returns a race Texture, its just not a path anymore, but a number.

     

    If anyone wants to fix it themselves until the author gets around to it, I fixed mine by doing the folowing:

     

    1. Find the line below in the Race.lua file.
      LibStub("AceAddon-3.0"):GetAddon("Archy")
    2. Add the following after it.
      local textureIds = {
      	[461829]="Interface/Archeology/Arch-Race-Draenei",
      	[461831]="Interface/Archeology/Arch-Race-Dwarf",
      	[461833]="Interface/Archeology/Arch-Race-Fossil",
      	[461835]="Interface/Archeology/Arch-Race-Nerubian",
      	[461837]="Interface/Archeology/Arch-Race-NightElf",
      	[462321]="Interface/Archeology/Arch-Race-Orc",
      	[461839]="Interface/Archeology/Arch-Race-Tolvir",
      	[461841]="Interface/Archeology/Arch-Race-Troll",
      	[461843]="Interface/Archeology/Arch-Race-Vrykul",
      	[1030616]="Interface/Archeology/Arch-Race-Arakkoa",
      	[1445573]="Interface/Archeology/Arch-Race-Demons",
      	[1030617]="Interface/Archeology/Arch-Race-DraenorOrc",
      	[1445575]="Interface/Archeology/Arch-Race-HighborneNightElves",
      	[1445577]="Interface/Archeology/Arch-Race-HighmountainTauren",
      	[839111]="Interface/Archeology/Arch-Race-Mantid",
      	[633000]="Interface/Archeology/Arch-Race-Mogu",
      	[1030618]="Interface/Archeology/Arch-Race-Ogre",
      	[633002]="Interface/Archeology/Arch-Race-Pandaren",
      }

       

    3. Find the line below in the Race.lua file.
      	local _, _, textureName = ("\\"):split(raceTexturePath)
    4. Change it to this.
      	local _, _, textureName = ("/"):split(textureIds[raceTexturePath])

      I havent tested it completely, but it seems to be working correctly with the little testing I did, hopefully the author is still around to fix it, if I missed something.

       
     Thanks! Gizmo I can confirm it worked for me...
    Posted in: General AddOns
  • To post a comment, please or register a new account.