Signup Now
Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1
    Free User sylomex's Avatar
    Join Date
    Dec 2013
    Location
    France
    Posts
    369
    Reputation
    39
    Rep Power
    21

    Perfect Bp's opener

    Hi everyone here is a tutorial to open your Bp's with your own Bp's Setup in looting.
    I did this tutorial because I had some troubles with the reopenwindows('small') functions.

    To start add your Bp's setup into the cavebot section :

    This image is hosted on a possibly dangerous website (http://i322.photobucket.com/albums/nn410/sylomex/bp.jpg). Please consider reuploading it on Imgur.com.



    Then add a new Action waypoint and paste the following code :

    PHP Code:
    local mainbp getlootingdestination('mainbp'
    local suppbp getlootingdestination('suppbp')
    local lootbp getlootingdestination('lootbp')
    local goldbp getlootingdestination('goldbp')
     
    closewindows()
    openitem(0'back')
    wait(500,1000)
    resizewindows(0'0')
    wait(500,1000)
    openitem(suppbpmainbptrue)
    wait(500,1000)
    resizewindows(0'1')
    wait(500,1000)
    openitem(lootbpmainbptrue)
    wait(500,1000)
    resizewindows(0'2')
    wait(500,1000)
    openitem(goldbpmainbptrue)
    wait(500,1000)
    resizewindows(0'3')
    wait(500,1000
    Here you go everything is working smooth ofc you can customize this code to fits the real number of Bp's you are needing for your Bot.

    Hope this tutorial has been usefull for you.

    Your's Sylomex.
    Last edited by sylomex; 12-14-2013 at 08:33 AM.

  2. #2
    Free User
    Join Date
    Dec 2013
    Posts
    2
    Reputation
    10
    Rep Power
    0
    Good Job
    Your's Bulba

  3. #3
    Banned
    Join Date
    Dec 2013
    Location
    United States
    Posts
    848
    Reputation
    30
    Rep Power
    0
    Thank you.

  4. #4
    Free User Eli's Avatar
    Join Date
    Dec 2013
    Location
    www.eliscripts.com
    Posts
    355
    Reputation
    85
    Rep Power
    21
    Handy Nice

  5. #5
    Free User Donatello's Avatar
    Join Date
    Dec 2013
    Location
    Tuscany, Italy
    Posts
    398
    Reputation
    51
    Rep Power
    21
    I did this shitty function, then you can just add that function on one persistent:
    function openBackpacks(wait, bpMain, ...)
    wait = wait or true
    MainBP = bpMain or $back.id
    backpackNames = {...}

    if not bpMain then
    return
    else
    openitem(MainBP, "back")
    waitcontainer(MainBP)
    resizewindows(MainBP)
    waitping()
    end

    for _, v in ipairs(backpackNames) do
    openitem(v, MainBP, true)
    if wait then
    waitcontainer(v)
    end
    resizewindows(v)
    waitping()
    end
    end


    and open ur backpacks on this way:
    init start
    local mainbp = getlootingdestination('mainbp')
    local suppbp = getlootingdestination('suppbp')
    local lootbp = getlootingdestination('lootbp')
    local goldbp = getlootingdestination('goldbp')
    init end

    closewindows()
    openBackpacks(true, mainbp, suppbp, lootbp, goldbp)
    waitping()

  6. #6
    Free User sylomex's Avatar
    Join Date
    Dec 2013
    Location
    France
    Posts
    369
    Reputation
    39
    Rep Power
    21
    nice one Raph !

  7. #7
    Free User leandrocore's Avatar
    Join Date
    Dec 2013
    Location
    Lucksstore.com
    Posts
    261
    Reputation
    41
    Rep Power
    21
    very nice should help many people.

  8. #8
    Free User Robin's Avatar
    Join Date
    Dec 2013
    Posts
    157
    Reputation
    9
    Rep Power
    0
    nice....

  9. #9
    Moderator mistgun's Avatar
    Join Date
    Dec 2013
    Location
    Lodz, Poland
    Posts
    1,821
    Reputation
    220
    Rep Power
    26
    theres other function to open backpack: openbps()

  10. #10
    Free User
    Join Date
    Dec 2013
    Posts
    2
    Reputation
    10
    Rep Power
    0
    really nice job

 

 

Posting Permissions

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