Results 1 to 4 of 4

Thread: Need hotkey for reconnect and go to waypoint

  1. #1
    Normal User AnAnAs's Avatar
    Join Date
    Mar 2012
    Location
    Poland
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    9
    Rep Power
    0

    Need hotkey for reconnect and go to waypoint

    Need hotkey for reconnect.CHar if reconnect go to wyapoint "name of waypoint"

  2. #2
    Normal User
    Join Date
    Sep 2012
    Posts
    79
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    local accountName = "123456"
    local password = "abcdef"
    local characterName = "Character"

    --DO NOT EDIT BELOW!

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

  3. #3
    Normal User Henkz's Avatar
    Join Date
    May 2012
    Location
    Afghanistan
    Posts
    331
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    50
    Rep Power
    5
    PHP Code:
    --[[
        
    NameAuto Safe Reconnect by BlakW 
        Version
    v5.0.0
    ]]--
     
     
    --
    Reopen backpacks:
    local reopenBps = ("yes")
     
     
    ----- 
    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)
    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) and (useMainBackpack == ("yes")))
            do
                
    openitem(mainBackpackName"back")
                
    wait(2000)
                
    resizewindows()
            
    end
            wait
    (20003500)
            while ((
    windowcount(supBackpackName) == 0) and (windowcount(mainBackpackName) == 1) and (useSuppliesBackpack == ("yes")))
            do
                
    openitem(supBackpackNamemainBackpackNametrue)
                
    wait(2000)
                
    resizewindows()
            
    end
            wait
    (20003500)
            while ((
    windowcount(lootBackpackName) == 0) and (windowcount(mainBackpackName) == 1) and (useLootBackpack == ("yes")))
            do
                
    openitem(lootBackpackNamemainBackpackNametrue)
                
    wait(2000)
                
    resizewindows()
            
    end
            wait
    (20003500)
            while ((
    windowcount(goldBackpackName) == 0) and (windowcount(mainBackpackName) == 1) and (useGoldBackpack == ("yes")))
            do
                
    openitem(goldBackpackNamemainBackpackNametrue)
                
    wait(2000)
                
    resizewindows()
            
    end
            wait
    (20003500)
        
    end
        setcavebot
    ("yes")
        
    wait(10002500)
        
    setlooting("yes")
        
    wait(10002500)
        
    settargeting("yes")
        
    wait(20003500)
    end 
    Just add this to action list and config backpacks.

    All credits to Blakw

  4. #4
    Normal User AnAnAs's Avatar
    Join Date
    Mar 2012
    Location
    Poland
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    9
    Rep Power
    0
    Ok Thanks Bro

Posting Permissions

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