Page 1 of 30 12311 ... LastLast
Results 1 to 10 of 295

Thread: Auto Reconnect + Safe Temple + Backpack Opener

  1. #1
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    817
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    345 Post(s)
    Reputation
    462
    Rep Power
    10

    Auto Reconnect + Safe Temple + Backpack Opener


    Auto Reconnect Action + Safe Temple + Backpack Opener

    Description: If character log off it will reconnect on last logged character, it will close Tibia Client if character is inside a temple or a temple NPC is visible on screen.


    How to add it to your scripts:
    1. Create a new action on Actions > List.
    2. Copy/Paste action code.
    3. Enable/Disable the options you desire.
    4. Set SpamRate to 10000 / 15000.
    5. Enable.


    Action Code:
    Lua Code:
     
    --[[
        Name: Auto Safe Reconnect Full by BlakW 
        Version: v6.0.0
    ]]--
     
     
    --Reopen backpacks:
    local reopenBps = ("yes")
     
    ----- Account Settings -----
    --Account Name:
    local accountName = "asdfghjk"
     
    --Account Password:
    local accountPw = "123456789"
     
    --Character to connect:
    local accountChar = "BlakW"
     
     
    ----- Backpack Name Settings -----
    --Main Backpack Name:
    local mainBackpackName = ("Backpack of Holding")
     
    --Loot Backpack Name:
    local lootBackpackName = ("Blue Backpack")
     
    --Supplies Backpack Name:
    local supBackpackName = ("Green Backpack")
     
    --Gold Backpack Name:
    local goldBackpackName = ("Golden Backpack")
     
     
    ----- Backpacks to Use -----
    --Use Main Backpack:
    local useMainBackpack = ("yes")
     
    --Use Loot Backpack:
    local useLootBackpack = ("yes")
     
    --Use Supplies Backpack:
    local useSuppliesBackpack = ("yes")
     
    --Use Gold Backpack:
    local useGoldBackpack = ("yes")
     
     
    ----- Safe Temple Settings -----
    --Temple NPCs:
    local templeNpcNames = {"Alia", "Tyrias", "Brewster", "Rahkem", "Kasmir", "Amanda", "Isimov", "Yberius", "Maealil", "Quentin", "Lynda", "Lorietta", "Prezil", "Kjesse", "Asralius"}
     
    --Temple Position Range (sqm):
    local templePositionRange = 7
     
     
    ----- Engine [Do not edit unless you know what you are doing] -----
    if (connected == false and dead == false)
    then
            connect(accountName, accountPw, accountChar)
            wait(600, 1800)
            pausewalking(10000)
     
            if ((pzone == true) and (maround(10, false, unpack(templeNpcNames)) >= 1) 
    or (pzone == true) and (islocationxyz(32787, 31276, 7, templePositionRange)) 
    or (pzone == true) and (islocationxyz(32595, 32744, 6, templePositionRange)) 
    or (pzone == true) and (islocationxyz(33213, 32454, 1, templePositionRange)) 
    or (pzone == true) and (islocationxyz(32213, 31133, 7, templePositionRange)) 
    or (pzone == true) and (islocationxyz(33004, 31490, 11, templePositionRange)) 
    or (pzone == true) and (islocationxyz(32649, 31925, 11, templePositionRange)) 
    or (pzone == true) and (islocationxyz(33217, 31814, 8, templePositionRange)) 
    or (pzone == true) and (islocationxyz(32317, 32826, 7, templePositionRange)) 
    or (pzone == true) and (islocationxyz(33194, 32853, 8, templePositionRange)) 
    or (pzone == true) and (islocationxyz(32369, 32241, 7, templePositionRange)) 
    or (pzone == true) and (islocationxyz(32360, 31782, 7, templePositionRange)) 
    or (pzone == true) and (islocationxyz(32957, 32076, 7, templePositionRange)) 
    or (pzone == true) and (islocationxyz(32732, 31634, 7, templePositionRange))  
    or (pzone == true) and (islocationxyz(33447, 31323, 9,  templePositionRange)))
            then
            wait(1500)
            closetibia()
            wait(1500)
            message("Reconnect Message: Tibia client has been closed because character was inside a temple. This is to protect your character from being killed by other players.")
        end  
     
        wait(1000, 1500)
        setcavebot("no")
        wait(1000, 2500)
        setlooting("no")
        wait(1000, 2500)
        settargeting("no")
     
        wait(2500)
        if ((reopenBps == ("yes")) and (windowcount() == 0) and (maround(7, false) == 0) and (lootbodiescount == 0))
        then
            closewindows()
            wait(2000, 3500)
            while ((windowcount(mainBackpackName) == 0) and (useMainBackpack == ("yes")))
            do
                openitem(mainBackpackName, "back")
                wait(2000)
                resizewindows()
            end
            wait(2000, 3500)
            while ((windowcount(supBackpackName) == 0) and (windowcount(mainBackpackName) == 1) and (useSuppliesBackpack == ("yes")))
            do
                openitem(supBackpackName, mainBackpackName, true)
                wait(2000)
                resizewindows()
            end
            wait(2000, 3500)
            while ((windowcount(lootBackpackName) == 0) and (windowcount(mainBackpackName) == 1) and (useLootBackpack == ("yes")))
            do
                openitem(lootBackpackName, mainBackpackName, true)
                wait(2000)
                resizewindows()
            end
            wait(2000, 3500)
            while ((windowcount(goldBackpackName) == 0) and (windowcount(mainBackpackName) == 1) and (useGoldBackpack == ("yes")))
            do
                openitem(goldBackpackName, mainBackpackName, true)
                wait(2000)
                resizewindows()
            end
            wait(2000, 3500)
        end
        wait(10000, 15000)
        setcavebot("yes")
        wait(1000, 2500)
        setlooting("yes")
        wait(1000, 2500)
        settargeting("yes")
        wait(2000, 3500)
    end


    Notes:
    • Do not use Brown Backpacks.
    • Backpack Opener might not work if Tibia Client is minimized.
    • Make sure you have Tibia Classic Controls enabled (Tibia > Options > General).





    In case you are facing problems with Open Backpacks try using this 2 actions instead (do not use the previous one while using the below ones):

    Step A:
    1. Create a new action on Actions > List.
    2. Copy/Paste action code.
    3. Enable/Disable the options you desire.
    4. Set SpamRate to 10000 / 15000.
    5. Enable.


    Action Code:
    Lua Code:
     
    --[[
        Name: Auto Safe Reconnect Lite by BlakW 
        Version: v6.0.0
    ]]--
     
     
    ----- Account Settings -----
    --Account Name:
    local accountName = "asdfghjk"
     
    --Account Password:
    local accountPw = "123456789"
     
    --Character to connect:
    local accountChar = "BlakW"
     
     
    ----- Safe Temple Settings -----
    --Temple NPCs:
    local templeNpcNames = {"Alia", "Tyrias", "Brewster", "Rahkem", "Kasmir", "Amanda", "Isimov", "Yberius", "Maealil", "Quentin", "Lynda", "Lorietta", "Prezil", "Kjesse", "Asralius"}
     
    --Temple Position Range (sqm):
    local templePositionRange = 7
     
     
    ----- Engine [Do not edit unless you know what you are doing] -----
    if (connected == false and dead == false)
    then
            connect(accountName, accountPw, accountChar)
            wait(600, 1800)
            pausewalking(10000)
     
            if ((pzone == true) and (maround(10, false, unpack(templeNpcNames)) >= 1) 
    or (pzone == true) and (islocationxyz(32787, 31276, 7, templePositionRange)) 
    or (pzone == true) and (islocationxyz(32595, 32744, 6, templePositionRange)) 
    or (pzone == true) and (islocationxyz(33213, 32454, 1, templePositionRange)) 
    or (pzone == true) and (islocationxyz(32213, 31133, 7, templePositionRange)) 
    or (pzone == true) and (islocationxyz(33004, 31490, 11, templePositionRange)) 
    or (pzone == true) and (islocationxyz(32649, 31925, 11, templePositionRange)) 
    or (pzone == true) and (islocationxyz(33217, 31814, 8, templePositionRange)) 
    or (pzone == true) and (islocationxyz(32317, 32826, 7, templePositionRange)) 
    or (pzone == true) and (islocationxyz(33194, 32853, 8, templePositionRange)) 
    or (pzone == true) and (islocationxyz(32369, 32241, 7, templePositionRange)) 
    or (pzone == true) and (islocationxyz(32360, 31782, 7, templePositionRange)) 
    or (pzone == true) and (islocationxyz(32957, 32076, 7, templePositionRange)) 
    or (pzone == true) and (islocationxyz(32732, 31634, 7, templePositionRange))  
    or (pzone == true) and (islocationxyz(33447, 31323, 9,  templePositionRange)))
            then
            wait(1500)
            closetibia()
            wait(1500)
            message("Reconnect Message: Tibia client has been closed because character was inside a temple. This is to protect your character from being killed by other players.")
        end
        wait(10000, 15000)
        setcavebot("yes")
        wait(1000, 2500)
        setlooting("yes")
        wait(1000, 2500)
        settargeting("yes")
        wait(2000, 3500)
    end



    Step B:
    1. Create a new action on Actions > List.
    2. Copy/Paste action code.
    3. Enable/Disable the options you desire.
    4. Set SpamRate to 10000 / 15000.
    5. Enable.


    Action Code:
    Lua Code:
     
    --[[
        Name: Auto Open Backpacks by BlakW 
        Version: v1.0.0
    ]]--
     
     
    ----- Backpack Name Settings -----
    --Main Backpack Name:
    local mainBackpackName = ("Backpack of Holding")
     
    --Loot Backpack Name:
    local lootBackpackName = ("Blue Backpack")
     
    --Supplies Backpack Name:
    local supBackpackName = ("Green Backpack")
     
    --Gold Backpack Name:
    local goldBackpackName = ("Golden Backpack")
     
     
    ----- Backpacks to Use -----
    --Use Main Backpack:
    local useMainBackpack = ("yes")
     
    --Use Loot Backpack:
    local useLootBackpack = ("yes")
     
    --Use Supplies Backpack:
    local useSuppliesBackpack = ("yes")
     
    --Use Gold Backpack:
    local useGoldBackpack = ("yes")
     
     
    ----- Engine [Do not edit unless you know what you are doing] -----
    if (connected == true)
    then
        if ((windowcount() == 0) and (maround(7, false) == 0) and (lootbodiescount == 0))
        then
            closewindows()
            wait(2000, 3500)
            while ((windowcount(mainBackpackName) == 0) and (useMainBackpack == ("yes")))
            do
                openitem(mainBackpackName, "back")
                wait(2000)
                resizewindows()
            end
            wait(2000, 3500)
            while ((windowcount(supBackpackName) == 0) and (windowcount(mainBackpackName) == 1) and (useSuppliesBackpack == ("yes")))
            do
                openitem(supBackpackName, mainBackpackName, true)
                wait(2000)
                resizewindows()
            end
            wait(2000, 3500)
            while ((windowcount(lootBackpackName) == 0) and (windowcount(mainBackpackName) == 1) and (useLootBackpack == ("yes")))
            do
                openitem(lootBackpackName, mainBackpackName, true)
                wait(2000)
                resizewindows()
            end
            wait(2000, 3500)
            while ((windowcount(goldBackpackName) == 0) and (windowcount(mainBackpackName) == 1) and (useGoldBackpack == ("yes")))
            do
                openitem(goldBackpackName, mainBackpackName, true)
                wait(2000)
                resizewindows()
            end
            wait(2000, 3500)
        end
    end


    Notes:
    • Do not use Brown Backpacks.
    • Backpack Opener might not work if Tibia Client is minimized.
    • Make sure you have Tibia Classic Controls enabled (Tibia > Options > General).
    Last edited by blakw; 11-10-2013 at 03:06 PM.


    ------------------------------------Latest Releases:------------------------------------
    Vocations:
    Darashia Lions Rock
    Oramond Seacrest Serpents X1

    For a better iBot!

    (◣_◢)

  2. #2
    iBot User Nosekim's Avatar
    Join Date
    Feb 2012
    Posts
    1,089
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    70
    Rep Power
    7
    thx blakw

  3. #3
    Normal User
    Join Date
    May 2012
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    good job ! but you can add ex. open bps after login;]

  4. #4
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    817
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    345 Post(s)
    Reputation
    462
    Rep Power
    10
    Quote Originally Posted by echoos193 View Post
    good job ! but you can add ex. open bps after login;]
    That could mess when someone wants to reset backpacks after buying supplies or depositing cash so a I recommend the use of action to check if backpacks are open and reopen if any required is closed at start of each hunt round.


    ------------------------------------Latest Releases:------------------------------------
    Vocations:
    Darashia Lions Rock
    Oramond Seacrest Serpents X1

    For a better iBot!

    (◣_◢)

  5. #5
    iBot User lele's Avatar
    Join Date
    Feb 2012
    Location
    Erechim - RS
    Posts
    426
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    20
    Rep Power
    5
    Niiiiiiiice blakw, you are pro!

  6. #6
    iBot User NoMercy's Avatar
    Join Date
    Feb 2012
    Location
    São Paulo, Brazil
    Posts
    1,311
    Mentioned
    26 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    39 Post(s)
    Reputation
    120
    Rep Power
    8
    Good job blakw

  7. #7
    Normal User jotapexd's Avatar
    Join Date
    Apr 2012
    Posts
    131
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    thx Blakw U are so pro ;p

  8. #8
    Banned
    Join Date
    Mar 2012
    Posts
    99
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    0
    very nice. thanks

  9. #9
    Normal User
    Join Date
    Apr 2012
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    very nice, thanks !

  10. #10
    iBot User
    Join Date
    Mar 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    I just need to copy all and put it on actions>list???

Tags for this Thread

Posting Permissions

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