Results 1 to 2 of 2

Thread: loot counter

  1. #1
    Normal User Pukielos's Avatar
    Join Date
    Jun 2012
    Location
    Poland
    Posts
    506
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    57
    Rep Power
    6

    loot counter

    I checked 3 times and bot shows bad values ​​loot, you see a mistake? or has someone good counter for vengoth?



    PHP Code:
    -- [ General Info HUD by ToadZ v0.4 ] --                               

    -- [ 
    Settings ] --
    local RaphaelLibrary false

    -- [ Botting Status by PV! ] --
    local showBotting true

    -- [ Position ] --
    local showPosition false

    -- [ Kills to Level UP ] --
    local showKillToUp false
    local monsterswillkill 
    = {"Lizard Chosen""Lizard High Guard"}
    local monstersexp = {22001450}

    -- [ 
    Supplies Counter ] --
    local showSupplies false
    local item1 
    = {name "Strong Mana Potion"buy 1200min 100}
    local item2 = {name "Crystalline Arrow"buy 1400min 100}
    local item3 = {name "Assassin Star"buy 50min 0}
    local items = {item1item2item3}

    -- [ 
    Supplies Wasted ] --
    local showSuppliesWasted true
    local suppliesitems 
    = {'mana potion''great health potion''ultimate health potion'}
    local suppsvalue = {50190310}

    -- [ 
    Items looted ] --
    local showLoots true
    local lootitems 
    = {"Gold Coin""boots of haste""Shadow Sceptre""Crystal of Focus""Focus Cape""Crown Helmet""Diamond Sceptre""Essence of a Bad Dream""Scythe Leg""Death Ring""platinum coin""Mysterious Voodoo Skull""Black Pearl""Mutated Bat Ear""Small Amethyst""Dark Rosary""Cultish Robe""Black Hood""Petrified Scream""Hair of a Banshee""Life Crystal""Hardened Bone""Bony Tail""Vampire Teeth""Blood Preservation""Sweet Smelling Bait""red robe""Ice rapier""spike sword""Leather Whip""strong health potion""strong mana potion""blood goblet""Batwing Hat""Crystal of Balance""Mercenary Sword""Emerald Bangle""Terra Mantle""Relic Sword""Epee""Platinum Amulet""Chaos Mace""Hibiscus Dress""velvet tapestry""small diamond""Bonebeast Trophy""blue robe""vampire shield""Bonebreaker""Hailstorm Rod""Haunted Blade""Strange Helmet""Black Shield""Dreaded Cleaver""Werewolf Fur""talon"}
    local lootsvalue = {13000010000200060002500300036045010001004000200420250481501802593507007021027532015000015000100010002500075701000080002000120008001100025000800025009000300080025060001000016000100003000800050080015000380250}

    local myname true -- DO NOT DISABLEmake your char stop healing :P

    -- [ ENGINE ] --
    -- do 
    not change it below

    local fontsize 
    10
    local fontspacing 
    fontsize+2

    local cont 
    0
    local x 
    5
    local y 
    0
    local z 
    0
    local totals 
    0
    local totall 
    0
    local total 
    0
    local sub 
    17
    local 
    function captalizeAll(firstrest)
      return 
    first:upper()..rest:lower()
    end

    if clientwin.~= nil or clientwin.~= nil then
       setposition
    (clientwin.x+13clientwin.y+30)
    else
       
    setposition(520)
    end

    setfontstyle
    ("Tahoma"fontsize"white")
    -- [[ 
    Botting ]]
    if 
    showBotting then
       setfontcolor
    ("white")
       
    addtext('-----------------------------------------'0y)
       
    setfontcolor("yellow")
       
    10
       addtext
    ('             [ Botting ]'15y)
       
    10
       setfontcolor
    ("white")
       
    addtext('-----------------------------------------'0y)
       
    10
       addtext
    ('Exp Per Hour'xy)
       
    addtext('- ' .. exphour120y)
       
    15
       addtext
    ('Exp Left'xy)
       
    addtext('- ' .. exptolevel(), 120y)
       
    15
       addtext
    ('Exp Gained'xy)
       
    addtext('- ' .. expgained120y)
       
    15
       addtext
    ('Time To Next Level'xy)
       
    addtext('- ' .. timetolevel120y)
       
    15
       addtext
    ('Stamina'xy)
       
    addtext('- '120y)
       if 
    stamina >= 2400 then
          setfontcolor
    ("green")
       else if 
    stamina 2400 and (stamina 840then
             setfontcolor
    ("orange")
          else if 
    stamina <= 840 then
             setfontcolor
    ("red")
             
    end
          end
       end
       
    if RaphaelLibrary then
          addtext
    (time(stamina), 130y)
       else
          
    addtext(stamina130y)
       
    end
       y 
    15
       setfontcolor
    ("white")
       
    addtext('Time Played'xy)
       
    addtext('- ' .. timehunt120y)
       
    15
       addtext
    ('Cavebot'xy)
       
    addtext('- '120y)
       if 
    cavebot then
          setfontcolor
    ("green")
          
    addtext('ON'130y)
       else
          
    setfontcolor("red")
          
    addtext('OFF'130y)
       
    end
       y 
    15
       setfontcolor
    ("white")
       
    addtext('- '120y)
       
    addtext('Targeting'xy)
       if 
    targeting then
          setfontcolor
    ("green")
          
    addtext('ON'130y)
       else
          
    setfontcolor("red")
          
    addtext('OFF'130y)
       
    end
       y 
    15
       setfontcolor
    ("white")
       
    addtext('Looting'xy)
       
    addtext('- '120y)
       if 
    looting then
          setfontcolor
    ("green")
          
    addtext('ON'130y)
       else
          
    setfontcolor("red")
          
    addtext('OFF'130y)
       
    end
       y 
    15
       setfontcolor
    ("white")
       
    addtext('Walk Through'xy)
       
    addtext('- '120y)
       if 
    getsettings("Settings/CaveBot/Pathfinding/WalkThroughPlayers") == 'yes' then
          setfontcolor
    ("green")
          
    addtext('ON'130y)
       elseif 
    getsettings("Settings/CaveBot/Pathfinding/WalkThroughPlayers") == 'no' then
          setfontcolor
    ("red")
          
    addtext('OFF'130y)
       else
          
    setfontcolor("yellow")
          
    addtext('???'130y)
       
    end
       y 
    15
       setfontcolor
    ("white")
       
    addtext('Balance'xy)
       
    addtext('- '120y)
       if 
    balance == -1 then
          addtext
    ('?'130y)
       else
          
    addtext(balance130y)
       
    end
       y 
    10
    end

    -- [[ Position ]]

    if 
    showPosition then
       setfontcolor
    ("white")
       
    addtext('-----------------------------------------'0y)
       
    setfontcolor("yellow")
       
    10
       addtext
    ('            [ Position ]'15y)
       
    10
       setfontcolor
    ("white")
       
    addtext('-----------------------------------------'0y)
       
    10
       addtext
    ("Position X "xy)
       
    addtext("- "..posx120y)
       
    15
       addtext
    ("Position Y "xy)
       
    addtext("- "..posy120y)
       
    15
       addtext
    ("Position Z "xy)
       
    addtext("- "..posz120y)
       
    15
       addtext
    ("Cursor ID"xy)
       
    addtext('- '..cursorinfo().id120y)
       
    10
    end

    -- [[ Kills to Level UP ]]

    if 
    showKillToUp then
       setfontcolor
    ("white")
       
    addtext('-----------------------------------------'0y)
       
    setfontcolor("yellow")
       
    10
       addtext
    ('       [ Kills to Level UP ]'15y)
       
    10
       setfontcolor
    ("white")
       
    addtext('-----------------------------------------'0y)
       
    10
       
    for ij in pairs(monsterswillkill) do
          
    addtext(jxy)
          
    addtext(math.floor(exptolevel()/monstersexp[i]), 130y)
          
    15
       end
    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

    if showSuppliesWasted then setfontcolor("white"addtext('-----------------------------------------'0y10 setfontcolor("yellow"addtext('       [ Supplies wasted ]'15y10 setfontcolor("white"addtext('-----------------------------------------'0y10 local supps getitems(unpack(suppliesitems)) local qtds supps.count-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].namexyend addtext("- "..supps[i].usage.." ("..(math.floor(supps[i].usage*suppsvalue[i+1] / 100)/10).."k)"120ytotals totals supps[i].usage*suppsvalue[i+115 end y 10 addtext("Total"xyaddtext("-"120yaddtext(totals.." GPs"130y10 end if showLoots then setfontcolor("white"addtext('-----------------------------------------'0ysetfontcolor("yellow"10 addtext('         [ Items looted ]'15y10 setfontcolor("white"addtext('-----------------------------------------'0y10 local loots getitems(unpack(lootitems)) local qtdl loots.count-for i=0,qtdl do if loots[i].loot 0 then lootname loots[i].name:gsub("(%a)([%w_']*)"captalizeAll) if string.len(loots[i].name) > 17 then addtext(string.sub(lootname1sub)..".."xy) else addtext(lootnamexyend addtext("- "..loots[i].loot.." ("..(math.floor(loots[i].loot*lootsvalue[i+1] / 100)/10).."k)"120ytotall totall loots[i].loot*lootsvalue[i+115 end end y 10 addtext("Total"xyaddtext("-"120yaddtext(totall.." GPs"130y10 end if showSuppliesWasted and showLoots then setfontcolor("white"addtext('-----------------------------------------'0y10 total totall totals if totall-totals 0 then setfontcolor("green"addtext("PROFIT:"xy) else setfontcolor("red"addtext("WASTE:"xyend setfontcolor("white"addtext(total.." GPs ("..(math.floor((total/(tosec(timehunt)/3600))/100)/10).."k/h)"50y10 end

    setfontcolor
    ("white")
    addtext('-----------------------------------------'0y)
    if 
    myname then
       setfontcolor
    ("yellow")
       
    10
       addtext
    ('          [ HUD by ToadZ ]'5y)
       
    10
       setfontcolor
    ("white")
       
    addtext('-----------------------------------------'0y)
    end 

  2. #2
    Normal User
    Join Date
    Mar 2012
    Posts
    275
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    8
    Rep Power
    0
    Have the same problem for banuta/goroma

Posting Permissions

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