Results 1 to 9 of 9

Thread: Light HUD - Perfect

  1. #1
    Premium User Drama's Avatar
    Join Date
    Feb 2012
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Light HUD - Perfect






    PHP Code:
    local fontfamily "Comic Sans Ms"
    local fontsize 8
    local headfontsize 
    9
    local fontcolor 
    0x000000
    local headfontcolor 
    0x000000
    local startposx 
    10
    local startposy 
    20

    function formatstaminaintotime(staminaAmount)
        if 
    staminaAmount == 0 then
            
    return "00:00"
        
    else
            
    local nHours string.format("%02.f"math.floor(staminaAmount/60))
            
    local nMins string.format("%02.f"math.floor(staminaAmount - (nHours*60)))
            return 
    nHours..":"..nMins
        end
    end

    setfontstyle
    (fontfamilyheadfontsizeheadfontcolor)
    setfontcolor("Gold")
    addtext("Character Information"startposxstartposy+10)
    setfontcolor("DeepSkyBlue")
    addtext("______________________________"startposxstartposy+20)

    setfontstyle(fontfamilyfontsizefontcolor)
    setfontcolor("antiquewhite")
    addtext("Level: "startposx+10startposy+60)
    setfontcolor("white")
    addtext(levelstartposx+45startposy+60)

    setfontcolor("antiquewhite")
    addtext("Name: "startposx+10startposy+45)
    setfontcolor("white")
    addtext(namestartposx+45startposy+45)

    setfontcolor("antiquewhite")
    addtext("EXP gained: "startposx+10startposy+75)
    setfontcolor("white")
    addtext(num(expgained) .. " K"startposx+75startposy+75)

    setfontcolor("antiquewhite")
    addtext("EXP/h: "startposx+10startposy+90)
    setfontcolor("white")
    addtext(num(exphour) .. " K"startposx+50startposy+90)

    setfontcolor("antiquewhite")
    addtext("Time to Level: "startposx+10startposy+105)
    setfontcolor("white")
    addtext(timetolevel .. " Hour"startposx+85startposy+105)

    setfontcolor("antiquewhite")
    addtext("Exp Left:"startposx+10startposy+120
    setfontcolor("white"
    addtext(num(exptolevel()) .. " K"startposx+60startposy+120)

    setfontcolor("antiquewhite")
    addtext("Played Time: "startposx+10startposy+135)
    setfontcolor("white")
    addtext(timehunt .. " Hour"startposx+80startposy+135)

    setfontcolor("antiquewhite")
    addtext("Balance: "startposx+10startposy+150)
    setfontcolor("gold")
    addtext(num(balance) .. " K"startposx+60startposy+150)

    setfontcolor("antiquewhite")
    addtext("Stamina: "startposx+10startposy+165)

    setfontstyle(fontfamilyheadfontsizeheadfontcolor)
    setfontcolor("Gold")
    addtext("Botting Information"startposxstartposy+190)
    setfontstyle(fontfamilyheadfontsizeheadfontcolor)
    setfontcolor("DeepSkyBlue")
    addtext("______________________________"startposxstartposy+200)

    setfontstyle(fontfamilyheadfontsizeheadfontcolor)
    setfontcolor("AntiqueWhite")
    addtext("Cavebot"startposx+10startposy+220)
    addtext("- "startposx+60startposy+220)
    if 
    cavebot then setfontcolor("Green")
    addtext('ON'startposx+70startposy+220)
    else
    setfontcolor("Red")
    addtext('OFF'startposx+70startposy+220)
    end

    setfontstyle
    (fontfamilyheadfontsizeheadfontcolor)
    setfontcolor("AntiqueWhite")
    addtext("Targeting"startposx+9startposy+235)
    addtext("- "startposx+70startposy+235)
    if 
    targeting then setfontcolor("Green")
    addtext('ON'startposx+80startposy+235)
    else
    setfontcolor("Red")
    addtext('OFF'startposx+80startposy+235)
    end

    setfontstyle
    (fontfamilyheadfontsizeheadfontcolor)
    setfontcolor("AntiqueWhite")
    addtext("Looting"startposx+10startposy+250)
    addtext("- "startposx+55startposy+250)
    if 
    looting then setfontcolor("Green")
    addtext('ON'startposx+65startposy+250)
    else
    setfontcolor("Red")
    addtext('OFF'startposx+65startposy+250)
    end

    if stamina >= 2400 then setfontcolor("Green")     
          
    addtext('' ..formatstaminaintotime(stamina), startposx+60startposy+165)
    elseif 
    stamina 2400 and stamina >= 840 then setfontcolor("Gold")
          
    addtext('' ..formatstaminaintotime(stamina), startposx+60startposy+165)
    elseif 
    stamina <= 840 then setfontcolor("Red")
          
    addtext('' ..formatstaminaintotime(stamina), startposx+60startposy+165)
    end 
    Last edited by Drama; 01-19-2013 at 12:49 PM.

  2. #2
    Normal User
    Join Date
    Dec 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Looks great but I'm new to this bot and is there anyway you could explain to me how to input this? I can't seem to find any forums that explain how to use HUD.

  3. #3
    Premium User Drama's Avatar
    Join Date
    Feb 2012
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    let's go ;]

    1║ Copy the code
    2║ Open your iBot Start>Settings>Settings>Hud>List
    3║ Click with right buttom of your mouse in Opitions>New
    4║ When open new box open the box and paste the cody inside
    5║ Set enabled on you Hud

  4. #4
    Normal User dgkdgk's Avatar
    Join Date
    Jun 2012
    Location
    Norway
    Posts
    171
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    18
    Rep Power
    5
    love it but when targeting is off then it says that it is ON

    edit:
    line 83: just had to change target to targeting.
    +rep for you
    Last edited by dgkdgk; 12-29-2012 at 09:10 PM.

  5. #5
    Normal User
    Join Date
    Dec 2012
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    this is a nice HuD mate

  6. #6
    iBot User
    Join Date
    Aug 2012
    Location
    Chile
    Posts
    197
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    50
    Rep Power
    5
    Nice One ! Simple! Thanks for sharing

  7. #7
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Comic Sans Ms makes me wet.


    Similar hud to mine, but prettier

    I like to have pos xyz an mouse ID in mine, since I use it a lot for scripting purposes.
    Last edited by pink_panther; 01-10-2013 at 12:15 AM.

  8. #8
    Normal User
    Join Date
    Jun 2012
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    thanks alot!

  9. #9
    Premium User Drama's Avatar
    Join Date
    Feb 2012
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by pink_panther View Post
    Comic Sans Ms makes me wet.


    Similar hud to mine, but prettier

    I like to have pos xyz an mouse ID in mine, since I use it a lot for scripting purposes.
    Yes my HUD and its similar but only with the information to whoever uses hunting

Posting Permissions

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