Results 1 to 2 of 2

Thread: Need help with this HUD

  1. #1
    Moderator Furieri's Avatar
    Join Date
    Jun 2012
    Location
    Vitoria - ES / Brasil
    Posts
    792
    Mentioned
    62 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    199 Post(s)
    Reputation
    158
    Rep Power
    7

    Need help with this HUD

    I found this HUD in forum and i need to make some changes.



    i want to add Actions on this, like if my actions are on or OFF how i do it?

    Code:
    --~~{Settings}~~--
    --~~{Settings}~~--
    
    ---Position--
    local PositionX = 10                   --Where the Hud sits "left to right"
    local PositionY = 35                   --Where the hud sits "up and down"
    
    ---Color's--
    local TitleColor = "Orange"            --The title's for each sections color
    local OutlineColor = "Silver"          --The color that is around each headline
    local ItemColor = "gold"               --The color of each subsection eg "Exp/Hr, Sword Skill, Name ect"
    local InfoColor = "White"              --The color of the actual return of what each thing is eg "Exp/Hr Is 1000, Your Sword Skill is 78, Your Name Is (Im A Noob) ect"
    
    --Options To Show--
    local General = true                   --General info eg "Name, Position and Cursor ID"
    local BottingInfo = true               --Botting info eg "Everything with exp and what you have Enabled"
    local TimeLevelStyle = true                  --If true then time level based on bots exp if false time level based on tibia exp
    local Skills = true                    --Skills.... Self explanatory
    
    --~~{Settings}~~--
    --~~{Settings}~~--
    
    
    
    --Engine--
    --Do Not Edit!--
    --Engine--
    
    setsize(100,100)
    local a = 25
    local b = PositionY
    local c = 25+PositionY
    local d = 25+PositionY
    local e = 5+PositionY
    local f = PositionX
    local g = false
    local h = 0
    
    --General Info--
    if General then
    setfontcolor(TitleColor)
    addtext("General Info",f+70,e) e=e+80
    setfontcolor(OutlineColor)
    addtext("___________________",f+35,a) a=a+20
    addtext("___________________",f+35,a) a=a+60
    addtext("|",f+33,b)
    addtext("|",f+165,b) b=b+10
    addtext("|",f+165,b)
    addtext("|",f+33,b) b=b+70
    setfontcolor(ItemColor)
    addtext("PosX : ",f,c)
    addtext("Name : ",f+140,c) c=c+15
    addtext("PosY : ",f,c)
    addtext("Balance : ",f+140,c) c=c+15
    addtext("PosZ : ",f,c)
    addtext("Mouse Id : ",f+140,c) c=c+50
    setfontcolor(InfoColor)
    addtext(posx,f+35,d)
    addtext(name,f+180,d) d=d+15
    addtext(posy,f+35,d) 
    addtext(balance,f+192,d) d=d+15
    addtext(posz,f+35,d) 
    addtext(cursorinfo().id,f+200,d) d=d+50
    end
    --General Info--
    
    --Botting Status
    if BottingInfo then
    setfontcolor(TitleColor)
    addtext("Botting Status",f+65,e) e=e+125
    setfontcolor(OutlineColor)
    addtext("___________________",f+35,a) a=a+20
    addtext("___________________",f+35,a) a=a+105
    addtext("|",f+33,b)
    addtext("|",f+165,b) b=b+10
    addtext("|",f+165,b) 
    addtext("|",f+33,b) b=b+115
    setfontcolor(ItemColor)
    addtext("Level : ",f+140,c)
    addtext("Caveboting : ",f,c) c=c+15
    addtext("Tibia Exp/Hr : ",f+140,c)
    addtext("Targeting : ",f,c) c=c+15
    addtext("Bot Exp/Hr : ",f+140,c)
    addtext("Looting : ",f,c) c=c+15
    addtext("Time To level : ",f+140,c)
    addtext("Walk Through : ",f,c) c=c+15
    addtext("Exp Left : ",f+140,c)
    addtext("Stamina : ",f,c) c=c+15
    addtext("Exp Gained : ",f+140,c)
    addtext("Time Online : ",f,c) c=c+50
    if cavebot then setfontcolor("Green") addtext("On",f+73,d) else  setfontcolor("Red") addtext("Off",f+73,d) end
    setfontcolor(InfoColor)
    addtext(level,f+180,d) d=d+15
    if targeting then setfontcolor("Green") addtext("On",f+62,d) else  setfontcolor("Red") addtext("Off",f+62,d) end
    setfontcolor(InfoColor)
    if tibiaexphour > 10000 then addtext(math.ceil(tibiaexphour/1000).."k/Hr",f+217,d) d=d+15 else addtext(tibiaexphour,f+217,d) d=d+15 end 
    if looting then setfontcolor("Green") addtext("On",f+52,d) else  setfontcolor("Red") addtext("Off",f+52,d) end
    setfontcolor(InfoColor)
    if exphour > 10000 then addtext(math.ceil(exphour/1000).."k/Hr",f+209,d) d=d+15 else addtext(exphour,f+209,d) d=d+15 end
    if getsettings("Settings/CaveBot/Pathfinding/WalkThroughPlayers") == 'yes' then setfontcolor("Green") addtext("On",f+87,d) else  setfontcolor("Red") addtext("Off",f+87,d) end
    setfontcolor(InfoColor)
    if exphour > 0  then addtext(string.format("%.2d:%.2d:%.2d", exptolevel()/exphour, exptolevel()/exphour*60%60, exptolevel()/exphour*60*60%60),f+224,d) d=d+15  else addtext("Infinit",f+224,d) d=d+15 end 
    if stamina <= 14*60 then setfontcolor("Red") elseif stamina >= 40*60 then setfontcolor("Green") else setfontcolor("Orange") end
    addtext(string.format("%.2d:%.2d", stamina/60, stamina%60),f+55,d)
    setfontcolor(InfoColor)
    if exptolevel() > 10000 then addtext(math.ceil(exptolevel()/1000).."k",f+193,d) d=d+15 else addtext(exptolevel(),f+193,d) d=d+15 end
    addtext(string.format("%.2d:%.2d:%.2d", timems/1000/60/60, timems/1000/60%60, timems/1000%60),f+75,d)
    if expgained > 10000 then addtext(math.ceil(expgained/1000).."k",f+210,d) d=d+50 else addtext(expgained,f+210,d) d=d+50 end
    end
    --Botting Status--
    
    --Skills--
    if Skills then
    setfontcolor(TitleColor)
    addtext("Skills & Stats",f+68,e) e=e+95
    setfontcolor(OutlineColor)
    addtext("___________________",f+35,a) a=a+20
    addtext("___________________",f+35,a) a=a+75
    addtext("|",f+33,b)
    addtext("|",f+165,b) b=b+10
    addtext("|",f+165,b) 
    addtext("|",f+33,b) b=b+85
    setfontcolor(ItemColor)
    addtext("Sword : ",f,c)
    addtext("Distance : ",f+140,c) c=c+15
    addtext("Axe : ",f,c)
    addtext("Shielding : ",f+140,c) c=c+15
    addtext("Club : ",f,c)
    addtext("Fishing : ",f+140,c) c=c+15
    addtext("Fist : ",f,c)
    addtext("Magic : ",f+140,c) c=c+50
    setfontcolor(InfoColor)
    addtext(sword.."-"..swordpc.."%",f+43,d)
    addtext(distance.."-"..distancepc.."%",f+197,d) d=d+15
    addtext(axe.."-"..axepc.."%",f+30,d)
    addtext(shielding.."-"..shieldingpc.."%",f+199,d) d=d+15
    addtext(club.."-"..clubpc.."%",f+31,d)
    addtext(fishing.."-"..fishingpc.."%",f+187,d) d=d+15
    addtext(fist.."-"..fistpc.."%",f+28,d)
    addtext(mlevel.."-"..mlevelpc.."%",f+182,d) d=d+50
    end
    --Skills--
    Attached Thumbnails Attached Thumbnails nqe0Y9x.png  
    Last edited by Furieri; 05-18-2014 at 02:26 PM.

  2. #2
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    390 Post(s)
    Reputation
    366
    Rep Power
    10
    Is it like this you want?


Posting Permissions

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