Results 1 to 4 of 4

Thread: hunting in pvp worlds

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

    hunting in pvp worlds

    hotkey for turning while using exori vis/etc if a player is infront of you?

  2. #2
    Banned
    Join Date
    May 2012
    Posts
    680
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    24
    Rep Power
    0
    Settings > Targeting > Settings > PlayerOnScreenSecurity isn't enough? I'm playing non-pvp so not quite exactly sure how it works.

  3. #3
    Normal User
    Join Date
    Aug 2012
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    with that setting it completely doesn't use any spells if someone is on the screen

  4. #4
    iScripter Eli's Avatar
    Join Date
    Mar 2012
    Posts
    3,764
    Mentioned
    492 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    955 Post(s)
    Reputation
    586
    Rep Power
    10
    Made by Sirmate

    PHP Code:
    local function isPlayerOnTile(POSITION_XPOSITION_YPOSITION_Z)
        
    local TILE_DATA gettile(POSITION_XPOSITION_YPOSITION_Z)
        
        for 
    CURRENT_INDEX 0TILE_DATA.count do
            if (
    TILE_DATA.items[CURRENT_INDEX].id == 99 and TILE_DATA.items[CURRENT_INDEX].count <= 0x40000000then
                
    return true
            end
        end
        
        
    return false
    end


    if (30 >= target.hppc and target.id and paround(4) > 0then
        local POSITIONS
    FREE_DIRECTIONS = {{0= -1DIR = [[n]]}, {10DIR = [[e]]}, {01DIR = [[s]]}, {= -10DIR = [[w]]}}, {}
            
        if (
    isPlayerOnTile(posx POSITIONS[getcreature(id).direction 1].Xposy POSITIONS[getcreature(id).direction 1].Yposz)) then
            
    for _POSITION in ipairs(POSITIONS) do
                if (
    not isPlayerOnTile(posx POSITION.Xposy POSITION.Yposz)) then
                    table
    .insert(FREE_DIRECTIONSPOSITION.DIR)
                
    end
            end
            
            
    if(#FREE_DIRECTIONS > 0) then
                
    local TURN_DIRECTION FREE_DIRECTIONS[math.random(#FREE_DIRECTIONS)]


                
    while ((({[[n]], [[e]], [[s]], [[w]]})[getcreature(id).direction 1]) ~= TURN_DIRECTION) do
                    
    turn(TURN_DIRECTIONwait(2575)
                
    end
            end
        end
    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
  •