• 0

    posted a message on Removing WoW escape sequences from a string
    Quote from Phanx
    I'm not aware of any API function to remove escape sequences, but it would be trivial to do it yourself:
    ...


    Thanks alot!
    I simplify your example and use it like that:
    local function unescape(String)
      local Result = tostring(String)
      Result = gsub(Result, "|c........", "") -- Remove color start.
      Result = gsub(Result, "|r", "") -- Remove color end.
      Result = gsub(Result, "|H.-|h(.-)|h", "%1") -- Remove links.
      Result = gsub(Result, "|T.-|t", "") -- Remove textures.
      Result = gsub(Result, "{.-}", "") -- Remove raid target icons.
      return Result
    end
    Posted in: Lua Code Discussion
  • 0

    posted a message on Baggins - Official Thread
    Quote from gamemaster128
    Is it really necessary to spam all of this on login?


    I belive its debug messages.

    Usually, develpoers create some conditions (usually it is flag "Debug" or something like that in plugin variables) to show this messages...
    Posted in: General AddOns
  • 0

    posted a message on Baggins - Official Thread
    Quote from Nayala
    r28 should fix it. Or you can remove the older Baggins_Outfitter, which should then cause the one from LibFilter to take over. You can also remove Baggins_LibFilter, Baggins_Professions and Baggins_Usable, since LibFilter-1.0 has all of those built in.


    Its AWESOME!!! Thx you, man!
    Posted in: General AddOns
  • 0

    posted a message on Baggins - Official Thread
    First of all - thx for answers.
    So, can i fix it (and make libfilter & baggins work) by disabling some another addons?
    Posted in: General AddOns
  • 0

    posted a message on Baggins - Official Thread
    Quote from Nayala
    Give LibFilter-1.0 r27 a try. I added an extra option to the Professions filter to allow it to apply only to primary professions or to both primary and secondary. Still might tweak the options a bit further.


    I got error with new Libfilter :'-|

    Date: 2008-11-07 19:04:16
    ID: 70
    Error occured in: Global
    Count: 1
    Message: ...1.0\adapters\Baggins_LibFilter\Baggins_LibFilter.lua line 196:
       attempt to index local 'extensions' (a nil value)
    Debug:
       (tail call): ?
       [C]: ?
       ...1.0\adapters\Baggins_LibFilter\Baggins_LibFilter.lua:196:
          ...1.0\adapters\Baggins_LibFilter\Baggins_LibFilter.lua:167
       ...1.0\adapters\Baggins_LibFilter\Baggins_LibFilter.lua:213:
          ...1.0\adapters\Baggins_LibFilter\Baggins_LibFilter.lua:210
       ...1.0\adapters\Baggins_LibFilter\Baggins_LibFilter.lua:224: UPDATE()
       ...1.0\adapters\Baggins_LibFilter\Baggins_LibFilter.lua:229:
          ...1.0\adapters\Baggins_LibFilter\Baggins_LibFilter.lua:229
    AddOns:
      Swatter, v5.1.3715 (SnaggleTooth)
      WowheadLooter, v30014
      Ace3, v
      ACP, v3.0.0
      Atlas, v1.12.3
      AtlasBattlegrounds, v1.12.3
      AtlasDungeonLocs, v1.12.3
      AtlasFlightPaths, v1.12.3
      AtlasOutdoorRaids, v1.12.3
      AtlasLoot, v5.01.04
      AtlasLootFu, v1.2
      AucAdvanced, v5.1.3715 (SnaggleTooth)
      AucFilterBasic, v5.1.3715 (SnaggleTooth)
      AucFilterOutlier, v5.1.3715.2531
      AucMatchUndercut, v5.1.3715.2531
      AucStatClassic, v5.1.3715 (SnaggleTooth)
      AucStatHistogram, v5.1.3715 (SnaggleTooth)
      AucStatiLevel, v5.1.3715 (SnaggleTooth)
      AucStatPurchased, v5.1.3715 (SnaggleTooth)
      AucStatSales, v5.1.3715.2842
      AucStatSimple, v5.1.3715 (SnaggleTooth)
      AucStatStdDev, v5.1.3715 (SnaggleTooth)
      AucStatWOWEcon, v5.1.3715.2530
      AucUtilAHWindowControl, v5.1.3715.3311
      AucUtilAppraiser, v5.1.3715.2530
      AucUtilAskPrice, v5.1.3715.3175
      AucUtilAutoMagic, v5.1.3715.3142
      AucUtilCompactUI, v5.1.3715.2530
      AucUtilEasyBuyout, v5.1.3715.3583
      AucUtilItemSuggest, v5.1.3715.3108
      AucUtilPriceLevel, v5.1.3715.2545
      AucUtilScanButton, v5.1.3715.2530
      AucUtilScanFinish, v5.1.3715.2530
      AucUtilScanProgress, v5.1.3715.2530
      AucUtilSearchUI, v5.1.3715.3483
      AucUtilSimpleAuction, v5.1.3715.3708
      AucUtilVendMarkup, v5.1.3715.2530
      Babylonian, v5.1.DEV.130
      Baggins, vBeta 1
      BagginsAltLevel, v1.0.2
      BagginsGarbageFu, v1.0.$Revision: $
      BagginsLibFilter, v2008-10-25B
      BagginsOutfitter, v2007-04-30
      BagginsProfessions, v2008-10-25
      BagginsSearch, v1.0
      BagginsSectionColor, v0.1
      BagginsUsable, v2008-10-25
      Bartender4, v4.1.2
      BeanCounter, v5.1.3715 (SnaggleTooth)
      beql, v1.0:3.0.3
      Cartographer, v2.0
      Cartographer3, v3.0 v0.10.3
      CartographerBattlegrounds, v2.0
      CartographerCoordinates, v2.0
      CartographerFoglight, v2.0
      CartographerGroupColors, v2.0
      CartographerGuildPositions, v2.0
      CartographerInstanceLoot, v2.0
      CartographerInstanceMaps, v2.0
      CartographerInstanceNotes, v2.0
      CartographerLookNFeel, v2.0
      CartographerMailboxes, v1.0
      CartographerNotes, v2.0
      CartographerPOI, v2.0
      CartographerProfessions, v2.0
      CartographerTrainers, v20400.2
      CartographerVendors, v1.0
      CartographerWaypoints, v2.0
      CartographerZoneInfo, v2.0
      Configator, v5.1.DEV.130
      CurseProfiler, v
      DebugLib, v5.1.DEV.130
      Enchantrix, v5.1.3715 (SnaggleTooth)
      EnchantrixBarker, v5.1.3715 (SnaggleTooth)
      EnhTooltip, v5.1.3715 (SnaggleTooth)
      FuBar, v
      FuBarAtlasFu, v
      FuBarEmoteFu2, v0.1.5
      FuBarGarbageFu, v2.0.$Revision: 79607 $
      FuBarGrindFu, v1
      FuBarLootTypeFu, v2.0
      FuBarMicroMenuFu, v2.0
      FuBarXPerlFu, v0.2
      GatherMate, v1.0.6
      GatherMateCartImport, v1.0
      GatherMateSharing, v1.0
      GuildMap3, v$Revision: 0.3.1 $
      Informant, v5.1.3715 (SnaggleTooth)
      LibFilter10, v2008-10-25B
      LibPeriodicTable31, v3.1
      MailTips, v0.9
      Omen, v3.0.2
      Outfitter, v4.3b11
      Parrot, vv1.6.3.1
      Postal, v3.0.1
      Prat30, vBeta 14 
      Prat30HighCPUUsageModules, v
      Prat30Libraries, v
      QuestHelper, v0.65
      RicoMiniMap, v
      Stubby, v5.1.3715 (SnaggleTooth)
      TouristLib, v
      WIM, v3.0.3
      XLoot, v0.9
      XPerl, v3.0.1f
      XPerlArcaneBar, v
      XPerlParty, v
      XPerlPartyPet, v
      XPerlPlayer, v
      XPerlPlayerBuffs, v
      XPerlPlayerPet, v
      XPerlRaidAdmin, v
      XPerlRaidFrames, v
      XPerlRaidHelper, v
      XPerlRaidMonitor, v
      XPerlRaidPets, v
      XPerlTarget, v
      XPerlTargetTarget, v
      (ck=cf6)

    (added):
    Downloaded last baggins, baggins_libfilter, libfilter from wowace - the same thing appears.
    Posted in: General AddOns
  • 0

    posted a message on Baggins - Official Thread
    Quote from WanderingFox
    Quote from Kiber_
    Hi all, *thx again* to baggins developers. Today i have 2 POI:

    1. How to create filter my items by known PRIMARY professions (only)?
    2. BugReport: Do you know, that on Russian realms do not working standart baggins filters by armor? (Actually, all armor items is not recognized by baggins as armor items, it allways goes to "other", or dont appear at all, if no "unsorted" filter used).


    PTSet:Tradeskill.Crafted.<Profession>

    or if you're looking for gathering materials, you could use PTSet:Tradeskill.Gather.<Profession>

    For example if you wanted a filter that showed everything blacksmithing can make, you'd use PTSet:Tradeskill.Crafted.Blacksmithing, and if you wanted to see everything you can get from mining, you could do PTSet:Tradeskill.Gather.Mining

    If you get a bunch of stuff that you don't want, you can just NOT another PTSet onto that filter.

    For example, if you wanted to look at everything gahtered by herbalism, except for motes (since herbalists get motes of life/mana from herbs), then you would use a set like this

    PTSet:Tradeskill.Gather.Herbalism
    NOT PTSet:Tradeskill.Mat.ByType.Mote


    I wrote this scheme:
    So, i want to filter 1+2+3 and 4+5.
    Now i can filter only 1+2+3+4 and 5, because i cant find filter on KNOWN primary professions.
    Posted in: General AddOns
  • 0

    posted a message on Baggins - Official Thread
    Hi all, *thx again* to baggins developers. Today i have 2 POI:

    1. How to create filter my items by known PRIMARY professions (only)?
    2. BugReport: Do you know, that on Russian realms do not working standart baggins filters by armor? (Actually, all armor items is not recognized by baggins as armor items, it allways goes to "other", or dont appear at all, if no "unsorted" filter used).
    Posted in: General AddOns
  • To post a comment, please or register a new account.