Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Drakke Help Desk

  1. #1
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    389 Post(s)
    Reputation
    366
    Rep Power
    10

    Drakke Help Desk






    I will try to help everyone with any actions you might need as best as I can


    Write the description of the action you need and use "@Drakke" so I can easily see when someone have posted in here and I will do my best to help you





    Actions:


    Waypoints:
    Action Version
    Mana Buyer 1.0
    Market Buyer 1.0
    Banker 1.0
    Depositer 1.0
    Last edited by Drakke; 09-02-2014 at 11:24 AM.

  2. #2
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    389 Post(s)
    Reputation
    366
    Rep Power
    10
    Reconnecter

    Lua Code:
     
    --Use reconnecter
    local reconnecter = true
     
    --What backpacks to open
    local usemainbps = true
    local usesuppliebps = true
    local uselootbps = true
    local usegoldbps = true
     
    --Which backpacks to use
    local mainbp = 'backpack'
    local suppliebp = 'deepling backpack'
    local lootbp = 'fur backpack'
    local goldbp = 'green backpack'
     
    --Do not touch below here
    if not connected and (time() < '9:59:00' or time() > '10:25:00') and reconnecter then
     
    setcavebot('off')
    setlooting('off')
    settargeting('off')    
     
    while not connected do
    reconnect()
    wait(1000,1500)
    updateworld()
    end
     
    local templenpcs = {"Azalea", "Alia", "Tyrias", "Brewster", "Rahkem", "Kasmir", "Amanda", "Isimov", "Yberius", "Maealil", "Quentin", "Lynda", "Lorietta", "Prezil", "Kjesse", "Asralius"}
    for i=1,#templenpcs do
    if maround(15, templenpcs[i]) > 0 then
    closetibia()
    end
    end
     
    if usemainbps then
    while windowcount(mainbp) == 0 do
    openitem(mainbp, 'back', true)
    wait(1000)
    resizewindows()
    wait(500, 800)
    updateworld()
    end
    end
    if usesuppliebps then
    while windowcount(suppliebp) == 0 do
    openitem(suppliebp, mainbp, true)
    wait(1000)
    resizewindows()
    wait(500, 800)
    updateworld()
    end
    end
    if uselootbps then
    while windowcount(lootbp) == 0 do
    openitem(lootbp, mainbp, true)
    wait(1000)
    resizewindows()
    wait(500, 800)
    updateworld()
    end
    end
    if usegoldbps then
    while windowcount(goldbp) == 0 do
    openitem(goldbp, mainbp, true)
    wait(1000)
    resizewindows()
    wait(500, 800)
    updateworld()
    end
    end
     
    setcavebot('on')
    setlooting('on')
    settargeting('on')
     
    end
    Last edited by Drakke; 08-31-2014 at 11:04 AM.

  3. #3
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    389 Post(s)
    Reputation
    366
    Rep Power
    10
    Auto-Fishing

    Lua Code:
     
    local waterIDs = {4597,4598,4599,4600,4601,4602,4603}
    local range = 7
    local captostop = 50
     
    for i=-range,range do
    for j=-range,range do
    if toptileitem(posx+i,posy+j,posz) == waterIDs[random(1,#waterIDs)] and itemcount('worm') > 0 and cap > captostop then
    useitemon('fishing rod',posx+i,posy+j,posz)
    wait(500,800)
    end
    end
    end
    Last edited by Drakke; 08-31-2014 at 11:05 AM.

  4. #4
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    389 Post(s)
    Reputation
    366
    Rep Power
    10
    Auto-Unruster

    Lua Code:
     
    local RustyArmorIDs = {8895, 8896, 8898, 8899}
    local ItemsToToss = {'chain armor', 'scale armor', 'brass armor', 'plate armor', 'plate legs', 'brass legs'}
     
    for i=1,#RustyArmorIDs do
    if itemcount(RustyArmorIDs[i]) > 0 and itemcount('flask of rust remover') > 0 then
    pausewalking(1000,1500)
    useitemonitem('flask of rust remover',RustyArmorIDs[i],'all')
    wait(500,800)
    end
    end
     
    for j=1,#ItemsToToss do
    if itemcount(ItemsToToss[j]) > 0 then
    pausewalking(1000,1500)
    moveitems(ItemsToToss[j],ground(posx,posy,posz),1)
    wait(500,800)
    end
    end
    Last edited by Drakke; 08-31-2014 at 07:28 PM.

  5. #5
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    389 Post(s)
    Reputation
    366
    Rep Power
    10
    Soft Boots Changer

    Lua Code:
     
    local NormalBoots = 'Boots of haste' --Boots when not using softs
    local ManaToChange = 90 --% mana to change
     
    if mppc > ManaToChange or pzone then 
    if boots ~= NormalBoots then 
    if itemcount(NormalBoots) > 0 then 
    moveitems(NormalBoots,"all","boots",1) 
    end 
    end 
    else 
    if boots ~= 3549 then 
    if itemcount("soft boots") > 0 then 
    moveitems("soft boots","all","boots",1) 
    end 
    end 
    end

  6. #6
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    389 Post(s)
    Reputation
    366
    Rep Power
    10
    Mana Buyer + Move from MainBP to SupplieBP

    Lua Code:
     
    local ManaName = 'Mana Potion'
    local ManaToBuy = 1000
    local SupplieBP = 'Jewelled Backpack'
     
    sellflasks()
    wait(500)
     
    local CurrentManas = itemcount(ManaName)
     
    amount = ManaToBuy - CurrentManas 
    while amount > 0 do 
    buyitems(ManaName, amount) 
    wait(500,1000) 
    moveitems(ManaName,SupplieBP, 100) 
    wait(300,400) 
    amount = amount-100
    end

  7. #7
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    389 Post(s)
    Reputation
    366
    Rep Power
    10
    Market Buyer

    Lua Code:
     
    local ItemToBuy = 'Brown mushroom' --Item to buy
    local AmountToBuy = 100 --Amount to buy
    local MaxPrice = 15 --Wont buy anything more expensive than this
    local ItemBP = 'Backpack of Holding' --Backpack where to move item
     
    setsettings("Settings\\Input\\OpenMenuPolicy", "Do nothing")
    setsettings("Settings\\CaveBot\\Settings\\OpenNextBp", "no")
    reachgrounditem("depot")
    wait(1500,2000)
    openitem("depot")
    wait(1500,2000)
    useitem(12903,"locker")
    wait(1500, 2000)
    buyitemmarket(ItemToBuy, (AmountToBuy-itemcount(ItemToBuy)), MaxPrice)
    setsettings("Settings\\Input\\OpenMenuPolicy", "Confirm if cavebotting")
     
    wait(2500)
    while windowcount(12902) == 0 do
    openitem(12902, "locker")
    wait(500,800)
    end
     
    while itemcount(ItemToBuy, ItemBP) < AmountToBuy and itemcount(ItemToBuy, 12902) > 0 do
    moveitems(ItemToBuy, ItemBP, 100)
    wait(200,500)
    end

  8. #8
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    389 Post(s)
    Reputation
    366
    Rep Power
    10
    Banker

    Lua Code:
     
    local FirstItem = 'Mana Potion'
    local FirstAmount = 1000
    local FirstPrice = 50
    local SecondItem = 'Great health potion'
    local SecondAmount = 55
    local SecondPrice = 210
     
    local First = positive(FirstAmount - itemcount(FirstItem)) * FirstPrice
    local Second = positive(SecondAmount - itemcount(SecondItem)) * SecondPrice
    local Total = First + Second
     
    say("hi")
    wait(1500,2500)
    npcsay("deposit all")
    wait(200,300) 
    npcsay("yes")
    wait(200,300) 
     
    if Total > 0 then   
       npcsay("withdraw "..Total)   
       wait(200,300)    
       npcsay("yes")   
       wait(200,300)
       npcsay("Balance")
       wait(200,300)
    end

  9. #9
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    @Drakke

    Nice stuff, but I already have a thread for this, do you mind If I just merge them togeteher? you/anyone can add more too, if provided the code is properly formatted, tested and confirmed working.

    I would just refer 1 big thread with an index, like you have, so things are easier to find and where people can make requests, saves everyone maintainign separate threads and having to look for things

  10. #10
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    389 Post(s)
    Reputation
    366
    Rep Power
    10
    Quote Originally Posted by pink_panther View Post
    @Drakke

    Nice stuff, but I already have a thread for this, do you mind If I just merge them togeteher? you/anyone can add more too, if provided the code is properly formatted, tested and confirmed working.

    I would just refer 1 big thread with an index, like you have, so things are easier to find and where people can make requests, saves everyone maintainign separate threads and having to look for things
    Sure, we can merge the threads

Posting Permissions

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