Results 1 to 4 of 4

Thread: Need hud for brimstone

  1. #1
    Focus Group sunlips's Avatar
    Join Date
    Feb 2013
    Location
    WWA
    Posts
    644
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    47 Post(s)
    Reputation
    60
    Rep Power
    5

    Need hud for brimstone

    brimstone bugs mmh and tuadz~

  2. #2
    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
    is it that hard to look for? there's a search option

    http://www.tibiaibot.com/forum/showt...onitor+hunting
    Ajudei você? ...............+REP
    -----------------------------------------
    Did I help you? ..........+REP

  3. #3
    Focus Group sunlips's Avatar
    Join Date
    Feb 2013
    Location
    WWA
    Posts
    644
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    47 Post(s)
    Reputation
    60
    Rep Power
    5
    and toadz

  4. #4
    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
    Quote Originally Posted by sunlips View Post
    and toadz
    omg... at least gimme a rep+ haha

    i found the complete hud.. so i edited just for the supplies, here it is ;x

    change it as u want on supplies

    PHP Code:
    -- [[ Supplies Wasted ]]
    local showSuppliesWasted true
    local suppliesitems 
    = {'mana potion','ultimate health potion'}
    local suppsvalue = {80,310}
     
    -- [[ 
    Items looted ]]
    local showLoots true
    local lootitems 
    = {"Gold coin""Platinum coin""Small Emerald""Poisonous Slime""Lump of Earth""Strong Mana Potion""Strong Health Potion""Stealth Ring""Sulphurous Stone""Platinum Amulet""Brimstone Shell""Magic Sulphur""Lancer Beetle Shell""Lump of Dirt""Beetle Necklace""Brimstone Fangs""Small Amethyst""Mana Potion""Widow's Mandibles""Wailing Widow's Necklace"}
    local lootsvalue = {11002505013050403001002500210800080101500380200501103000}
     
    local fontsize 10
    local fontspacing 
    fontsize+2
     
    -- [[ ENGINE ]] -- do not change it below
     
    local cont 
    0
    local x 
    5
    local y 
    0
    local z 
    0
    local totals 
    0
    local totall 
    0
    local total 
    0
    local sub 
    17
     
    if clientwin.~= nil or clientwin.~= nil then
       setposition
    (clientwin.x+13clientwin.y+30)
    else
       
    setposition(520)
    end
     
    -- [[ Supplies ]]
     
    if 
    showSupplies then
       setfontcolor
    ("white")
       
    addtext('-----------------------------------------'0y)
       
    setfontcolor("yellow")
       
    10
       addtext
    ('            [ Supplies ]'15y)
       
    10
       setfontcolor
    ("white")
       
    addtext('-----------------------------------------'0y)
       
    10
       
    for ij in pairs(items) do
          if 
    itemid(items[i].name) == ammo then
             cont 
    itemcount(items[i].name) + ammoamount
              
    elseif itemid(items[i].name) == weapon then
             cont 
    itemcount(items[i].name) + weaponamount
          
    else
             
    cont itemcount(items[i].name)
          
    end
          addtext
    (items[i].namexy)
          
    addtext('-'120y)
          if 
    cont <= items[i].min then
                     setfontcolor
    ("red")
          elseif 
    cont <= (items[i].buy/2then
             setfontcolor
    ("yellow")
          elseif 
    cont items[i].buy then
             setfontcolor
    ("white")
          else
             
    setfontcolor("green")
          
    end
          
    if itemid(items[i].name) == ammo then
             addtext
    (cont130y)
          elseif 
    itemid(items[i].name) == weapon then
             addtext
    (cont130y)
          else
             
    addtext(cont130y)
          
    end
          setfontcolor
    ("white")
          
    15
       end
       y 
    5
    end
     
    -- [[ Supplies Wasted ]]
     
    if 
    showSuppliesWasted then
       setfontcolor
    ("white")
       
    addtext('-----------------------------------------'0y)
       
    10
       setfontcolor
    ("yellow")
       
    addtext('       [ Supplies wasted ]'15y)
       
    10
       setfontcolor
    ("white")
       
    addtext('-----------------------------------------'0y)
       
    10
       local supps 
    getitems(unpack(suppliesitems))
       
    local qtds supps.count-1
       
    for i=0,qtds do
          if 
    string.len(supps[i].name) > 17 then
             addtext
    (string.sub((supps[i].name), 1sub).."..."xy)
          else
             
    addtext(supps[i].namexy)
          
    end
          addtext
    ("- "..supps[i].usage.." ("..(math.floor(supps[i].usage*suppsvalue[i+1] / 100)/10).."k)"120y)
          
    totals totals supps[i].usage*suppsvalue[i+1]
          
    15
       end
       addtext
    ("Total"xy)
       
    addtext("-"120y)
       
    addtext(totals.." GPs"130y)
       
    10
    end
     
    -- [[ Loots ]]
     
    if 
    showLoots then
       setfontcolor
    ("white")
       
    addtext('-----------------------------------------'0y)
       
    setfontcolor("yellow")
       
    10
       addtext
    ('         [ Items looted ]'15y)
       
    10
       setfontcolor
    ("white")
       
    addtext('-----------------------------------------'0y)
       
    10
       local loots 
    getitems(unpack(lootitems))
       
    local qtdl loots.count-1
       
    for i=0,qtdl do
          if 
    loots[i].loot 0 then
             
    if string.len(loots[i].name) > 17 then
                addtext
    (string.sub(loots[i].name1sub)..".."xy)
             else
                
    addtext(loots[i].namexy)
             
    end
             addtext
    ("- "..loots[i].loot.." ("..(math.floor(loots[i].loot*lootsvalue[i+1] / 100)/10).."k)"120y)
             
    totall totall loots[i].loot*lootsvalue[i+1]
             
    15
          end
       end
       addtext
    ("Total"xy)
       
    addtext("-"120y)
       
    addtext(totall.." GPs"130y)
       
    10
    end
     
    if showSuppliesWasted and showLoots then
       setfontcolor
    ("white")
       
    addtext('-----------------------------------------'0y)
       
    10
       total 
    totall totals
       
    if totall-totals 0 then
          setfontcolor
    ("green")
          
    addtext("PROFIT:"xy)
       else
          
    setfontcolor("red")
          
    addtext("WASTE:"xy)
       
    end
       setfontcolor
    ("white")
       
    addtext(total.." GPs ("..(math.floor((total/(tosec(timehunt)/3600))/100)/10).."k/h)"50y)
       
    10
    end
     
    setfontcolor
    ("white")
    addtext('-----------------------------------------'0y)
    if 
    myname then
       setfontcolor
    ("yellow")
       
    10
       addtext
    ('          [ HUD by RevoltZ ]'5y)
       
    10
       setfontcolor
    ("white")
       
    addtext('-----------------------------------------'0y)
    end 
    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
  •