Signup Now
Results 1 to 7 of 7
  1. #1
    Free User
    Join Date
    Dec 2013
    Posts
    31
    Reputation
    17
    Rep Power
    0

    Safe list x player this hotkey

    This hotkey This hotkey with safe list

    auto(200)
    if ($wptsection == "anti" or $wptsection == "spawn" or $wptsection == "spawnbeta") and not $trapped and paround(8) >= 1 then
    setsetting('Looting/Enabled', 'no')
    setsetting('Targeting/Enabled', 'no')
    gotolabel(0, "Chao")
    end

  2. #2
    Free User Cisco's Avatar
    Join Date
    Aug 2014
    Location
    Brazil
    Posts
    1,423
    Reputation
    119
    Rep Power
    24
    Quote Originally Posted by ricardoarteaga View Post
    This hotkey This hotkey with safe list

    auto(200)
    if ($wptsection == "anti" or $wptsection == "spawn" or $wptsection == "spawnbeta") and not $trapped and paround(8) >= 1 then
    setsetting('Looting/Enabled', 'no')
    setsetting('Targeting/Enabled', 'no')
    gotolabel(0, "Chao")
    end
    auto(1000)

    local CheckPlayer = true
    local NumberPlayers = 0 -- larger NumberPlayers ( > 0 )
    local SafeListPlayers = {'name1', 'name2'}
    local HuntSectios = {'anti', 'spawn', 'spawnbeta'}
    local Print = true
    local WarningConsole = true

    if $connected then
    if table.find(HuntSectios, $wptsection) then
    if CheckPlayer then
    if paroundreachable(10) - paroundreachable(10, unpack(SafeListPlayers)) > NumberPlayers then
    setsetting('Looting/Enabled', 'no')
    setsetting('Targeting/Enabled', 'no')
    if Print then
    screenshot()
    wait(1000)
    end
    if WarningConsole then
    print('Players not SafeListPlayers on the Hunt')
    end
    gotolabel(0, "Chao")
    end
    end
    end
    end

  3. #3
    Free User
    Join Date
    Dec 2013
    Posts
    31
    Reputation
    17
    Rep Power
    0

    Not Working

    Quote Originally Posted by Cisco View Post
    auto(1000)

    local CheckPlayer = true
    local NumberPlayers = 0 -- larger NumberPlayers ( > 0 )
    local SafeListPlayers = {'name1', 'name2'}
    local HuntSectios = {'anti', 'spawn', 'spawnbeta'}
    local Print = true
    local WarningConsole = true

    if $connected then
    if table.find(HuntSectios, $wptsection) then
    if CheckPlayer then
    if paroundreachable(10) - paroundreachable(10, unpack(SafeListPlayers)) > NumberPlayers then
    setsetting('Looting/Enabled', 'no')
    setsetting('Targeting/Enabled', 'no')
    if Print then
    screenshot()
    wait(1000)
    end
    if WarningConsole then
    print('Players not SafeListPlayers on the Hunt')
    end
    gotolabel(0, "Chao")
    end
    end
    end
    end
    it does not work, I need when I see anyone change to the label "chao" With a safe list

  4. #4
    Free User Cisco's Avatar
    Join Date
    Aug 2014
    Location
    Brazil
    Posts
    1,423
    Reputation
    119
    Rep Power
    24
    @ricardoarteaga

    paroundreachable ... Looks like it's not working. It is returning all values as false, so it did not work I will switch to paround().

    auto(1000)

    local CheckPlayer = true
    local NumberPlayers = 0 -- larger NumberPlayers ( > 0 )
    local SafeListPlayers = {'name1', 'name2'}
    local HuntSectios = {'anti', 'spawn', 'spawnbeta'}
    local Print = true
    local WarningConsole = true

    if $connected then
    if table.find(HuntSectios, $wptsection) then
    if CheckPlayer then
    if paround(10) - paround(10, unpack(SafeListPlayers)) > NumberPlayers then
    setsetting('Looting/Enabled', 'no')
    setsetting('Targeting/Enabled', 'no')
    if Print then
    screenshot()
    wait(1000)
    end
    if WarningConsole then
    print('Players not SafeListPlayers on the Hunt')
    end
    gotolabel(0, "Chao")
    end
    end
    end
    end


    Now it will work, I tested it now.

  5. #5
    Free User
    Join Date
    Dec 2013
    Posts
    31
    Reputation
    17
    Rep Power
    0

    =)

    Quote Originally Posted by Cisco View Post
    @ricardoarteaga

    paroundreachable ... Looks like it's not working. It is returning all values as false, so it did not work I will switch to paround().

    auto(1000)

    local CheckPlayer = true
    local NumberPlayers = 0 -- larger NumberPlayers ( > 0 )
    local SafeListPlayers = {'name1', 'name2'}
    local HuntSectios = {'anti', 'spawn', 'spawnbeta'}
    local Print = true
    local WarningConsole = true

    if $connected then
    if table.find(HuntSectios, $wptsection) then
    if CheckPlayer then
    if paround(10) - paround(10, unpack(SafeListPlayers)) > NumberPlayers then
    setsetting('Looting/Enabled', 'no')
    setsetting('Targeting/Enabled', 'no')
    if Print then
    screenshot()
    wait(1000)
    end
    if WarningConsole then
    print('Players not SafeListPlayers on the Hunt')
    end
    gotolabel(0, "Chao")
    end
    end
    end
    end


    Now it will work, I tested it now.

    thanks friend! It works now

  6. #6
    Free User
    Join Date
    Dec 2013
    Posts
    31
    Reputation
    17
    Rep Power
    0

    +1 up floor

    Quote Originally Posted by Cisco View Post
    @ricardoarteaga

    paroundreachable ... Looks like it's not working. It is returning all values as false, so it did not work I will switch to paround().

    auto(1000)

    local CheckPlayer = true
    local NumberPlayers = 0 -- larger NumberPlayers ( > 0 )
    local SafeListPlayers = {'name1', 'name2'}
    local HuntSectios = {'anti', 'spawn', 'spawnbeta'}
    local Print = true
    local WarningConsole = true

    if $connected then
    if table.find(HuntSectios, $wptsection) then
    if CheckPlayer then
    if paround(10) - paround(10, unpack(SafeListPlayers)) > NumberPlayers then
    setsetting('Looting/Enabled', 'no')
    setsetting('Targeting/Enabled', 'no')
    if Print then
    screenshot()
    wait(1000)
    end
    if WarningConsole then
    print('Players not SafeListPlayers on the Hunt')
    end
    gotolabel(0, "Chao")
    end
    end
    end
    end


    Now it will work, I tested it now.


    It is possible that even when it is on an upper floor, it goes to the "Chao" label too?

  7. #7
    Free User Cisco's Avatar
    Join Date
    Aug 2014
    Location
    Brazil
    Posts
    1,423
    Reputation
    119
    Rep Power
    24
    @ricardoarteaga

    No. The maximum verification he does is around his screen which is 10 sqm around his char.
    The only difference is between paround() and paroundreachable() ...

    paround() --> checks for players around the screen (10 sqm)
    paroundreachable() --> checks for players around the screen (10 sqm) and whether they are accessible. Example: there are two nearby caves and they divide the same wall if you have a player in that other cave the bot will not consider it, since it is not accessible.

 

 

Posting Permissions

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