Hi
i would like to know how to save my alerts that i choose to have . against pk, to detect gm, priv msg alert ect. cuz whenever i load script i have to remember to put alerts manually...![]()
Hi
i would like to know how to save my alerts that i choose to have . against pk, to detect gm, priv msg alert ect. cuz whenever i load script i have to remember to put alerts manually...![]()
theres no dl link on ankra larvas mv
Okay,it worked just fine now,the only issue is that he does not open the correct bp to get scarab coin's. I checked 3 times ,and the configuration is correct,he opens the lootdpbp instead. Thanks anyway.
Found another bug at using the stake,he run away while trying to use the stake on vampires , and stay going away and coming back
Why?, I prefer to have it there becouse I can have multiple scripts on the same town, so I know which bp is for which cave, wont change that. If u want it, I'll release the action so you can edit it yourself, but won't put it on the download link.
Copy and replace with this the depot action (the first action on the Depot label) to change the scarab coin backpack to outside main depot backpack!
Code:local mode = getuseroption('Mode') local MainDPBP = getlootingdestination('maindpbp') local MainBP = getlootingdestination('mainbp') local GoldBP = getlootingdestination('goldbp') local Hand = getuseroption('Hand') local Crossbow = getuseroption('Crossbow') local Throwing = getuseroption('Throwing') local AmmoBuy = getuseroption('AmmoBuy') local AmmoLeave = getuseroption('AmmoLeave') local AmmoDPBP = getlootingdestination('ammodpbp') local SupplyBP = getlootingdestination('supplybp') local SupplyBPShow = getuseroption('SupplyBPShow') local SellMarket = getuseroption('SellMarket') local SellGMush = getuseroption('SellGMush') local SellVTeeth = getuseroption('SellVTeeth') local SellSCoin = getuseroption('SellSCoin') local SellEBangle = getuseroption('SellEBangle') local SellBPres = getuseroption('SellBPres') local SellSFOE = getuseroption('SellSFOE') local SellGhost = getuseroption('SellGhost') local SellSilver = getuseroption('SellSilver') local SellNRobe = getuseroption('SellNRobe') local SellGBand = getuseroption('SellGBand') local SellDTurban = getuseroption('SellDTurban') local SellStone = getuseroption('SellStone') local SellDSHand = getuseroption('SellDSHand') local SellNBook = getuseroption('SellNBook') local SellRotPOC = getuseroption('SellRotPOC') local SellHDPOM = getuseroption('SellHDPOM') local SellMirac = getuseroption('SellMirac') local SellGSnack = getuseroption('SellGSnack') local SellGreenPOC = getuseroption('SellGreenPOC') local SellFOEF = getuseroption('SellFOEF') local SellSShell = getuseroption('SellSShell') local SellYellowPOC = getuseroption('SellYellowPOC') local SellPile = getuseroption('SellPile') local SellPBone = getuseroption('SellPBone') local SellSTail = getuseroption('SellSTail') local SellWhitePOC = getuseroption('SellWhitePOC') local SellBrownPOC = getuseroption('SellBrownPOC') local SellBoneEye = getuseroption('SellBoneEye') local SellPSShell = getuseroption('SellPSShell') local SellSStone = getuseroption('SellSStone') local SellOre = getuseroption('SellOre') local SellAStone = getuseroption('SellAStone') local SellSPincers = getuseroption('SellSPincers') local SellSWing = getuseroption('SellSWing') local SellSulph = getuseroption('SellSulph') local SellLMane = getuseroption('SellLMane') local SellBTail = getuseroption('SellBTail') local SellCTongue = getuseroption('SellCTongue') local SellSFang = getuseroption('SellSFang') local SellHBone = getuseroption('SellHBone') local MinBPS = getuseroption('MinBPS') local BuyMarket = getuseroption('BuyMarket') local BuyAStar = getuseroption('BuyAStar') local BuyESpear = getuseroption('BuyESpear') local BuyIBolt = getuseroption('BuyIBolt') local BuyGSpear = getuseroption('BuyGSpear') local SCoinDPBP = getuseroption('SCoinDPBP') if MinBPS then minimizewindows(GoldBP) end depotaction('maindpbp', 'lootbp', {'b', 'lootdpbp', 'a', 'stackdpbp','c','scoindpbp'}) if mode == 'Scarab Coin Mode' then closewindows(MainDPBP,true) wait(500,1000) openitem('depot',true) wait(500,1000) openitem('depot chest','locker') wait(500,1000) openitem(SCoinDPBP,'depot chest',true) wait(500,1000) if SupplyBPShow then moveitems('Scarab Coin',SupplyBP,SCoinDPBP,1) wait(1000) else moveitems('Scarab Coin',MainBP,SCoinDPBP,1) wait(1000) end end function FunNR(Ammo) if Crossbow ~= 'Select' or Bow ~= 'Select' then if SupplyBPShow then return AmmoBuy - itemcount(Ammo,SupplyBP) else return AmmoBuy - itemcount(Ammo,MainBP) end else if Hand == 'Right' then return AmmoBuy - itemcount(Ammo,'rhand') else return AmmoBuy - itemcount(Ammo,'lhand') end end end wait(1000) openitem('depot') if $vocation == 'paladin' then if Crossbow == 'infernal bolt' then openitem(AmmoDPBP,MainDPBP,true) wait(300) local NR = FunNR('infernal bolt') if itemcount('infernal bolt',AmmoDPBP) < NR then if BuyMarket == 'Buy from market' then openmarket() buyitemsmarket('infernal bolt',BuyIBolt,NR,false,false) closemarket() openitem(12902,'locker') wait(1000,1200) if itemcount('infernal bolt','Inbox') >= NR then if SupplyBPShow then moveitems('infernal bolt',SupplyBP,'Inbox',NR) wait(1000) else moveitems('infernal bolt',MainBP,'Inbox',NR) wait(1000) end else setcavebot('off') wait(3000) messagebox('Warning!','No ammunition left at market!') wait(3000) end elseif BuyMarket == 'Stop cavebot and alert' then setcavebot('off') wait(3000) messagebox('Warning!','No ammunition left at the AmmoDPBP') wait(3000) playsound('playeronscreen.wav') end end if SupplyBPShow then moveitems('infernal bolt',SupplyBP,AmmoDPBP,NR) wait(1000) else moveitems('infernal bolt',MainBP,AmmoDPBP,NR) wait(1000) end elseif Throwing == 'enchanted spear' then openitem(AmmoDPBP,MainDPBP,true) wait(300) local NR = FunNR('enchanted spear') if itemcount('enchanted spear',AmmoDPBP) < NR then if BuyMarket == 'Buy from market' then openmarket() buyitemsmarket('enchanted spear',BuyESpear,NR,false,false) wait(1000,1200) closemarket() wait(1000,1200) openitem(12902,'locker') wait(1000,1200) if itemcount('enchanted spear','Inbox') >= NR then if Hand == 'Right' then moveitems('enchanted spear','rhand','Inbox',NR) wait(1000) else moveitems('enchanted spear','lhand','Inbox',NR) wait(1000) end else setcavebot('off') wait(3000) messagebox('Warning!','No ammunition left at market!') wait(3000) end elseif BuyMarket == 'Stop cavebot and alert' then setcavebot('off') wait(3000) messagebox('Warning!','No ammunition left at the AmmoDPBP') wait(3000) playsound('playeronscreen.wav') end end if Hand == 'Right' then moveitems('enchanted spear','rhand',AmmoDPBP,NR) wait(1000) else moveitems('enchanted spear','lhand',AmmoDPBP,NR) wait(1000) end elseif Throwing == 'assassin star' then openitem(AmmoDPBP,MainDPBP,true) wait(300) local NR = FunNR('assassin star') if itemcount('assassin star',AmmoDPBP) < NR then if BuyMarket == 'Buy from market' then openmarket() buyitemsmarket('assassin star',BuyAStar,NR,false,false) closemarket() wait(1000,1200) openitem(12902,'locker') wait(1000,1200) if itemcount('assassin star','Inbox') >= NR then if Hand == 'Right' then moveitems('assassin star','rhand','Inbox',NR) wait(1000) else moveitems('assassin star','lhand','Inbox',NR) wait(1000) end else setcavebot('off') wait(3000) messagebox('Warning!','No ammunition left at market!') wait(3000) end elseif BuyMarket == 'Stop cavebot and alert' then setcavebot('off') wait(3000) messagebox('Warning!','No ammunition left at the AmmoDPBP') wait(3000) playsound('playeronscreen.wav') end end if Hand == 'Right' then moveitems('assassin star','rhand',AmmoDPBP,NR) wait(1000) else moveitems('assassin star','lhand',AmmoDPBP,NR) wait(1000) end elseif Throwing == 'glooth spear' then openitem(AmmoDPBP,MainDPBP,true) wait(300) local NR = FunNR('glooth spear') if itemcount('glooth spear',AmmoDPBP) < NR then if BuyMarket == 'Buy from market' then openmarket() buyitemsmarket('glooth spear',BuyGSpear,NR,false,false) closemarket() wait(1000,1200) openitem(12902,'locker') wait(1000,1200) if itemcount('glooth spear','Inbox') >= NR then if Hand == 'Right' then moveitems('glooth spear','rhand','Inbox',NR) wait(1000) else moveitems('glooth spear','lhand','Inbox',NR) wait(1000) end else setcavebot('off') wait(3000) messagebox('Warning!','No ammunition left at market!') wait(3000) end elseif BuyMarket == 'Stop cavebot and alert' then setcavebot('off') wait(3000) messagebox('Warning!','No ammunition left at the AmmoDPBP') wait(3000) playsound('playeronscreen.wav') end end if Hand == 'Right' then moveitems('glooth spear','rhand',AmmoDPBP,NR) wait(1000) else moveitems('glooth spear','lhand',AmmoDPBP,NR) wait(1000) end end end if SellMarket then openmarket() sellitemsmarket('green mushroom',SellGMush,1000,false,false) sellitemsmarket('vampire teeth',SellVTeeth,1000,false,false) sellitemsmarket('scarab coin',SellSCoin,1000,false,false) sellitemsmarket('emerald bangle',SellEBangle,1000,false,false) sellitemsmarket('blood preservation',SellBPres,1000,false,false) sellitemsmarket('small flask of eyedrops',SellSFOE,1000,false,false) sellitemsmarket('ghostly tissue',SellGhost,1000,false,false) sellitemsmarket('silver brooch',SellSilver,1000,false,false) sellitemsmarket('necromantic robe',SellNRobe,1000,false,false) sellitemsmarket('gauze bandage',SellGBand,1000,false,false) sellitemsmarket('dirty turban',SellDTurban,1000,false,false) sellitemsmarket('mind stone',SellStone,1000,false,false) sellitemsmarket('demonic skeletal hand',SellDSHand,1000,false,false) sellitemsmarket('book of necromantic rituals',SellNBook,1000,false,false) sellitemsmarket('rotten piece of cloth',SellRotPOC,1000,false,false) sellitemsmarket('half-digested piece of meat',SellHDPOM,1000,false,false) sellitemsmarket('miraculum',SellMirac,1000,false,false) sellitemsmarket('ghoul snack',SellGSnack,1000,false,false) sellitemsmarket('green piece of cloth',SellGreenPOC,1000,false,false) sellitemsmarket('flask of embalming fluid',SellFOEF,1000,false,false) sellitemsmarket('piece of scarab shell',SellSShell,1000,false,false) sellitemsmarket('yellow piece of cloth',SellYellowPOC,1000,false,false) sellitemsmarket('pile of grave earth',SellPile,1000,false,false) sellitemsmarket('pelvis bone',SellPBone,1000,false,false) sellitemsmarket('scorpion tail',SellSTail,1000,false,false) sellitemsmarket('white piece of cloth',SellWhitePOC,1000,false,false) sellitemsmarket('brown piece of cloth',SellBrownPOC,1000,false,false) sellitemsmarket('bonelord eye',SellBoneEye,1000,false,false) sellitemsmarket('poison spider shell',SellPSShell,1000,false,false) sellitemsmarket('shiny stone',SellSStone,1000,false,false) sellitemsmarket('iron ore',SellOre,1000,false,false) sellitemsmarket('bony tail',SellBTail,1000,false,false) sellitemsmarket('ancient stone',SellAStone,1000,false,false) sellitemsmarket('scarab pincers',SellSPincers,1000,false,false) sellitemsmarket('stone wing',SellSWing,1000,false,false) sellitemsmarket('sulphurous stone',SellSulph,1000,false,false) sellitemsmarket("lion's mane",SellLMane,1000,false,false) sellitemsmarket('cobra tongue',SellCTongue,1000,false,false) sellitemsmarket('spider fangs',SellSFang,1000,false,false) sellitemsmarket('hardened bone',SellHBone,1000,false,false) closemarket() end if MinBPS then restorewindows(GoldBP) end
Last edited by Dekk; 02-11-2015 at 02:13 PM.
@galk: Ok, noticed the error at the scarab coin backpack. If you had it on the first spot like me (i mean first bp inside maindpbp) u wouldn't have noticed also. Forgot to declare scarab coin backpack, so wasn't taking its name from the list. Solved it, updated the script.
I didn't say how it should works. I was only trying to help the guy who couldn't make it work. I also prefer everything inside one backpack but saw some scripts that withdraw items from Depot Box.