Results 1 to 3 of 3

Thread: Pause all action scripts with death.

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

    Pause all action scripts with death.

    Hello.
    I am using this reconnect action:




    --[[
    Name: Auto Reconnect & Bp Opener by BlakW
    Version: v2.0
    ]]--


    --Account:
    accountNameIs = ("qwe")

    --Password:
    passwordNameIs = ("rty")

    --Character name:
    characterNameIs = ("Blablabla")

    --Main Backpack Name:
    mainBackpackName = ("Red Backpack")

    --Loot Backpack Name:
    lootBackpackName = ("Blue Backpack")

    --Gold Backpack Name:
    goldBackpackName = ("Backpack")


    if (connected == false)
    then
    connect(accountNameIs, passwordNameIs, characterNameIs)
    wait(600, 1800)
    pausewalking(10000)
    if windowcount() == 0
    then
    closewindows()
    wait(1000)
    openitem(mainBackpackName, "back")
    wait(2000)
    resizewindows()
    openitem(lootBackpackName, mainBackpackName, true)
    wait(2000)
    resizewindows()
    openitem(goldBackpackName, mainBackpackName, true)
    wait(2000)
    resizewindows()
    wait(1000)
    end
    setcavebot("yes")
    wait(300)
    settargeting("yes")
    wait(300)
    setlooting("yes")
    wait(1000)
    end



    __
    Is it possible to disable this script if PK/Creature kill me?
    I dont want to reconnect with empty bag and go back to the cave, cuz my char will die again then.

  2. #2
    iBot User
    Join Date
    Aug 2012
    Location
    Chile
    Posts
    197
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    50
    Rep Power
    5
    Use This, Should work

    PHP Code:
    --[[
        
    NameAuto Safe Reconnect by BlakW 
        Version
    v4.0.0
    ]]--
        
       
    --
    Reopen backpacks:
    local reopenBps = ("yes")

    --
    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")

    --
    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

    if (connected == false)
    then
            reconnect
    ()
            
    wait(6001800)
            
    pausewalking(10000)

            if ((
    pzone == true) and (maround(10falseunpack(templeNpcNames)) >= 1
    or (
    pzone == true) and (islocationxyz(32787312767templePositionRange)) 
    or (
    pzone == true) and (islocationxyz(32595327446templePositionRange)) 
    or (
    pzone == true) and (islocationxyz(33213324541templePositionRange)) 
    or (
    pzone == true) and (islocationxyz(32213311337templePositionRange)) 
    or (
    pzone == true) and (islocationxyz(330043149011templePositionRange)) 
    or (
    pzone == true) and (islocationxyz(326493192511templePositionRange)) 
    or (
    pzone == true) and (islocationxyz(33217318148templePositionRange)) 
    or (
    pzone == true) and (islocationxyz(32317328267templePositionRange)) 
    or (
    pzone == true) and (islocationxyz(33194328538templePositionRange)) 
    or  (
    pzone == true) and (islocationxyz(32369322417templePositionRange)) 
    or  (
    pzone == true) and (islocationxyz(32360317827templePositionRange)) 
    or  (
    pzone == true) and (islocationxyz(32957320767templePositionRange)) 
    or  (
    pzone == true) and (islocationxyz(32732316347templePositionRange))  
    or (
    pzone == true) and (islocationxyz(33447313239,  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
    (2500)
        if ((
    reopenBps == ("yes")) and (windowcount() == 0) and (maround(7false) == 0) and (lootbodiescount == 0))
        
    then
            closewindows
    ()
            
    wait(20003500)
            while ((
    windowcount(mainBackpackName) == 0))
            do
                
    openitem(mainBackpackName"back")
                
    wait(2000)
                
    resizewindows()
            
    end
            wait
    (20003500)
            while ((
    windowcount(supBackpackName) == 0) and (windowcount(mainBackpackName) == 1))
            do
                
    openitem(supBackpackNamemainBackpackNametrue)
                
    wait(2000)
                
    resizewindows()
            
    end
            wait
    (20003500)
            while ((
    windowcount(lootBackpackName) == 0) and (windowcount(mainBackpackName) == 1))
            do
                
    openitem(lootBackpackNamemainBackpackNametrue)
                
    wait(2000)
                
    resizewindows()
            
    end
            wait
    (20003500)
            while ((
    windowcount(goldBackpackName) == 0) and (windowcount(mainBackpackName) == 1))
            do
                
    openitem(goldBackpackNamemainBackpackNametrue)
                
    wait(2000)
                
    resizewindows()
            
    end
            wait
    (20003500)
        
    end
        setcavebot
    ("yes")
        
    wait(10002500)
        
    setlooting("yes")
        
    wait(10002500)
        
    settargeting("yes")
        
    wait(20003500)
    end 

  3. #3
    iBot User
    Join Date
    Jun 2012
    Posts
    517
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    132
    Rep Power
    7
    This is nice one.

Posting Permissions

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