Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31

Thread: Professional HUD by MoS

  1. #1
    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

    Professional HUD by MoS

    after some research, i foud everything i needed to complete my hud... which im using in all my scripts, and i would like to share with you guys =)

    some friends sent me some other huds, cause i needed a base for it, so... if it's from a scripter from the forum, Credits for him xD, but the whole hud... credits for me



    PHP Code:
    local function addbordertext(textcolorxposypos)
        
    setfontcolor(rgbcolor(111))
        
    addtext(textxpos+1ypos)
        
    addtext(textxpos-1ypos)
        
    addtext(textxposypos+1)
        
    addtext(textxposypos-1)
        
    setfontcolor(color)
        
    addtext(textxposypos)
    end

    function addcommas(amount)
      
    local formated amount
      
    while true do  
        
    formatedstring.gsub(formated"^(-?%d+)(%d%d%d)"'%1.%2')
        if (
    k==0then
          
    break
        
    end
      end
      
    return formated
    end

    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

    local walkthroughplayers 
    getsettings("Settings/CaveBot/Pathfinding/WalkThroughPlayers")


    local yellow rgbcolor(2302554)
    local firstcolor rgbcolor(127176219)
    local white rgbcolor(255255255)
    local title rgbcolor(207,181,43)
    local green rgbcolor(4215659)
    local red rgbcolor(2162023)
    local orange rgbcolor(2551804)

    setposition(clientwin.left+10worldwin.top+22)



    addbordertext('CULTS - YALAHAR'title5,20)




    addbordertext("CHARACTER INFO"orange550)

    addbordertext('Current Level'firstcolor575)
    addbordertext('Total Experience'firstcolor591)
    addbordertext('Health Points'firstcolor5107)
    addbordertext('Mana Points'firstcolor5123)
    addbordertext('Stamina'firstcolor5139)
    addbordertext('Bank Balance'firstcolor5155)
    addbordertext('Cursor ID'firstcolor5171)

    addbordertext(': ' ..levelwhite14075)
    addbordertext(': ' ..addcommas(exp), white14091)
    addbordertext(': ' .. hpwhite140107addbordertext('/ ' .. maxhpwhite180107)
    addbordertext(': ' .. mpwhite140123addbordertext('/ ' .. maxmpwhite180123)

    if 
    stamina >= 2400 then
          addbordertext
    (': ' ..formatstaminaintotime(stamina), green140139)
    elseif 
    stamina 2400 and stamina >= 840 then
          addbordertext
    (': ' ..formatstaminaintotime(stamina), orange140139)
    elseif 
    stamina <= 840 then
          addbordertext
    (': ' ..formatstaminaintotime(stamina), red140139)
    end

    addbordertext
    (': ' ..addcommas(balance), white140155)
    addbordertext(': ' ..(cursorinfo().id), white140171)




    addbordertext("BOTTING INFO"orange5196)

    addbordertext('Exp/Hour (BOT)'firstcolor5221)
    addbordertext('Exp/Hour (TIBIA)'firstcolor5237)
    addbordertext('Experience Left'firstcolor5253)
    addbordertext('Experience Today'firstcolor5269)
    addbordertext('Time to Next Level'firstcolor5285)
    addbordertext('Played Time'firstcolor5301)

    addbordertext(': ' ..addcommas(exphour), white140221)
    addbordertext(': ' ..addcommas(tibiaexphour), white140237)
    addbordertext(': ' ..addcommas(exptolevel()), white140253)
    addbordertext(': ' ..addcommas(expgained), white140269)
    addbordertext(': ' ..timetolevelwhite140285)
    addbordertext(': ' ..timehuntwhite140301)




    addbordertext("ENGINES"orange5326)


    addbordertext('Cavebot'firstcolor5351)
    addbordertext('Targeting'firstcolor5367)
    addbordertext('Looting'firstcolor5383)
    addbordertext('Walk Through Players'firstcolor5399)

    if 
    cavebot then
        addbordertext
    (': ' ..'ON'green140351)
    else
        
    addbordertext(': ' ..'OFF'red140351)
    end

    if targeting then
        addbordertext
    (': ' ..'ON'green140367)
    else
        
    addbordertext(': ' ..'OFF'red140367)
    end

    if looting then
        addbordertext
    (': ' ..'ON'green140383)
    else
        
    addbordertext(': ' ..'OFF'red140383)
    end

    if walkthroughplayers == 'yes' then
        addbordertext
    (': ' ..'ON'green140399)
    elseif 
    walkthroughplayers == 'no' then
        addbordertext
    (': ' ..'OFF'red140399)
    end




    addbordertext
    ("POTIONS"orange5424)

    addbordertext('Mana Potion'firstcolor5449)
    addbordertext('Ultimate Health Potion'firstcolor5465)

    addbordertext(': ' ..itemcount("mana potion"), white140449)
    addbordertext(': ' ..itemcount("ultimate health potion"), white140465)




    addbordertext("SKILLS"orange5490)

    addbordertext('Axe'firstcolor5515)
    addbordertext('Shielding'firstcolor5531)
    addbordertext('Magic Level'firstcolor5547)

    addbordertext(': ' ..axewhite140515)
    addbordertext(': ' ..shieldingwhite140531)
    addbordertext(': ' ..mlevelwhite140547)

    addbordertext('% ' ..axepcwhite180515)
    addbordertext('% ' ..shieldingpcwhite180531)
    addbordertext('% ' ..mlevelpcwhite180547
    for skills, potions and stuff, just change based on your vocation/suplies

    rep+ if you guys enjoyed

    edit: forgot to say, SIRMATE library needed
    Last edited by MoS; 02-16-2013 at 02:10 PM.
    Ajudei você? ...............+REP
    -----------------------------------------
    Did I help you? ..........+REP

  2. #2
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    815
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    345 Post(s)
    Reputation
    462
    Rep Power
    10
    Nice, thanks for sharing.


    ------------------------------------Latest Releases:------------------------------------
    Vocations:
    Darashia Lions Rock
    Oramond Seacrest Serpents X1

    For a better iBot!

    (◣_◢)

  3. #3
    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
    @blakw
    np

    @all
    no coments...? wont anyone use it? lol
    Ajudei você? ...............+REP
    -----------------------------------------
    Did I help you? ..........+REP

  4. #4
    Normal User tryller's Avatar
    Join Date
    Oct 2012
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    Really good HUD thanks. I'll use on my scripts.

  5. #5
    Normal User RafiXWPT's Avatar
    Join Date
    Jun 2012
    Location
    (Poland) http://rafixwptscripts.com
    Posts
    1,602
    Mentioned
    31 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    128 Post(s)
    Reputation
    128
    Rep Power
    9
    ill use it, thanks im to lazy to write my own general info hud

  6. #6
    Premium User seabraz's Avatar
    Join Date
    Jan 2013
    Location
    CWB
    Posts
    63
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    21
    Rep Power
    4
    really good hud! Ty!

  7. #7
    Premium User
    Join Date
    Mar 2012
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    nice hud bro! thx

  8. #8
    iBot User
    Join Date
    Jul 2012
    Posts
    246
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    7
    Rep Power
    0
    niice! il use this one! awesome!

  9. #9
    Normal User
    Join Date
    Jan 2013
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    4
    Great hud, gonna start replace the old bad ones with this on my scripts thx

  10. #10
    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
    Nice and clean hud. Thanks for sharing

Tags for this Thread

Posting Permissions

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