Vlud's Tiller Gifts

valley stir fry

Adds Tiller gift data to tooltip.

Shows you the names of who to give Food and Gift items to.

Prefix can be modified as follows:-

add-on default colours

/run VtgPrefix = "\124cffC0C0C0Tiller \124cffFFA500"; VtgPrefixIngredient = "\124cffC0C0C0Ingredient \124cffFFA500"; VtgPrefixNPC = "\124cffC0C0C0"




no colours

/run VtgPrefix = "Tiller "; VtgPrefixIngredient = "Ingredient "; VtgPrefixNPC = ""

You must login to post a comment. Don't have an account? Register to get one!

  • 2 comments
  • Avatar of Voreck Voreck Jan 14, 2014 at 22:12 UTC - 0 likes

    The problem that blondrocker describes happens when you are in a pet battle and mouse over the enemy pet. This happens because UnitGUID(iUnit) returns nil. To fix the problem, change the VtgOnTooltipSetUnit function to be:

    local function VtgOnTooltipSetUnit(oTip, ...)
    	local sName, iUnit = oTip:GetUnit()
    	if iUnit then
    		local tmpGuid = UnitGUID(iUnit)
    		if tmpGuid then
    			local nNpcId = tonumber(tmpGuid:sub(6, 10), 16)
    			if nNpcId then
    				local nRepId = Vtg_tNpcIdToRepId[nNpcId]
    				if nRepId then
    					_, nRep, nMaxRep, sFriendName, _, _, sRepLevel = GetFriendshipReputation(nRepId)
    					oTip:AddLine(VtgPrefixNPC .. sRepLevel .. " " .. format("%i",((nRep*100)/nMaxRep)) .. "%")
    					oTip:Show()
    				end
    			end
    		end
    	end
    end
    
  • Avatar of blondrocker blondrocker Nov 28, 2013 at 00:51 UTC - 0 likes

    Error occurred as of today, 11-27

    Date: 2013-11-27 14:51:45 ID: -4 Error occured in: Global Count: 2 Message: ...terface\AddOns\VludsTillerGifts\VludsTillerGifts.lua line 91: attempt to index a nil value Debug: [C]: ? ...terface\AddOns\VludsTillerGifts\VludsTillerGifts.lua:91: ...terface\AddOns\VludsTillerGifts\VludsTillerGifts.lua:88 [C]: ? ...ns\TradeSkillMaster\Libs\LibExtraTip\LibExtraTip.lua:432: ...ns\TradeSkillMaster\Libs\LibExtraTip\LibExtraTip.lua:426 [C]: ? Locals:

    AddOns: Swatter, v4.4.0 (<%codename%>) NPCScan, v5.4.1.8 NPCScanOverlay, v5.4.1.4 AchievementsReminder, v AckisRecipeList, v2.5.11 Archy, v1.8.43 Atlas, v1.26.02 AtlasBattlegrounds, v1.26.00 AtlasBurningCrusade, v1.26.00 AtlasCataclysm, v1.26.00 AtlasClassicWoW, v1.26.00 AtlasDungeonLocs, v1.26.00 AtlasOutdoorRaids, v1.26.00 AtlasScenarios, v1.26.00 AtlasTransportation, v1.26.01 AtlasWorldEvents, v3.05 AtlasWrathoftheLichKing, v1.26.00 AtlasLootLoader, vv7.07.01 AutoBar, vv5.4.1.0 Babylonian, v5.1.DEV.332(/embedded) BigWigs, v4.420 BittensSpellFlashDK, v50400.2.2 BittensSpellFlashLibrary, v50400.4.1 BRFForwarder, v1.1 r008 BRFForwardingTracker, v1.1 r007 BrokerRaidFinder, v1.2 r021 camelstatues, v1.01 Configator, v5.1.DEV.344(/embedded) CookingHelper, v2.03 DailyTamerCheck, v DBMArchaeology, v DBMBrawlers, v DBMCore, v DBMLDB, v EasyMail, v Factionizer, v5.04.00.28 13.9.24 Gatherer, v4.4.0 GathererHUD, v4.4.0 GatherNotify, v1.48 GemHelper, v5.4.2 Grid, v5.3.0.1621 GridStatusRaidDebuff, v5.41 GridStatusRDBC, v1.0.1 GridStatusRDCata, v1.42 GridStatusRDMoP, v1.4 GridStatusRDWotLK, v1.1 GuildMemberInfo, v0.2.2 GuildMemberInfoTradeSkills, v0.4.4 HandyNotes, v1.2.0 HandyNotesHallowsEnd, vv1.0.3 HandyNotesLorewalkers, v1 HandyNotesLostAndFound, v1 HandyNotesLunarFestival, vv1.1.3 HandyNotesPetTamers, v1 HandyNotesSummerFestival, vv1.0 Herby, v0.11 Juggler, v5.0.0.1 LibExtraTip, v5.12.DEV.350(/embedded) LittleWigsTBC, v LostTreasureCheck, v1.5.4a MageNuggets, v3.42 MillHelp, v2.0.14 MillHelpGlyphs, v2.0.14 MobInfo2, vr73 mountainomounts, vv1.2 mountainomountsmop, vv2.2 NPCScanEx, v1.2.4 QuestHubber, v QuestHubberAzeroth, v QuestHubberCataclysm, v QuestHubberDaily, v QuestHubberNorthrend, v QuestHubberOutland, v QuestHubberPandaria, v RaidBuffStatus, v5.8.0 Rarity, v1.0 RarityOptions, v SavedInstances, v5.7.5 Sifter, v2.0.11 SlideBar, v4.4.0 (<%codename%>) SpellFlash, v6.10 SpellFlashCore, v2.0.4 TabardAddict, v2.21 ToDoList, v2.1 TomTom, vv50400-1.0.0 TradeSkillMaster, vv2.2.6 TradeSkillMasterCrafting, vv2.4.2 URNotePad, v5.1.0 VludsTillerGifts, v5.04.014 BlizRuntimeLib_enUS v5.4.1.50400 <us> (ck=8f6)

  • 2 comments

Facts

Date created
Oct 13, 2012
Categories
Last update
Sep 30, 2013
Development stage
Release
License
All Rights Reserved
Curse link
Vlud's Tiller Gifts
Downloads
16,363
Recent files

Authors

  • Avatar of Vlud
    • Manager
    • Author