• 0

    posted a message on LuaTexts Official Thread
    Hey sorry for the late response why pc crashed while in wow when i logged back in all addons had reset so now im starting from scratch, i tried the script thing and they do come back 1=elite but tooltip says boss, and default unit frames puts boss icon too, but maybe pittbull cant do it ?

    just thought it could, i used zorkĀ“s ouf and the names came back boss, so that gave me the idea.

    hope it makes sence been up way too long.
    Posted in: Unit Frames
  • 0

    posted a message on LuaTexts Official Thread
    okay no Err anymore but Elite is in grey and it still dont give boss, still ?? elite
    but almost there
    Posted in: Unit Frames
  • 0

    posted a message on LuaTexts Official Thread
    Hey Phanx I get why you wrote wwhat you wrote and it was a good laugh here and the beginning of the day ;D

    I did not meant to write error, the fixed code you posted works for players ( real people) but when i target npc. both no elites, elites and bosses it outputs Err on the nameplate ;)
    dont no how else to explain there is no lua error or anything

    Good Morning
    Posted in: Unit Frames
  • 0

    posted a message on LuaTexts Official Thread
    Quote from Phanx
    Fixed in my previous post.


    works for players but all npc gets Err
    Posted in: Unit Frames
  • 0

    posted a message on LuaTexts Official Thread
    Thanks for the help and time you put in. :D

    But this last code just gives me an Err, I tried putting the code under the default lua class to get the right Events, and i tried making it as a new text with no event both gives Err.

    If I only have Pitbull4 enabled there is no lua error but if i enable my other addons i get lua error.
    Date: 2013-12-05 22:58:03
    ID: 1
    Error occured in: Global
    Count: 9
    Message: [string "PitBull4_LuaTexts:Normal:Lua:Class"] line 16:
       Usage: UnitLevel("unit")
    Debug:
       PitBull4_LuaTexts\LuaTexts.lua:819:
          PitBull4_LuaTexts\LuaTexts.lua:816
       PitBull4_LuaTexts\LuaTexts.lua:901:
          PitBull4_LuaTexts\LuaTexts.lua:856
       PitBull4_LuaTexts\LuaTexts.lua:1445: AddFontString()
       ...ddOns\PitBull4\ModuleHandling\TextProviderModule.lua:121: UpdateFrame()
       PitBull4\ModuleHandling\Module.lua:319: Update()
       PitBull4\UnitFrame.lua:813: Update()
       PitBull4\UnitFrame.lua:734: RecheckConfigMode()
       PitBull4\Options\ConfigMode.lua:58: RecheckConfigMode()
       PitBull4\Main.lua:1361: OnProfileChanged()
       PitBull4\Main.lua:1426:
          PitBull4\Main.lua:1396
       (tail call): ?
       [C]: ?
       [string "safecall Dispatcher[1]"]:9:
          [string "safecall Dispatcher[1]"]:5
       (tail call): ?
       ...ace\AddOns\Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:558: EnableAddon()
       ...ace\AddOns\Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:651:
          ...ace\AddOns\Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:636
       [C]: LoadAddOn()
       ..\FrameXML\UIParent.lua:303: UIParentLoadAddOn()
       ..\FrameXML\UIParent.lua:326: CombatLog_LoadUI()
       ..\FrameXML\UIParent.lua:739:
          ..\FrameXML\UIParent.lua:702
    Locals:
    None
    AddOns:
      Swatter, v5.18.5433 (PassionatePhascogale)
      NPCScan, v5.4.1.8
      NPCScanOverlay, v5.4.1.4
      ACP, v3.4.5 
      AucAdvanced, v5.18.5433 (PassionatePhascogale)
      AucFilterBasic, v5.18.5433 (PassionatePhascogale)
      AucFilterOutlier, v5.18.5433.5347(5.18/embedded)
      AucMatchUndercut, v5.18.5433.5364(5.18/embedded)
      AucStatHistogram, v5.18.5433 (PassionatePhascogale)
      AucStatiLevel, v5.18.5433 (PassionatePhascogale)
      AucStatPurchased, v5.18.5433 (PassionatePhascogale)
      AucStatSales, v5.18.5433.5376(5.18/embedded)
      AucStatSimple, v5.18.5433 (PassionatePhascogale)
      AucStatStdDev, v5.18.5433 (PassionatePhascogale)
      AucStatWOWEcon, v5.18.5433.5323(5.18/embedded)
      AucUtilAHWindowControl, v5.18.5433.5347(5.18/embedded)
      AucUtilAppraiser, v5.18.5433.5427(5.18/embedded)
      AucUtilAskPrice, v5.18.5433.5347(5.18/embedded)
      AucUtilAutoMagic, v5.18.5433.5415(5.18/embedded)
      AucUtilCompactUI, v5.18.5433.5427(5.18/embedded)
      AucUtilEasyBuyout, v5.18.5433.5427(5.18/embedded)
      AucUtilFixAH, v5.18.5433 (PassionatePhascogale)
      AucUtilItemSuggest, v5.18.5433.5417(5.18/embedded)
      AucUtilPriceLevel, v5.18.5433.5427(5.18/embedded)
      AucUtilScanButton, v5.18.5433.5403(5.18/embedded)
      AucUtilScanFinish, v5.18.5433.5347(5.18/embedded)
      AucUtilScanProgress, v5.18.5433.4979(5.18/embedded)
      AucUtilScanStart, v5.18.5433.5347(5.18/embedded)
      AucUtilSearchUI, v5.18.5433.5373(5.18/embedded)
      AucUtilSimpleAuction, v5.18.5433.5415(5.18/embedded)
      AucUtilVendMarkup, v5.18.5433.4828(5.18/embedded)
      Auctionator, v3.1.5
      Babylonian, v5.1.DEV.332(/embedded)
      BagBrother, v
      Bagnon, v5.4.3
      BagnonAccountSearch, v1.7.0
      BagnonFacade, v9
      BankStack, vv33
      Bartender4, v4.5.13.2
      BeanCounter, v5.18.5433 (PassionatePhascogale)
      ButtonFacade, v5.4.396
      ButtonFacadepHish, v2
      ChocolateBar, vv2.4.2
      CollectMe, v2.4.7
      ColorPickerPlus, v
      Configator, v5.1.DEV.344(/embedded)
      DBMCore, v
      DebugLib, v5.1.DEV.337(/embedded)
      DoubleWideTradeSkills, v1.1.3
      Enchantrix, v5.18.5433 (PassionatePhascogale)
      EnchantrixBarker, v5.18.5433 (PassionatePhascogale)
      FishingAce, v0.7.9
      FriendsShare, v
      GlobalFontEditor, v
      iFriends, v5.4-r1
      LibExtraTip, v5.12.DEV.355(/embedded)
      LibSharedMedia30, v3.0-81
      MacroToolkit, vv5.4.0.1
      Mapster, v1.5.6.1
      Masque, v5.4.396
      MasqueNewsom, v1.2b
      MasqueVista, vv1.2
      MinimapButtonFrame, v3.1.10c
      MinimapButtonFramesClassButtons, v2.0.4
      MinimapButtonFrameSkinPack, v3.0.1b
      MoveAnything, v13.8.2
      oGlow, v2.2.3
      OmniCC, v5.4.1
      Parrot, vv1.11.4
      PitBull4, vv4.0.0-beta48-79-g706977f
      PitBull4Aggro, vv4.0.0-beta48-79-g706977f
      PitBull4AltPowerBar, vv4.0.0-beta48-79-g706977f
      PitBull4Aura, vv4.0.0-beta48-79-g706977f
      PitBull4Background, vv4.0.0-beta48-79-g706977f
      PitBull4BattlePet, vv4.0.0-beta48-79-g706977f
      PitBull4BlankSpace, vv4.0.0-beta48-79-g706977f
      PitBull4Border, vv4.0.0-beta48-79-g706977f
      PitBull4CastBar, vv4.0.0-beta48-79-g706977f
      PitBull4CastBarLatency, vv4.0.0-beta48-79-g706977f
      PitBull4CombatFader, vv4.0.0-beta48-79-g706977f
      PitBull4CombatIcon, vv4.0.0-beta48-79-g706977f
      PitBull4CombatText, vv4.0.0-beta48-79-g706977f
      PitBull4ComboPoints, vv4.0.0-beta48-79-g706977f
      PitBull4ExperienceBar, vv4.0.0-beta48-79-g706977f
      PitBull4HealthBar, vv4.0.0-beta48-79-g706977f
      PitBull4HideBlizzard, vv4.0.0-beta48-79-g706977f
      PitBull4Highlight, vv4.0.0-beta48-79-g706977f
      PitBull4HostilityFader, vv4.0.0-beta48-79-g706977f
      PitBull4LeaderIcon, vv4.0.0-beta48-79-g706977f
      PitBull4LuaTexts, vv4.0.0-beta48-79-g706977f
      PitBull4MasterLooterIcon, vv4.0.0-beta48-79-g706977f
      PitBull4PhaseIcon, vv4.0.0-beta48-79-g706977f
      PitBull4Portrait, vv4.0.0-beta48-79-g706977f
      PitBull4PowerBar, vv4.0.0-beta48-79-g706977f
      PitBull4PvPIcon, vv4.0.0-beta48-79-g706977f
      PitBull4QuestIcon, vv4.0.0-beta48-79-g706977f
      PitBull4RaidTargetIcon, vv4.0.0-beta48-79-g706977f
      PitBull4RangeFader, vv4.0.0-beta48-79-g706977f
      PitBull4ReadyCheckIcon, vv4.0.0-beta48-79-g706977f
      PitBull4ReputationBar, vv4.0.0-beta48-79-g706977f
      PitBull4RestIcon, vv4.0.0-beta48-79-g706977f
      PitBull4RoleIcon, vv4.0.0-beta48-79-g706977f
      PitBull4Sounds, vv4.0.0-beta48-79-g706977f
      PitBull4ThreatBar, vv4.0.0-beta48-79-g706977f
      PitBull4Totems, vv4.0.0-beta48-79-g706977f
      PitBull4VisualHeal, vv4.0.0-beta48-79-g706977f
      PitBull4VoiceIcon, vv4.0.0-beta48-79-g706977f
      Postal, v3.5.1
      Prat30, v3.5.7      
      Prat30Libraries, v
      ProfessionsVault, v7.1.4
      Quartz, v3.1.4
      QuestItemBar, v0.8.5.4
      QuestPointer, vv12
      Raven, vr317
      SexyMap, v2.4.14
      Skada, v1.4-14
      SkadaCC, v1.0
      SkadaDamage, v1.0
      SkadaDamageTaken, v1.0
      SkadaDeaths, v1.0
      SkadaDebuffs, v1.0
      SkadaDispels, v1.0
      SkadaEnemies, v1.0
      SkadaHealing, v1.0
      SkadaPower, v1.0
      SkadaThreat, v1.0
      Skillet, v
      SlideBar, v5.18.5433 (PassionatePhascogale)
      Stubby, v5.18.5433 (PassionatePhascogale)
      TipHelper, v5.12.DEV.351(/embedded)
      VuhDo, v3.53
      VuhDoOptions, v3.53
      WeakAuras, v2.0
      XPBarNone, v50400-1
      Zmedia, v3.0.5-183
      BlizRuntimeLib_enUS v5.4.1.50400 <eu>
      (ck=13ac)
    
    

    Date: 2013-12-05 22:58:03
    ID: 2
    Error occured in: Global
    Count: 5
    Message: [string "PitBull4_LuaTexts:Normal:Lua:Class"] line 2:
       Usage: UnitLevel("unit")
    Debug:
       PitBull4_LuaTexts\LuaTexts.lua:819:
          PitBull4_LuaTexts\LuaTexts.lua:816
       PitBull4_LuaTexts\LuaTexts.lua:901:
          PitBull4_LuaTexts\LuaTexts.lua:856
       PitBull4_LuaTexts\LuaTexts.lua:1445: AddFontString()
       ...ddOns\PitBull4\ModuleHandling\TextProviderModule.lua:121: UpdateFrame()
       PitBull4\ModuleHandling\Module.lua:319: Update()
       PitBull4\UnitFrame.lua:813: Update()
       PitBull4\UnitFrame.lua:734: RecheckConfigMode()
       PitBull4\Options\ConfigMode.lua:58: RecheckConfigMode()
       PitBull4\Main.lua:1361: OnProfileChanged()
       PitBull4\Main.lua:1426:
          PitBull4\Main.lua:1396
       (tail call): ?
       [C]: ?
       [string "safecall Dispatcher[1]"]:9:
          [string "safecall Dispatcher[1]"]:5
       (tail call): ?
       ...ace\AddOns\Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:558: EnableAddon()
       ...ace\AddOns\Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:651:
          ...ace\AddOns\Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:636
       [C]: LoadAddOn()
       ..\FrameXML\UIParent.lua:303: UIParentLoadAddOn()
       ..\FrameXML\UIParent.lua:326: CombatLog_LoadUI()
       ..\FrameXML\UIParent.lua:739:
          ..\FrameXML\UIParent.lua:702
    Locals:
    None
    AddOns:
      Swatter, v5.18.5433 (PassionatePhascogale)
      NPCScan, v5.4.1.8
      NPCScanOverlay, v5.4.1.4
      ACP, v3.4.5 
      AucAdvanced, v5.18.5433 (PassionatePhascogale)
      AucFilterBasic, v5.18.5433 (PassionatePhascogale)
      AucFilterOutlier, v5.18.5433.5347(5.18/embedded)
      AucMatchUndercut, v5.18.5433.5364(5.18/embedded)
      AucStatHistogram, v5.18.5433 (PassionatePhascogale)
      AucStatiLevel, v5.18.5433 (PassionatePhascogale)
      AucStatPurchased, v5.18.5433 (PassionatePhascogale)
      AucStatSales, v5.18.5433.5376(5.18/embedded)
      AucStatSimple, v5.18.5433 (PassionatePhascogale)
      AucStatStdDev, v5.18.5433 (PassionatePhascogale)
      AucStatWOWEcon, v5.18.5433.5323(5.18/embedded)
      AucUtilAHWindowControl, v5.18.5433.5347(5.18/embedded)
      AucUtilAppraiser, v5.18.5433.5427(5.18/embedded)
      AucUtilAskPrice, v5.18.5433.5347(5.18/embedded)
      AucUtilAutoMagic, v5.18.5433.5415(5.18/embedded)
      AucUtilCompactUI, v5.18.5433.5427(5.18/embedded)
      AucUtilEasyBuyout, v5.18.5433.5427(5.18/embedded)
      AucUtilFixAH, v5.18.5433 (PassionatePhascogale)
      AucUtilItemSuggest, v5.18.5433.5417(5.18/embedded)
      AucUtilPriceLevel, v5.18.5433.5427(5.18/embedded)
      AucUtilScanButton, v5.18.5433.5403(5.18/embedded)
      AucUtilScanFinish, v5.18.5433.5347(5.18/embedded)
      AucUtilScanProgress, v5.18.5433.4979(5.18/embedded)
      AucUtilScanStart, v5.18.5433.5347(5.18/embedded)
      AucUtilSearchUI, v5.18.5433.5373(5.18/embedded)
      AucUtilSimpleAuction, v5.18.5433.5415(5.18/embedded)
      AucUtilVendMarkup, v5.18.5433.4828(5.18/embedded)
      Auctionator, v3.1.5
      Babylonian, v5.1.DEV.332(/embedded)
      BagBrother, v
      Bagnon, v5.4.3
      BagnonAccountSearch, v1.7.0
      BagnonFacade, v9
      BankStack, vv33
      Bartender4, v4.5.13.2
      BeanCounter, v5.18.5433 (PassionatePhascogale)
      ButtonFacade, v5.4.396
      ButtonFacadepHish, v2
      ChocolateBar, vv2.4.2
      CollectMe, v2.4.7
      ColorPickerPlus, v
      Configator, v5.1.DEV.344(/embedded)
      DBMCore, v
      DebugLib, v5.1.DEV.337(/embedded)
      DoubleWideTradeSkills, v1.1.3
      Enchantrix, v5.18.5433 (PassionatePhascogale)
      EnchantrixBarker, v5.18.5433 (PassionatePhascogale)
      FishingAce, v0.7.9
      FriendsShare, v
      GlobalFontEditor, v
      iFriends, v5.4-r1
      LibExtraTip, v5.12.DEV.355(/embedded)
      LibSharedMedia30, v3.0-81
      MacroToolkit, vv5.4.0.1
      Mapster, v1.5.6.1
      Masque, v5.4.396
      MasqueNewsom, v1.2b
      MasqueVista, vv1.2
      MinimapButtonFrame, v3.1.10c
      MinimapButtonFramesClassButtons, v2.0.4
      MinimapButtonFrameSkinPack, v3.0.1b
      MoveAnything, v13.8.2
      oGlow, v2.2.3
      OmniCC, v5.4.1
      Parrot, vv1.11.4
      PitBull4, vv4.0.0-beta48-79-g706977f
      PitBull4Aggro, vv4.0.0-beta48-79-g706977f
      PitBull4AltPowerBar, vv4.0.0-beta48-79-g706977f
      PitBull4Aura, vv4.0.0-beta48-79-g706977f
      PitBull4Background, vv4.0.0-beta48-79-g706977f
      PitBull4BattlePet, vv4.0.0-beta48-79-g706977f
      PitBull4BlankSpace, vv4.0.0-beta48-79-g706977f
      PitBull4Border, vv4.0.0-beta48-79-g706977f
      PitBull4CastBar, vv4.0.0-beta48-79-g706977f
      PitBull4CastBarLatency, vv4.0.0-beta48-79-g706977f
      PitBull4CombatFader, vv4.0.0-beta48-79-g706977f
      PitBull4CombatIcon, vv4.0.0-beta48-79-g706977f
      PitBull4CombatText, vv4.0.0-beta48-79-g706977f
      PitBull4ComboPoints, vv4.0.0-beta48-79-g706977f
      PitBull4ExperienceBar, vv4.0.0-beta48-79-g706977f
      PitBull4HealthBar, vv4.0.0-beta48-79-g706977f
      PitBull4HideBlizzard, vv4.0.0-beta48-79-g706977f
      PitBull4Highlight, vv4.0.0-beta48-79-g706977f
      PitBull4HostilityFader, vv4.0.0-beta48-79-g706977f
      PitBull4LeaderIcon, vv4.0.0-beta48-79-g706977f
      PitBull4LuaTexts, vv4.0.0-beta48-79-g706977f
      PitBull4MasterLooterIcon, vv4.0.0-beta48-79-g706977f
      PitBull4PhaseIcon, vv4.0.0-beta48-79-g706977f
      PitBull4Portrait, vv4.0.0-beta48-79-g706977f
      PitBull4PowerBar, vv4.0.0-beta48-79-g706977f
      PitBull4PvPIcon, vv4.0.0-beta48-79-g706977f
      PitBull4QuestIcon, vv4.0.0-beta48-79-g706977f
      PitBull4RaidTargetIcon, vv4.0.0-beta48-79-g706977f
      PitBull4RangeFader, vv4.0.0-beta48-79-g706977f
      PitBull4ReadyCheckIcon, vv4.0.0-beta48-79-g706977f
      PitBull4ReputationBar, vv4.0.0-beta48-79-g706977f
      PitBull4RestIcon, vv4.0.0-beta48-79-g706977f
      PitBull4RoleIcon, vv4.0.0-beta48-79-g706977f
      PitBull4Sounds, vv4.0.0-beta48-79-g706977f
      PitBull4ThreatBar, vv4.0.0-beta48-79-g706977f
      PitBull4Totems, vv4.0.0-beta48-79-g706977f
      PitBull4VisualHeal, vv4.0.0-beta48-79-g706977f
      PitBull4VoiceIcon, vv4.0.0-beta48-79-g706977f
      Postal, v3.5.1
      Prat30, v3.5.7      
      Prat30Libraries, v
      ProfessionsVault, v7.1.4
      Quartz, v3.1.4
      QuestItemBar, v0.8.5.4
      QuestPointer, vv12
      Raven, vr317
      SexyMap, v2.4.14
      Skada, v1.4-14
      SkadaCC, v1.0
      SkadaDamage, v1.0
      SkadaDamageTaken, v1.0
      SkadaDeaths, v1.0
      SkadaDebuffs, v1.0
      SkadaDispels, v1.0
      SkadaEnemies, v1.0
      SkadaHealing, v1.0
      SkadaPower, v1.0
      SkadaThreat, v1.0
      Skillet, v
      SlideBar, v5.18.5433 (PassionatePhascogale)
      Stubby, v5.18.5433 (PassionatePhascogale)
      TipHelper, v5.12.DEV.351(/embedded)
      VuhDo, v3.53
      VuhDoOptions, v3.53
      WeakAuras, v2.0
      XPBarNone, v50400-1
      Zmedia, v3.0.5-183
      BlizRuntimeLib_enUS v5.4.1.50400 <eu>
      (ck=13ac)
    
    


    hope you know whats wrong, I tried looking over the code, really dont know why, plz let me know if you dont wanna spend your time on this so i wont keep checking back
    Dadum
    Posted in: Unit Frames
  • 0

    posted a message on LuaTexts Official Thread
    hope your checking back in at some point.

    I am using the code you gave me for class, but i would like to make a coupple of changes and i cant do it myself so hope you can wip something together for me,
    i would like the lvl to be colored by lvl, and rare,elite,boss their respective colors to.

    One thing that dont work is world bosses just show up as ?? elite i would like em to show up ass bosses (garosh) and (gallion) as examples, if i disable pitbull the blizzard frames put them as bosses ?

    Hope you can help me yet again

    dadum
    Posted in: Unit Frames
  • 0

    posted a message on LuaTexts Official Thread
    Thank you for the help Phanx these simple things are very complicated when you have absolutely no understanding of lua so its much appreciated.
    Im sure i have a few more tweaks when im done with the layout if you wouldent mind checking back ;)
    Posted in: Unit Frames
  • To post a comment, please or register a new account.