frosty lewe2

Upload: ma1234242

Post on 06-Apr-2018

221 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/3/2019 Frosty Lewe2

    1/21

    nononono

    nononononono

    nonononononono

    nonononononono3000

    nononono3031Jewelled backpack0 to 0

    No Alarm

  • 8/3/2019 Frosty Lewe2

    2/21

    3428beach backpack0 to 0Couldn't Loot

    3386beach backpack0 to 0Couldn't Loot3392beach backpack0 to 0

    Couldn't Loot3284beach backpack0 to 0Couldn't Loot3061beach backpack0 to 0

    No Alarm3029beach backpack0 to 0No Alarm7290beach backpack0 to 0No Alarm7402beach backpack0 to 0Loot Announced

    8072beach backpack0 to 0

  • 8/3/2019 Frosty Lewe2

    3/21

    No Alarm9661beach backpack0 to 0

    No Alarm70050005000Normal Event

    5005005000Normal Eventno600Open all corpsesLoot after all deadyes10yes

    yesStand 32189 31425 7Stand 32187 31425 7Stand 32187 31430 7Stand 32173 31445 8Stand 32167 31445 8Stand 32159 31440 9Stand 32173 31455 9Rope 32173 31455 9Stand 32182 31457 8Stand 32173 31456 8Stand 32173 31455 8Stand 32167 31445 9Rope 32167 31445 9Stand 32187 31433 8Stand 32187 31430 8Action 32204 31435 7 dropitems (283)Action 32186 31426 7 if itemcount('strong mana potion') = 1 then setsetting('Cavebot/Looting/LootingEnabled', 'no', false) else setsetting('Cavebot/Looting/LootingEnabled', 'yes', false) endend

    yes

  • 8/3/2019 Frosty Lewe2

    12/21

    auto(100) listas('dontlist')if $standtime > 300000 thenplaysound("monster.wav") listas('Standtime alert')end yesClient focus required

    500100010000Normal Eventinit start local fontsize = 8 local fontspacing = font

    size+2 local expgained local spells = { {'utito

    tempo san', 450}, {'utito tempo', 290}, {'utevovis lux', 140}, {'utevo res ina', 100}, {'utevolux', 20}, {'utevo gran lux', 60}, {'utani tempo hur', 100}, {'utani hur', 60}, {'utani gran hur', 100}, {'utana vid', 440}, {'utamo vita', 50}, {'utamo tempo san', 400}, {'utamo tempo', 200}, {'exura vita', 160}, {'exura sio', 140},

    {'exura san', 210}, {'exura gran mas res', 150},{'exura gran', 70}, {'exura', 20}, {

    'exori vis', 20}, {'exori tera', 20}, {'exori san', 20}, {'exori mort', 20}, {'exori mas', 160}, {'exori hur', 40}, {'exori gran', 340},

    {'exori frigo', 20}, {'exori flam', 20},

    {'exori con', 25}, {'exori', 115}, {'exiva', 20}, {'exevo vis lux', 40}, {'exevo vis hur', 170}, {'exevo tera hur', 210}, {'exevo pan', 120}, {'exevo mas san', 160}, {'exevo gran vis lux', 110}, {'exevo gran mas vis', 650}, {'exevo gran mas tera', 770}, {'exevo gran mas frigo', 1200},{'exevo gran mas flam', 1200}, {'exevo frigo hur', 25},

    {'exevo flam hur', 25}, {'exevo con vis', 700},{'exevo con pox', 130}, {'exevo con mort', 140},{'exevo con hur', 160}, {'exevo con grav', 180},{'exevo con flam', 290}, {'exevo con', 100},

    {'exeta vis', 80}, {'exeta res', 30}, {'exeta con', 350}, {'exani tera', 20}, {'exani hur', 50}, {'exana pox', 30}, {'exana mort', 65}, {'exana mas mort', 500}, {'exana ina', 200},

    {'adura vita', 400}, {'adura gran', 120},{'adori vis', 350}, {'adori tera', 350}, {

    'adori san', 300}, {'adori min vis', 120}, {'adori mas vis', 430}, {'adori mas tera', 430}, {'adori mas frigo', 530}, {'adori mas flam', 530}, {'adori gran mort', 985}, {'adori frigo', 460}, {'adori flam', 460}, {'adito tera', 200}, {'aditograv', 120}, {'adevo res flam', 420}, {'adevo mas vis', 880}, {'adevo mas pox', 520}, {'adevo mas hur', 570}, {'adevo mas grav vis', 1000}, {'a

    devo mas grav pox', 640}, {'adevo mas grav flam', 780},{'adevo mas flam', 600}, {'adevo ina', 600},

    {'adevo grav vita', 600}, {'adevo grav vis', 320},

  • 8/3/2019 Frosty Lewe2

    13/21

    {'adevo grav tera', 750}, {'adevo grav pox', 200},{'adevo grav flam', 240}, {'adeta sio', 200},

    {'adana pox', 200}, {'adana mort', 600},{'adana ani', 1400}, } local manaspent = 0init en

    dif not expgained then expgained = $exp endlocal m, didforeach newmessage m do if m.sender == $name and (string.sub(m.content,1,2) == 'ex' or string.sub(m.content,1,2) == 'ut' or string.sub(m.c

    ontent,1,2) == 'al' or string.sub(m.content,1,2) == 'ad') then for i=1, #spells do if string.find(m.content,spells[i][1]) == 1 then manaspent,did = manaspent+spells[i][2],true

    break end if did then break end end endendlocal balance = balance()function spellformula(spell) if spell == 'minexura' then spellavg = (($level*0.2)+($mlevel*1.4)+8)return spellavg end if spell == 'maxexura' thenspellavg = (($level*0.2)+($mlevel*1.795)+11) return spellavg end if spell == 'minexuragran' then spellavg= (($level*0.2)+($mlevel*3.184)+20) return spellavgend if spell == 'maxexuragran' then spellavg = (($le

    vel*0.2)+($mlevel*5.59)+35) return spellavg endif spell == 'minexuravita' then spellavg = (($level*0.2)+($mlevel*7.22)+44) return spellavg end if spell== 'maxexuravita' then spellavg = (($level*0.2)+($mlevel*12.79)+79) return spellavg endend--------------------------------------------------------------------setposition($clientwin.x+5, $clientwin.y+30)setfontstyle("Tahoma", fontsize, 0x35C0CD)setfontweight(75)--PING BARaddtext("Ping:", 0, 0)addtext($pingaverage, 33, 0)--EXP BARaddtext("XP\\h:", 92, 0)addtext(num($exphour), 130, 0)--EXP TO LEVEL BARaddtext("Next:", 0, 15)addtext(num(exptolevel()), 33, 15)--TIME TO LEVEL BARaddtext("Time:", 92, 15)addtext(time(timetolevel()), 130, 15)--EXP GAINEDBARaddtext("XP Gained:", 0, 35)addtext(num($exp-expgained), 65, 35)

    xd;--MANA SPEND BARaddtext("Mp Spent:", 0, 50)addtext(manaspent,65, 50)--ID BARif cursorinfo() ~= nil then addtext("ID:", 0, 70) addtext(cursorinfo().id, 30, 70)end--XYZ BARaddtext("XYZ:", 0, 85)addtext($self.posx .. "," .. $self.posy .. "," .. $self.posz, 30, 85)--SPELL RATE BARaddtext("Exura:", 0, 105)addtext(("min " .. spellformula('minexura')), 45, 105)addtext(("max " .. spellformula('maxexura')), 115, 105)

    200 to 200yeslocal row = 0local fontsize = 10local fontspacing = fonts

    ize+2setposition($clientwin.x+10, $clientwin.y+10)setfontstyle("Tahoma", fontsize, 0)setfontweight(75)if $hastetime > 0 then setfontcolor(0x64FF64) addtext("Haste: " .. timeshort($hastetime),0, 0) row = 1endif $mshieldtime > 0 then setfontcolor(0x6464FF) addtext("MShield: " .. timeshort($mshieldtime), 0, row*fontspacing) row = row + 1endif $invistime > 0 then setfontcolor(0xFF64FF) addtext("Invis: " .. timeshort($invistime), 0, row*fontspacing) row = row + 1endif $strenghtentime > 0 then setfontcolor(0xFF4646) addtext("Strenght: " .. timeshort($strenghtentime), 0, row*fontspacing) row = row + 1end

    100 to 100yes

    local fontsize = 8local fontspacing = fontsize+3setf

  • 8/3/2019 Frosty Lewe2

    14/21

    ontstyle("Arial", fontsize, 0xE4B31B)setfontweight(75)local row =0local i = 0while isscript("hotkey", i) do local listname =scriptlistname("hotkey", i) if listname ~= "" thensetfontcolor(scriptlistcolor("hotkey", i)) addtext(listname, 0, row*fontspacing) row = row + 1 end i=i+1endlocal i = 0while isscript("persistent", i) do local listname = scriptlistname("persistent", i) if listname ~= "" then

    xd; setfontcolor(scriptlistcolor("persistent", i))addtext(listname, 0, row*fontspacing) row = row + 1end i=i+1endlocal i = 0while isscript("cavebot",i) do local listname = scriptlistname("cavebot", i) if listname ~= "" then setfontcolor(scriptlistcolor("cavebot", i))addtext(listname, 0, row*fontspacing) row = row + 1end i=i+1endsetposition($clientwin.x+5, $clientwin.y+200)

    200 to 200yes

    init start local warnitems = {'fire sword', 'dragon scale mail', 'royal helmet', 'dragon slayer', 'dragon lord trophy', 'tower shield', 'boots of haste', 'wand of inferno'} -- you can add more items here local maxindex = 5 -- max lines to display at once local fontsize = 10local fontspacing = fontsize+3 local index = 0 local lootmsgs = {} local lootcolors = {}init endsetfontstyle("Tahoma", fontsize, 0x00FF00)setfontweight(75)foreach newmessagem do if m.content:sub(0,8) == "Loot of " then local shortloot = m.content:sub(10) lootmsgs[index] = shortlootlootcolors[index] = 0x00FF00 local i = 1while warnitems[i] do if shortloot:find(warnitems[i])then lootcolors[index] = 0xFF0000break end i = i + 1

    end index = index + 1 if index >= maxindex then index = 0 end endendlocal row = 0local i = indexlocal j = 0while j < maxindex do if lootmsgs[i] thensetfontcolor(lootcolors[i]) addtext(lootmsgs[i], 0, row*fontspacing) row = row + 1 end j=j+1i=i+1 if i >= maxindex then i = 0 endendsetjustify("right")setposition($worldwin.right-5, $worldwin.bottom-3-row*fontspacing)

    200 to 200yesinit start local mwalls = {} local ids = {{id = 212

    8, time=20000},{id = 2129, time=20000},{id = 2130, time=45000},{id = 10181, time=20000},{id = 10182, time=45000}} setfontstyle('tahoma', 9, 0xFFFF00) setfontweight(75)init endauto(200) setposition($clientwin.left,$clientwin.top)for i=-7,7 do for j=-5,5 do

    local x,y,z = $posx+i,$posy+j,$posz local topid = topitem(x,y,z).id local pos = table.find(ids,topid,'id') if pos and not table.find(mwalls,ground(x,y,z),'pos') then table.insert(mwalls,{x=x,y=y,z=z,time=ids[pos].time+$timems+200,id=topid,pos=ground(x,y,z)}) end endendfor i,j in ipairs(mwalls) do if j.time-$timems > 0 then

    local pos = findpixel(j.x,j.y) if pos and topitem(j.x,j.y,j.z).id == j.id and j.z == $posz then addtext(timeshort(j.time-$timems),pos.x-13,pos.y-6) end else table.remove(mw

    alls,i) endend 1000 to 1000yes

  • 8/3/2019 Frosty Lewe2

    15/21

    init start local othersMessages = true -- Show messages fro

    m other players? local selfMessages = false -- Show your own messages? local showTime = true -- Display the time? local showNick = true-- Display sender nickname? local showLevel = true -- Display sender level? local selfMsgColor = 0x9F9FFE -- Your own message color. (hex)

    local othersMsgColor = 0x06FFFF -- Others message color (hex) local maxlength = 80 -- Max message length. 0 = no limit local maxindex = 5 --Max lines local fontsize = 10 local fontspacing = fontsize+ 3 local rows = 0 local privatecolors = {} local privatemsgs = {} for i = 1, maxindex do table.insert(privatemsgs, '') table.insert(privatecolors, '') endinit endsetfontstyle('Tahoma', fontsize, 0x00FF00)setfontweight(75)foreach newmessage privmsg do if (privmsg.type == 6 and othersMessages== true) or (privmsg.type == 21 and selfMessages == true) then localprivatemsg = '' if showTime then privatemsg = os.date('%H')..':'..os.date('%M')..' ' end if showNick == true then privatemsg = privatemsg..privmsg.sender..' '

    end if showLevel == true then privatemsg = privatemsg..'['..privmsg.level..']' end privatemsg = privatemsg..': '..privmsg.content if #privatemsg > maxlength + 3 and maxlength >0 then privatemsg = privatemsg:sub(0,maxlength)..'...'

    end table.insert(privatemsgs, 1, privatemsg) table.remove(privatemsgs) local privatecolor = selfMsgColor ifprivmsg.type == 6 and othersMessages == true then privatecolor =othersMsgColor end table.insert(privatecolors, 1, privatecolor) table.remove(privatecolors) endendfor i = 1, maxindex do if privatemsgs[i] ~= '' then setfontcolor(privatecolors[i]) addtext(privatemsgs[i], 0, (maxindex-i+1)*fontspacing) endendsetjustify('left')setposition($worldwin.left+5, $worldwin.bottom-3-(maxindex+1)*fontspacing)

    200 to 200yeslocal fontsize = 10local fontspacing = fontsize+2set

    position($clientwin.x+740, $clientwin.y+10)setfontstyle("Tahoma", fontsize,0x58f46a)setfontweight(75)if itemcount(237) generalStatus.maxChar then itemname = string.match(string.sub(itemname, 1, generalStatus.maxChar), '(.-)%s?$') .. '...' end if generalStatus.showPriceLoot then lootstring = num(lootcheck[x].count) ..

    ' (' .. math.floor((lootcheck[x].price*lootcheck[x].count)/100)/10 .. 'k)'else lootstring = num(lootcheck[x].count), generalStatus.secondBlock, clist*generalStatus.fontSpacing end if generalStatus.showAllLoot then addtext(itemname, generalStatus.marging, clist*generalStatus.fontSpacing) addtext(lootstring, generalStatus.secondBlock, clist*generalStatus.fontSpacing) clist = clist+1elseif lootcheck[x].count > 0 then addtext(itemname, generalStatus.marging, clist*generalStatus.fontSpacing) addtext(lootstring, generalStatus.secondBlock, clist*generalStatus.fontSpacing) clist =clist+1 endendclist = clist+1local loottotal = 0for a, b in pairs(lootcheck) do loottotal = loottotal + (b.count* b.price)endaddtext('Total: '.. num(loottotal).. ' GPs', generalStat

    us.marging, clist*generalStatus.fontSpacing)clist = clist+generalStatus.spacesetfontstyle(generalStatus.font, 10, generalStatus.titleColor)addtext('Supplies wasted so far', generalStatus.marging, clist*generalStatus.fontSpacing)setfontstyle(generalStatus.font, generalStatus.fontSize, generalStatus.defaultColor)clist = clist+generalStatus.spacefor x=1, #suppliescount do local itemname = string.capitalizeall(suppliescount[x].name) if #itemname > generalStatus.maxChar then itemname= string.match(string.sub(itemname, 1, generalStatus.maxChar), '(.-)%s?$') .. '...' end if generalStatus.showPriceSupplie thensuppliestring = num(suppliescount[x].count) .. ' (' .. math.abs(math.floor((suppliescount[x].price*suppliescount[x].count)/100)/10) .. 'k)' else suppliestring = num(suppliescount[x].count) end if generalStatus.showAllSupplie then addtext(itemname

    , generalStatus.marging, clist*generalStatus.fontSpacing) addtext(suppliestring, generalStatus.secondBlock, clist*generalStatus.fontSpacing)clist = clist+1 elseif suppliescount[x].count > 0 thenaddtext(itemname, generalStatus.marging, clist*generalStatus.fontSpacing)addtext(suppliestring, generalStatus.secondBlock, clist*generalStatus.fontSpacing) clist = clist+1 endendclist =clist+1local totalwasted = 0for a, b in pairs(suppliescount) do totalwasted = totalwasted + math.max(b.count * b.price, 0)endaddtext('Total: '.. num(totalwasted).. ' GPs', generalStatus.marging, clist*generalStatus.fontSpacing)clist = clist+generalStatus.spaceif generalStatus.showStatus then local profit = loottotal-totalwastedif profit > 0 then text = 'PROFIT' colorbased = color('green') else text = 'WASTE'colorbased = color('red') end setfontstyle(generalStatus.font, 10, colorbased) if generalStatus.showMed thenlocal goldh = math.floor((profit*3600)/($exptime/1000)/100)/10addtext(text .. ': ' .. num(profit) .. ' GPs (' .. math.abs(goldh) .. ' k/h)', generalStatus.marging, clist*generalStatus.fontSpacing) elseaddtext(text .. ': ' .. num(profit) .. ' GPs', generalStatus.marging, clist*generalStatus.fontSpacing) end clist = clist+1endshapeSize = clist*generalStatus.fontSpacing

    200 to 200yes

    Show if focused

  • 8/3/2019 Frosty Lewe2

    17/21

    Simulate keyboardIf cavebot on, release after 1 sec20 to 4545 to 65

    Simulate mouseUse mouse wheelIf cavebot on, release instantlyInstantaneous20 to 35Don't auto-focusConfirm if cavebotting

    Frost Dragon4+0 to 10011Avoid WaveKeep AwayDefaultAttackSudden DeathNo Action

    No ActionNo Action2000 to 3000yesNo Change0 to 00No AvoidanceNo MovementDefaultNo ActionNo ActionNo ActionNo ActionNo Action2000 to 3000noNo Change0 to 00No Avoidance

    No MovementDefaultNo Action

  • 8/3/2019 Frosty Lewe2

    18/21

    No ActionNo ActionNo ActionNo Action2000 to 3000noNo Change

    0 to 00No AvoidanceNo MovementDefaultNo ActionNo ActionNo ActionNo ActionNo Action

    2000 to 3000noNo ChangenonononoFrost dragonbAny

    60 to 1009Avoid WaveKeep AwayDefaultAttackStrong Energy StrikeEnergy StrikeNo ActionNo Action1000 to 1000noNo Change61 to 2010Avoid WaveKeep AwayDefaultAttackStrong Energy StrikeEnergy StrikeNo Action

    No Action1000 to 1000no

  • 8/3/2019 Frosty Lewe2

    19/21

    No Change19 to 011Avoid WaveApproach

    DefaultAttackEnergy StrikeNo ActionNo ActionNo Action2000 to 3000noNo Change0 to 0

    0No AvoidanceNo MovementDefaultNo ActionNo ActionNo ActionNo ActionNo Action2000 to 3000noNo Change

    yesnononoFrost Dragon HatchlingAny60 to 1005Avoid WaveKeep AwayDefaultAttackStrong Energy StrikeEnergy StrikeNo ActionNo Action2000 to 3000noNo Change

    0 to 596No Avoidance

  • 8/3/2019 Frosty Lewe2

    20/21

    Keep AwayDefaultAttackEnergy StrikeNo ActionNo ActionNo Action

    2000 to 3000noNo Change0 to 00No AvoidanceNo MovementDefaultNo ActionNo Action

    No ActionNo ActionNo Action2000 to 3000noNo Change0 to 00No AvoidanceNo MovementDefault

    No ActionNo ActionNo ActionNo ActionNo Action2000 to 3000noNo Changeyesnononoyes230060961

    00yes

  • 8/3/2019 Frosty Lewe2

    21/21

    no60020005000

    Normal Eventyes