Signup Now
Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Reopen BPs

  1. #11
    Free User Cisco's Avatar
    Join Date
    Aug 2014
    Location
    Brazil
    Posts
    1,423
    Reputation
    119
    Rep Power
    23
    My persistent open bp moneymaker


    local mainbp = getlootingdestination('mainbp')
    local lootbp = getlootingdestination('lootbp')
    local goldbp = getlootingdestination('goldbp')


    auto(200)
    if not $pzone then
    if (windowcount(mainbp) ~= 1 or windowcount(goldbp) ~= 1 or windowcount(lootbp) ~= 1) then
    if windowcount(mainbp) ~= 1 then
    listas("BP Opener - Opening mainbp")
    pausewalking(2000)
    openitem(mainbp,'back')
    waitping() waitping()
    resizewindows(0,mainbp)
    waitping() waitping()
    end
    if windowcount(lootbp) ~= 1 then
    listas("BP Opener - Opening lootbp")
    pausewalking(2000)
    openitem(lootbp,mainbp,true)
    waitping() waitping()
    resizewindows(0,lootbp)
    waitping() waitping()
    end
    if windowcount(goldbp) ~= 1 then
    listas("BP Opener - Opening goldbp")
    pausewalking(2000)
    openitem(goldbp,mainbp,true)
    waitping() waitping()
    resizewindows(0,goldbp)
    waitping() waitping()
    end
    else
    listas("BP Opener - BPs Opened")
    end
    end
    if not ($targeting and $cavebot) then
    set('Targeting/Enabled', 'yes')
    set('Cavebot/Enabled', 'yes')
    end

  2. #12
    Free User
    Join Date
    Mar 2015
    Posts
    10
    Reputation
    10
    Rep Power
    0
    @Cisco Nice one ;d
    @pvzin Thanks alot ;D

  3. #13
    Free User Cisco's Avatar
    Join Date
    Aug 2014
    Location
    Brazil
    Posts
    1,423
    Reputation
    119
    Rep Power
    23
    @reddah

    With that part at the end ...

    if not ($targeting and $cavebot) then
    set('Targeting/Enabled', 'yes')
    set('Cavebot/Enabled', 'yes')
    end
    If the persistent connect, reconnect and for some reason that is happening sometimes it does not open the bag or open the backpack, but cavebot and disabled targeting. With that saves the script and enabled all the time, when you reconnect, if persistent problem in der reconnect as I talked to up there, this persistent will not let these problems occur.

    But in case of action in the depot, that close and reopen bp, as when they are deposited or sometimes when buying potion that persitente have to be disabled to not generate conflict. But it's just put it this way, these action reopening backpacks ...

    setsetting('Persistent/Scripts/Open Bps/Enabled', 'no')

    ...the action reopening backpacks...


    setsetting('Persistent/Scripts/Open Bps/Enabled', 'yes')

    Example open bp depot inbox...

    setsetting('Persistent/Scripts/Open Bps/Enabled', 'no')
    --depositer
    setsetting('Cavebot/WalkThroughPlayers', 'no')
    closewindows()
    openitem(itemname($back.id), 'back')
    waitping()
    openitem(lootbp, itemname($back.id))
    waitping()
    openitem(lootbp, lootbp) --if you have more than 1 loot bp
    waitping() --if you have more than 1 loot bp
    resizewindows()
    waitping()

    if windowcount(lootbp) ~= 1 then
    gotolabel($wptid-1)
    end

    waitping()
    setsetting('Looting/OpenNextBP', 'no')
    waitping()
    depotaction('maindp', 'lootbp', {'r', 'raredp', 's', 'stackdp'})
    waitping()
    setsetting('Persistent/Scripts/Open Bps/Enabled', 'yes')


    -----------------------------------

    Portuguese


    Se o persistente reconectar, reconectar e por alguma razão que está acontecendo às vezes de ele não abrir a mochila ou abrir a mochila, mas cavebot e targeting desativados. Com isso salva no script e ativado o tempo todo, quando você reconectar, se der problema no persistente reconectar como falei com ai em cima, esse persistente não vai deixar esses problemas acontecerem.

    Mas em caso de action no depot, que fecham bp e reabrem, como quando forem depositar ou às vezes quando for comprarem potion esse persitente tem que ser desativado, para não gerar conflito. Mas é só colocar assim, nesses action que reabrem mochilas...

    setsetting('Persistent/Scripts/Open Bps/Enabled', 'no')

    o action que reabre as mochilas

    setsetting('Persistent/Scripts/Open Bps/Enabled', 'yes')

    Exemplo de da abertura de mochilas no depot inbox...


    setsetting('Persistent/Scripts/Open Bps/Enabled', 'no')
    --depositer
    setsetting('Cavebot/WalkThroughPlayers', 'no')
    closewindows()
    openitem(itemname($back.id), 'back')
    waitping()
    openitem(lootbp, itemname($back.id))
    waitping()
    openitem(lootbp, lootbp) --if you have more than 1 loot bp
    waitping() --if you have more than 1 loot bp
    resizewindows()
    waitping()

    if windowcount(lootbp) ~= 1 then
    gotolabel($wptid-1)
    end

    waitping()
    setsetting('Looting/OpenNextBP', 'no')
    waitping()
    depotaction('maindp', 'lootbp', {'r', 'raredp', 's', 'stackdp'})
    waitping()
    setsetting('Persistent/Scripts/Open Bps/Enabled', 'yes')

  4. #14
    Free User Borges's Avatar
    Join Date
    Feb 2014
    Location
    Brazil
    Posts
    1,468
    Reputation
    205
    Rep Power
    25
    @Cisco

    Why you using closewindows() if when you reach depot after hunt the loot backpacks is already open ready for depotaction()?
    Helped you? REP+

  5. #15
    Free User
    Join Date
    Mar 2015
    Posts
    10
    Reputation
    10
    Rep Power
    0
    gotolabel($wptid-1)


    What's this if I may ask? ;d

  6. #16
    Free User Cisco's Avatar
    Join Date
    Aug 2014
    Location
    Brazil
    Posts
    1,423
    Reputation
    119
    Rep Power
    23
    @borges

    man actions of pvzin kkkk

    by the way it looked corym the script?
    @reddah

    back to previous sqm, in case you get lost, or even intentional return one sqm.

    -1 (Around 1 sqm)
    +1 (1 point in sqm)

    and so on. But in relation to action


    -------------------------

    volta para o sqm anterior, em caso de se perder, ou até mesmo intencional voltar um sqm.

    -1 (volta 1 sqm)
    +1(adianta 1 sqm)

    e assim em diante. Mas em relação ao action

 

 

Posting Permissions

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