Results 1 to 10 of 10

Thread: Reconect and open bp's?

  1. #1
    Normal User
    Join Date
    Jun 2012
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Reconect and open bp's?

    can someone help me getting a reconect script and open backpacks?

    Also after reconect it must pause cavebot and targeting open backpacks then enable cavebot and targeting any help?
    Last edited by hcapelas; 07-10-2012 at 12:46 PM.

  2. #2
    Normal User
    Join Date
    Jun 2012
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    local accountName = "acc"
    local password = "pass"
    local characterName = "char"

    --DO NOT EDIT BELOW!

    if (connected == false) then
    while (connected == false) do
    connect(accountName, password, characterName)
    wait(3000,5000)

    setsettings(cavebot off and targetting off)

    closewindows()
    wait(500, 1000)
    openitem(MainBP, 'back')
    wait(500, 1000)
    resizewindows()
    wait(500, 1000)
    openitem(LootBP, MainBP, true)
    wait(500, 1000)
    resizewindows()
    wait(500, 1000)
    openitem(GoldBP, MainBP, true)
    wait(500, 1000)
    resizewindows()

    setsettings(cavebot on and targetting on)

    end
    end

    something like that

  3. #3
    Normal User
    Join Date
    Jun 2012
    Posts
    271
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    5
    Rep Power
    0
    Quote Originally Posted by hcapelas View Post
    local accountName = "acc"
    local password = "pass"
    local characterName = "char"

    --DO NOT EDIT BELOW!

    if (connected == false) then
    while (connected == false) do
    connect(accountName, password, characterName)
    wait(3000,5000)

    setsettings(cavebot off and targetting off)

    closewindows()
    wait(500, 1000)
    openitem(MainBP, 'back')
    wait(500, 1000)
    resizewindows()
    wait(500, 1000)
    openitem(LootBP, MainBP, true)
    wait(500, 1000)
    resizewindows()
    wait(500, 1000)
    openitem(GoldBP, MainBP, true)
    wait(500, 1000)
    resizewindows()

    setsettings(cavebot on and targetting on)

    end
    end

    something like that
    PHP Code:
    local accountName "acc" 
    local password "pass" 
    local characterName "char" 

    --DO NOT EDIT BELOW

    if (
    connected == falsethen 
        
    while (connected == false) do 
            
    connect(accountNamepasswordcharacterName
            
    wait(3000,5000
    setcavebot('off')
    settargeting('no')
    closewindows()
    wait(5001000)
    openitem(MainBP'back')
    wait(5001000)
    resizewindows() 
    wait(5001000)
    openitem(LootBPMainBPtrue)
    wait(5001000)
    resizewindows() 
    wait(5001000)
    openitem(GoldBPMainBPtrue)
    wait(5001000)
    resizewindows()
    setcavebot('on')
    settargeting('yes'
    or
    PHP Code:
    local accountName "acc" 
    local password "pass" 
    local characterName "char" 

    --DO NOT EDIT BELOW

    if (
    connected == falsethen 
        
    while (connected == false) do 
            
    connect(accountNamepasswordcharacterName
            
    wait(3000,5000
    setcavebot("off")
    settargeting("no")
    closewindows()
    wait(5001000)
    openitem(MainBP'back')
    wait(5001000)
    resizewindows() 
    wait(5001000)
    openitem(LootBPMainBPtrue)
    wait(5001000)
    resizewindows() 
    wait(5001000)
    openitem(GoldBPMainBPtrue)
    wait(5001000)
    resizewindows()
    setcavebot("on")
    settargeting("yes"
    I don't remember.

  4. #4
    Normal User
    Join Date
    Jun 2012
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    anyone remembers if it is setcavebot('on') or setcavebot("on") ?
    anyways thanks magnus (;

  5. #5
    Normal User
    Join Date
    Jun 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5
    it's with " "

  6. #6
    Normal User
    Join Date
    Jun 2012
    Posts
    271
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    5
    Rep Power
    0
    Quote Originally Posted by hcapelas View Post
    anyone remembers if it is setcavebot('on') or setcavebot("on") ?
    anyways thanks magnus (;

    /ADMIN PLEASE CLOSE

  7. #7
    Normal User
    Join Date
    Jun 2012
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    it doesnt need the variable end?

  8. #8
    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
    Quote Originally Posted by straher View Post
    it's with " "
    It's with either. Both will work the same.

  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
    Quote Originally Posted by hcapelas View Post
    it doesnt need the variable end?
    It would.

    Also, putting that into 1 script would be a stupid idea.

    You should have one script for your Auto-Reconnect, then a second one to open bags, and have it more like this...

    PHP Code:
    if maround(10) == and windowcount() < 3 then 

    pausewalking
    (7000)
    closewindows()
    wait(500,1000)
    openitem(mainBp'back')
    wait(500,1000)
    openitem(lootBpmainBptrue)
    wait(5001000)
    openitem(goldBpmainBptrue)
    wait(5001000)
    resizewindows() 
    wait(5001000)


    end 
    Be sure to change the window count depending on how many bags you are going to open

    What happens if you disconnect due to lag, log back into the middle of a large spawn and turn off your targeting and try to open backpacks....??

    Doing it this way will instead, kill all the monsters, then when they are all dead, check if your bags are open and open them if they are not.

    Using the above script, you are just asking to die.

  10. #10
    Normal User RafiXWPT's Avatar
    Join Date
    Jun 2012
    Location
    (Poland) http://rafixwptscripts.com
    Posts
    1,602
    Mentioned
    31 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    128 Post(s)
    Reputation
    128
    Rep Power
    9
    the best will be:

    PHP Code:
    local accountName "acc" 
    local password "pass" 
    local characterName "char" 

    --DO NOT EDIT BELOW

    if (
    connected == falsethen 
        
    while (connected == false) do 
            
    connect(accountNamepasswordcharacterName
            
    wait(3000,5000)
        
    end
    setcavebot
    ('off')
    settargeting('off')
    while 
    windowcount() < do 
    closewindows()
    wait(2000)
    openitem(MainBP'back')
    wait(2000)
    resizewindows() 
    wait(2000)
    openitem(LootBPMainBPtrue)
    wait(2000)
    resizewindows() 
    wait(2000)
    openitem(GoldBPMainBPtrue)
    wait(5001000)
    resizewindows()
    end
    setcavebot
    ('on')
    settargeting('on'
    end 

Posting Permissions

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