SHOW:
|
|
- or go back to the newest paste.
| 1 | -- Here you can change general settings: | |
| 2 | -- Basic General Info HUD by Eli | |
| 3 | -- Credits for sirmate | |
| 4 | ||
| 5 | ||
| 6 | ||
| 7 | ||
| 8 | -- General Settings: | |
| 9 | ||
| 10 | local SCRIPT_NAME = "[EK] Cyclops Mistrock v1.0.0" | |
| 11 | local SCRIPT_CREATOR = "Eli Scripts" | |
| 12 | local OFFICAL_HOMEPAGE = "www.tibiaibot.com" | |
| 13 | ||
| 14 | ||
| 15 | -- Contact Informations: | |
| 16 | ||
| 17 | local FIRST_CONTACT_METHOD = "MSN:" | |
| 18 | local FIRST_CONTACT_METHOD_ADRESS = "[email protected]" | |
| 19 | ||
| 20 | ||
| 21 | local SECOND_CONTACT_METHOD = "E-Mail:" | |
| 22 | local SECOND_CONTACT_METHOD_ADRESS = "[email protected]" | |
| 23 | ||
| 24 | local THIRD_CONTACT_METHOD = "Gadu-Gadu:" | |
| 25 | local THIRD_CONTACT_METHOD_ADRESS = "02342354" | |
| 26 | ||
| 27 | ||
| 28 | ||
| 29 | ||
| 30 | ||
| 31 | ||
| 32 | ||
| 33 | ||
| 34 | -- Don't change anything below! | |
| 35 | ||
| 36 | ||
| 37 | local function addtextshadow(text, color, xpos, ypos) | |
| 38 | setfontcolor(rgbcolor(1, 1, 1)) | |
| 39 | addtext(text, xpos+1, ypos) | |
| 40 | addtext(text, xpos-1, ypos) | |
| 41 | addtext(text, xpos, ypos+1) | |
| 42 | addtext(text, xpos, ypos-1) | |
| 43 | setfontcolor(color) | |
| 44 | addtext(text, xpos, ypos) | |
| 45 | end | |
| 46 | ||
| 47 | function formatstaminaintotime(staminaAmount) | |
| 48 | if staminaAmount == 0 then | |
| 49 | return "00:00" | |
| 50 | else | |
| 51 | local nHours = string.format("%02.f", math.floor(staminaAmount/60))
| |
| 52 | local nMins = string.format("%02.f", math.floor(staminaAmount - (nHours*60)))
| |
| 53 | return nHours..":"..nMins | |
| 54 | end | |
| 55 | end | |
| 56 | ||
| 57 | addtextshadow("GENERAL INFORMATION HUD v1.1", rgbcolor(255, 180, 4), 10, 30)
| |
| 58 | addtextshadow('Script Creator:',rgbcolor(205, 200, 177), 20, 90)
| |
| 59 | addtextshadow(SCRIPT_CREATOR,rgbcolor(255, 255, 255), 105, 90) | |
| 60 | addtextshadow('Script Name:',rgbcolor(205, 200, 177), 20, 50)
| |
| 61 | addtextshadow(SCRIPT_NAME,rgbcolor(107, 142, 35), 20, 65) | |
| 62 | addtextshadow('Offical Homepage:',rgbcolor(205, 200, 177), 20, 105)
| |
| 63 | addtextshadow(OFFICAL_HOMEPAGE,rgbcolor(255, 255, 255), 125, 105) | |
| 64 | ||
| 65 | ||
| 66 | ||
| 67 | - | addtextshadow("CONTACAT INFORMATION:", rgbcolor(255, 180, 4), 10, 135)
|
| 67 | + | addtextshadow("CONTACT INFORMATION:", rgbcolor(255, 180, 4), 10, 135)
|
| 68 | ||
| 69 | ||
| 70 | ||
| 71 | addtextshadow(FIRST_CONTACT_METHOD,rgbcolor(205, 200, 177), 20, 155) | |
| 72 | addtextshadow(FIRST_CONTACT_METHOD_ADRESS,rgbcolor(107, 142, 35), 55, 155) | |
| 73 | ||
| 74 | addtextshadow(SECOND_CONTACT_METHOD,rgbcolor(205, 200, 177), 20, 170) | |
| 75 | addtextshadow(SECOND_CONTACT_METHOD_ADRESS,rgbcolor(107, 142, 35), 62, 170) | |
| 76 | ||
| 77 | addtextshadow(THIRD_CONTACT_METHOD,rgbcolor(205, 200, 177), 20, 185) | |
| 78 | addtextshadow(THIRD_CONTACT_METHOD_ADRESS,rgbcolor(107, 142, 35), 90, 185) | |
| 79 | ||
| 80 | ||
| 81 | addtextshadow("HUNTING INFROMATION:", rgbcolor(255, 180, 4), 10, 210)
| |
| 82 | ||
| 83 | addtextshadow('Experience Per Hour:',rgbcolor(205, 200, 177), 20, 230)
| |
| 84 | addtextshadow(tibiaexphour/1000, rgbcolor(255, 255, 255), 140, 230) | |
| 85 | ||
| 86 | addtextshadow('Experience Left:',rgbcolor(205, 200, 177), 20, 245)
| |
| 87 | addtextshadow('' .. exptolevel()/1000, rgbcolor(255, 255, 255), 115, 245)
| |
| 88 | ||
| 89 | addtextshadow('Experience Gained:',rgbcolor(205, 200, 177), 20, 260)
| |
| 90 | addtextshadow('' .. expgained/1000, rgbcolor(255, 255, 255), 130, 260)
| |
| 91 | ||
| 92 | ||
| 93 | addtextshadow('Time To Level:',rgbcolor(205, 200, 177), 20, 275)
| |
| 94 | addtextshadow('' .. timetolevel, rgbcolor(255, 255, 255), 105, 275)
| |
| 95 | ||
| 96 | ||
| 97 | addtextshadow('Stamina:',rgbcolor(205, 200, 177), 20, 290)
| |
| 98 | ||
| 99 | ||
| 100 | if stamina >= 2400 then | |
| 101 | addtextshadow('' ..formatstaminaintotime(stamina), rgbcolor(107, 142, 35), 75, 290)
| |
| 102 | elseif stamina < 2400 and stamina >= 840 then | |
| 103 | addtextshadow('' ..formatstaminaintotime(stamina), rgbcolor(255, 180, 4), 75, 290)
| |
| 104 | elseif stamina <= 840 then | |
| 105 | addtextshadow('' ..formatstaminaintotime(stamina), rgbcolor(178, 34, 34), 75, 290)
| |
| 106 | end | |
| 107 | ||
| 108 | ||
| 109 | addtextshadow('Time Played:',rgbcolor(205, 200, 177), 20, 305)
| |
| 110 | addtextshadow('' .. timehunt, rgbcolor(255, 255, 255), 95, 305)
| |
| 111 | ||
| 112 | ||
| 113 | addtextshadow('Bank Balance:',rgbcolor(205, 200, 177), 20, 320)
| |
| 114 | addtextshadow(balance, rgbcolor(255, 255, 255), 100, 320) | |
| 115 | ||
| 116 | ||
| 117 | addtextshadow("SCRIPT INFORMATION:", rgbcolor(255, 180, 4), 10, 345)
| |
| 118 | ||
| 119 | ||
| 120 | addtextshadow('Cavebot:',rgbcolor(205, 200, 177), 20, 365)
| |
| 121 | ||
| 122 | ||
| 123 | if cavebot then | |
| 124 | addtextshadow('ON',rgbcolor(107, 142, 35), 75, 365)
| |
| 125 | else | |
| 126 | addtextshadow('OFF',rgbcolor(178, 34, 34), 75, 365)
| |
| 127 | end | |
| 128 | ||
| 129 | addtextshadow('Targeting:',rgbcolor(205, 200, 177), 20, 380)
| |
| 130 | addtextshadow('Looting:',rgbcolor(205, 200, 177), 20, 395)
| |
| 131 | ||
| 132 | addtextshadow('Walk Through Players:',rgbcolor(205, 200, 177), 20, 410)
| |
| 133 | ||
| 134 | ||
| 135 | if targeting then | |
| 136 | addtextshadow('ON',rgbcolor(107, 142, 35), 80, 380)
| |
| 137 | else | |
| 138 | addtextshadow('OFF',rgbcolor(178, 34, 34), 80, 380)
| |
| 139 | end | |
| 140 | ||
| 141 | if looting then | |
| 142 | addtextshadow('ON',rgbcolor(107, 142, 35), 70, 395)
| |
| 143 | else | |
| 144 | addtextshadow('OFF',rgbcolor(178, 34, 34), 70, 395)
| |
| 145 | end | |
| 146 | ||
| 147 | ||
| 148 | if getsettings("Settings/CaveBot/Pathfinding/WalkThroughPlayers") == 'yes' then
| |
| 149 | addtextshadow('ON',rgbcolor(107, 142, 35), 150, 410)
| |
| 150 | elseif getsettings("Settings/CaveBot/Pathfinding/WalkThroughPlayers") == 'no' then
| |
| 151 | addtextshadow('OFF',rgbcolor(178, 34, 34), 150, 410)
| |
| 152 | end |