Results 1 to 6 of 6

Thread: Request HUD & General Info

  1. #1
    Normal User Tripidia's Avatar
    Join Date
    Apr 2012
    Posts
    293
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    5 Post(s)
    Reputation
    15
    Rep Power
    5

    Exclamation Request HUD & General Info

    Hello guys, im here to request a HUD loot counter of North bog riders - yalahar (bog, mutated tigers, nightmare,nightmare scion,death blob) and i need too a nice general info complete..
    Kisses
    Tripidia <3
    SELL 2 STRONG ACCOUNTS !!!! CLICK HERE
    Ajudei !? / Helped !? REP+ !!

  2. #2
    Normal User
    Join Date
    May 2013
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    16
    Rep Power
    4
    Hello, cant you use the one i linked to you not so long ago?
    Awsome Display Pack
    and you can get the loot list from Itemlist Creator

  3. #3
    Normal User Tripidia's Avatar
    Join Date
    Apr 2012
    Posts
    293
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    5 Post(s)
    Reputation
    15
    Rep Power
    5
    Quote Originally Posted by goran21 View Post
    Hello, cant you use the one i linked to you not so long ago?
    Awsome Display Pack
    and you can get the loot list from Itemlist Creator
    I dont understand what i need make on itemlist creator...
    SELL 2 STRONG ACCOUNTS !!!! CLICK HERE
    Ajudei !? / Helped !? REP+ !!

  4. #4
    Normal User
    Join Date
    May 2013
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    16
    Rep Power
    4
    You just add the monster names and it will give you a list of the items droped by those and what they are worth.
    ex: if i add the monster you mentioned, Bog Raider, Mutated Tiger, Nightmare, Nightmare Scion, Death Blob. It will give me this list:
    Code:
    {NAME = "boots of haste", VALUE = 30000},
    {NAME = "paladin armor", VALUE = 15000},
    {NAME = "shadow sceptre", VALUE = 10000},
    {NAME = "war axe", VALUE = 9000},
    {NAME = "focus cape", VALUE = 6000},
    {NAME = "angelic axe", VALUE = 5000},
    {NAME = "knight legs", VALUE = 5000},
    {NAME = "mysterious voodoo skull", VALUE = 4000},
    {NAME = "springsprout rod", VALUE = 3600},
    {NAME = "skeleton decoration", VALUE = 3000},
    {NAME = "glorious axe", VALUE = 3000},
    {NAME = "diamond sceptre", VALUE = 3000},
    {NAME = "crown helmet", VALUE = 2500},
    {NAME = "crystal of focus", VALUE = 2000},
    {NAME = "guardian shield", VALUE = 2000},
    {NAME = "death ring", VALUE = 1000},
    {NAME = "demonic essence", VALUE = 1000},
    {NAME = "ancient shield", VALUE = 900},
    {NAME = "belted cape", VALUE = 500},
    {NAME = "scythe leg", VALUE = 450},
    {NAME = "sabretooth", VALUE = 400},
    {NAME = "essence of a bad dream", VALUE = 360},
    {NAME = "ultimate health potion", VALUE = 310},
    {NAME = "boggy dreads", VALUE = 200},
    {NAME = "great health potion", VALUE = 190},
    {NAME = "great spirit potion", VALUE = 190},
    {NAME = "plate legs", VALUE = 115},
    {NAME = "strong health potion", VALUE = 100},
    {NAME = "platinum coin", VALUE = 100},
    {NAME = "life ring", VALUE = 50},
    {NAME = "striped fur", VALUE = 50},
    {NAME = "glob of tar", VALUE = 30},
    {NAME = "soul orb", VALUE = 25},
    {NAME = "gold coin", VALUE = 1},
    and adding it to the loot counter hud will be like:
    Code:
    local CONFIG = {
    	DRAW_TYPE = "border",
    	ORIENTATION = "left",
    	POSITION = {X = 0, Y = 0},
    	MAX_TEXT_LENGTH = 17,
    	TEXT_DISTANCE = 130,
    	LINE_DISTANCE = 14,
    }
        
    
    HUD = {
    
    	TITLE = "Awsome Loot Counter",
    
    	ITEMS = {
    
    		LOOT = {
    			{NAME = "boots of haste", VALUE = 30000},
    {NAME = "paladin armor", VALUE = 15000},
    {NAME = "shadow sceptre", VALUE = 10000},
    {NAME = "war axe", VALUE = 9000},
    {NAME = "focus cape", VALUE = 6000},
    {NAME = "angelic axe", VALUE = 5000},
    {NAME = "knight legs", VALUE = 5000},
    {NAME = "mysterious voodoo skull", VALUE = 4000},
    {NAME = "springsprout rod", VALUE = 3600},
    {NAME = "skeleton decoration", VALUE = 3000},
    {NAME = "glorious axe", VALUE = 3000},
    {NAME = "diamond sceptre", VALUE = 3000},
    {NAME = "crown helmet", VALUE = 2500},
    {NAME = "crystal of focus", VALUE = 2000},
    {NAME = "guardian shield", VALUE = 2000},
    {NAME = "death ring", VALUE = 1000},
    {NAME = "demonic essence", VALUE = 1000},
    {NAME = "ancient shield", VALUE = 900},
    {NAME = "belted cape", VALUE = 500},
    {NAME = "scythe leg", VALUE = 450},
    {NAME = "sabretooth", VALUE = 400},
    {NAME = "essence of a bad dream", VALUE = 360},
    {NAME = "ultimate health potion", VALUE = 310},
    {NAME = "boggy dreads", VALUE = 200},
    {NAME = "great health potion", VALUE = 190},
    {NAME = "great spirit potion", VALUE = 190},
    {NAME = "plate legs", VALUE = 115},
    {NAME = "strong health potion", VALUE = 100},
    {NAME = "platinum coin", VALUE = 100},
    {NAME = "life ring", VALUE = 50},
    {NAME = "striped fur", VALUE = 50},
    {NAME = "glob of tar", VALUE = 30},
    {NAME = "soul orb", VALUE = 25},
    {NAME = "gold coin", VALUE = 1}
            		},
    
    		SUPPLY = {
    			{NAME = "Mana Potion", VALUE = 50},
    			{NAME = "Great Health Potion", VALUE = 190},
    		}
    	},
    	
    	COLORS = {SHADOW = -16119286, TITLE = -1128192, TEXT1 = -1, TEXT2 = -2968436, SUBTITLE = -33024, PROFIT = -9320847, WASTE = -3342336},
    
    	VERSION = "1.1"
    }
    
    --[[ DONT EDIT NOTHING BELOW THIS LINE --]]
    
    function formatnumber(n, s)
    	local result, sign, before, after = '', string.match(tostring(n), '^([%+%-]?)(%d*)(%.?.*)$')
    
    	while #before > 3 do
    		result = (s or '.') .. string.sub(before, -3, -1) .. result
    		before = string.sub(before, 1, -4)
    	end
    
    	return sign .. before .. result .. after
    end
    
    function addcustomtext(TEXT, X, Y, COLOR)
    	setfontcolor(rgbcolor(10, 10, 10))
    	if CONFIG.DRAW_TYPE:upper() == "SHADOW" then
    		addtext(TEXT, X + 1, Y + 1)
    	elseif CONFIG.DRAW_TYPE:upper() == "BORDER" then
    		addtext(TEXT, X + 1, Y + 1)
    		addtext(TEXT, X - 1, Y - 1)
    		addtext(TEXT, X - 1, Y + 1)
    		addtext(TEXT, X + 1, Y - 1)
    		addtext(TEXT, X, Y + 1)
    		addtext(TEXT, X, Y - 1)
    		addtext(TEXT, X + 1, Y)
    		addtext(TEXT, X - 1, Y)
    	end
    	setfontcolor(COLOR)
    	return addtext(TEXT, X, Y)
    end
    
    local X, Y, INDEX, TOTAL, TOTAL_LOOTED, TOTAL_WASTED = (CONFIG.ORIENTATION:lower() == "right" and worldwin.right + 10 
    or clientwin.left + 10) + CONFIG.POSITION.X, worldwin.top + 20 + CONFIG.POSITION.Y, 1, 0, 0, 0
    
    addcustomtext(HUD.TITLE, X, Y, HUD.COLORS.TITLE)
    
    Y = Y + 20
    
    addcustomtext("ITEMS LOOTED:", X, Y, HUD.COLORS.SUBTITLE)
    
    Y = Y + 5
    
    for _, ITEM in ipairs(HUD.ITEMS.LOOT) do
        local ITEM_LOOTED = getitems(itemid(ITEM.NAME))
        if ITEM_LOOTED[ITEM_LOOTED.count - 1].loot > 0 then
            Y = Y + CONFIG.LINE_DISTANCE
            addcustomtext((#ITEM.NAME < CONFIG.MAX_TEXT_LENGTH and ITEM.NAME or ITEM.NAME:sub(1, 
    CONFIG.MAX_TEXT_LENGTH) .. "..."):gsub("(%a)([%w_']*)", function(s1, s2) return s1:upper() .. s2:lower() end), X, Y, 
    HUD.COLORS.TEXT1)
            addcustomtext(string.format("%s (%sk)", formatnumber(ITEM_LOOTED[0].loot), math.floor(ITEM_LOOTED[0].loot * 
    (ITEM.VALUE or itemvalue(ITEM.NAME)) / 100) / 10), X + CONFIG.TEXT_DISTANCE, Y, HUD.COLORS.TEXT2)
            TOTAL, TOTAL_LOOTED = TOTAL + ITEM_LOOTED[0].loot * (ITEM.VALUE or itemvalue(ITEM.NAME)), TOTAL_LOOTED + 
    (ITEM_LOOTED[0].loot * (ITEM.VALUE or itemvalue(ITEM.NAME)))
        end
    end
    
    Y = Y + 20
    
    addcustomtext("Total: ", X, Y, HUD.COLORS.TEXT2)
    addcustomtext(formatnumber(TOTAL_LOOTED) .. " GPs", X + CONFIG.TEXT_DISTANCE, Y, HUD.COLORS.TITLE)
    
    Y = Y + 25
    
    addcustomtext("ITEMS USED:", X, Y, HUD.COLORS.SUBTITLE)
    
    Y = Y + 5
    
    for _, ITEM in ipairs(HUD.ITEMS.SUPPLY) do
        local ITEM_USED = getitems(itemid(ITEM.NAME))
        if ITEM_USED[ITEM_USED.count - 1].usage > 0 then
            Y = Y + CONFIG.LINE_DISTANCE
    
            addcustomtext((#ITEM.NAME < CONFIG.MAX_TEXT_LENGTH and ITEM.NAME or ITEM.NAME:sub(1,  CONFIG.MAX_TEXT_LENGTH) .. "..."):gsub("(%a)([%w_']*)", function(s1, s2) return s1:upper() .. s2:lower() end), X, Y, 
    HUD.COLORS.TEXT1)
            addcustomtext(string.format("%s (%sk)", formatnumber(ITEM_USED[0].usage), math.floor(ITEM_USED[0].usage * 
    (ITEM.VALUE or itemvalue(ITEM.NAME)) / 100) / 10), X + CONFIG.TEXT_DISTANCE, Y, HUD.COLORS.TEXT2)
            TOTAL, TOTAL_WASTED = TOTAL - ITEM_USED[0].usage * (ITEM.VALUE or itemvalue(ITEM.NAME)), TOTAL_WASTED + 
    (ITEM_USED[0].usage * (ITEM.VALUE or itemvalue(ITEM.NAME)))
        end
    end
    
    Y = Y + 20
    
    addcustomtext("Total: ", X, Y, HUD.COLORS.TEXT2)
    addcustomtext("-" .. formatnumber(TOTAL_WASTED) .. " GPs", X + CONFIG.TEXT_DISTANCE, Y, HUD.COLORS.TITLE)
    
    Y = Y + 25
    
    addcustomtext(TOTAL_LOOTED - TOTAL_WASTED >= 0 and "Profit:" or "Waste:", X, Y, TOTAL_LOOTED - TOTAL_WASTED >= 0 
    and HUD.COLORS.PROFIT or HUD.COLORS.WASTE)
    addcustomtext(string.format("%s GPs (%s k/h)", formatnumber(TOTAL_LOOTED - TOTAL_WASTED), math.floor(((TOTAL_LOOTED - 
    TOTAL_WASTED) / (tosec(timehunt) / 3600)) / 100) / 10), X + CONFIG.TEXT_DISTANCE, Y, TOTAL_LOOTED - TOTAL_WASTED 
    >= 0 and HUD.COLORS.PROFIT or HUD.COLORS.WASTE)

  5. #5
    Normal User
    Join Date
    May 2013
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    16
    Rep Power
    4
    Its all really explained in the [HUD] Awsome Display Pack configuration.

  6. #6
    Focus Group MoS's Avatar
    Join Date
    Feb 2012
    Posts
    832
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    63 Post(s)
    Reputation
    77
    Rep Power
    6
    omg, really? there are many huds in this forum, cant you just LOOK FOR? ffs

    u are too lazy dude, btw, check my threads, i have a general hud... if u like it, use it (no, i wont give u the link, u must learn how to look for)
    Ajudei você? ...............+REP
    -----------------------------------------
    Did I help you? ..........+REP

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •