Results 1 to 6 of 6

Thread: Edit my action plx

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

    Edit my action plx

    I use to bot on a no pvp server and the action im using has player safe when a player is on the screen i only atack with exori hur/ico and thats dangerous con im using luring mode and many tiemes im surrounded by monsters, here is the action

    PHP Code:
    local creaturesToHit = {"Crawler""Insectoid Worker""Swarmer""Waspoid""Spitter""Kollos""Spidris""Spidris Elite"}

    if 
    targeting and
    ((
    getsettings("Settings\\Targeting\\Monsters\\Spitter\\OnlyIfTrapped") == "no" and
    getsettings("Settings\\Targeting\\Monsters\\Crawler\\OnlyIfTrapped") == "no" and
    getsettings("Settings\\Targeting\\Monsters\\Insectoid-Worker\\OnlyIfTrapped") == "no" and 
    getsettings("Settings\\Targeting\\Monsters\\Swarmer\\OnlyIfTrapped") == "no" and 
    getsettings("Settings\\Targeting\\Monsters\\Waspoid\\OnlyIfTrapped") == "no")
    or
    ((
    getsettings("Settings\\Targeting\\Monsters\\Spitter\\OnlyIfTrapped") == "yes" or
    getsettings("Settings\\Targeting\\Monsters\\Crawler\\OnlyIfTrapped") == "yes" or
    getsettings("Settings\\Targeting\\Monsters\\Insectoid-Worker\\OnlyIfTrapped") == "yes" or
    getsettings("Settings\\Targeting\\Monsters\\Swarmer\\OnlyIfTrapped") == "yes" or
    getsettings("Settings\\Targeting\\Monsters\\Waspoid\\OnlyIfTrapped") == "yes") and target.id ~= 0)) then
        
    if (maround(1unpack(creaturesToHit)) >= 4) or (maround(1"Spidris""Spitter""Kollos""Spidris Elite") >= 3then
            
    if (paround(7true) == 0then
                
    if cancast("exori"then
                    cast
    ("exori")
                    
    wait(3090)
                elseif 
    cancast("exori gran"then
                    cast
    ("exori gran")
                    
    wait(3090)    
                elseif 
    cancast("exori min") and ((iscreatureontile(posx-1posy-1posz) and iscreatureontile(posxposy-1posz) and iscreatureontile(posx+1posy-1posz)) or (iscreatureontile(posx-1posy-1posz) and iscreatureontile(posx-1posyposz) and iscreatureontile(posx-1posy+1posz)) or (iscreatureontile(posx-1posy+1posz) and iscreatureontile(posxposy+1posz) and  iscreatureontile(posx+1posy+1posz)) or (iscreatureontile(posx+1posy-1posz) and iscreatureontile(posx+1posyposz) and iscreatureontile(posx+1posy+1posz))) then
                    
    if iscreatureontile(posx-1posy-1posz) and iscreatureontile(posxposy-1posz) and iscreatureontile(posx+1posy-1poszthen
                        turn
    ("n")
                        
    wait(100150)
                        
    cast("exori min")
                    elseif 
    iscreatureontile(posx-1posy-1posz) and iscreatureontile(posx-1posyposz) and iscreatureontile(posx-1posy+1poszthen
                        turn
    ("w")
                        
    wait(100150)
                        
    cast("exori min")
                    elseif 
    iscreatureontile(posx-1posy+1posz) and iscreatureontile(posxposy+1posz) and  iscreatureontile(posx+1posy+1poszthen
                        turn
    ("s")
                        
    wait(100150)
                        
    cast("exori min")
                    elseif 
    iscreatureontile(posx+1posy-1posz) and iscreatureontile(posx+1posyposz) and iscreatureontile(posx+1posy+1poszthen
                        turn
    ("e")
                        
    wait(100150)
                        
    cast("exori min")
                    
    end
                end
            end
            
            
    if target.id ~= 0 then
                
    if cancast("exori ico"then
                    cast
    ("exori ico")
                    
    wait(3090)
                elseif 
    cancast("exori hur"then
                    cast
    ("exori hur")
                    
    wait(3090)
                
    end
            end
        
    elseif (maround(1unpack(creaturesToHit)) == 3then
            
    if (paround(7true) == 0then
                
    if cancast("exori min") and ((iscreatureontile(posx-1posy-1posz) and iscreatureontile(posxposy-1posz) and iscreatureontile(posx+1posy-1posz)) or (iscreatureontile(posx-1posy-1posz) and iscreatureontile(posx-1posyposz) and iscreatureontile(posx-1posy+1posz)) or (iscreatureontile(posx-1posy+1posz) and iscreatureontile(posxposy+1posz) and  iscreatureontile(posx+1posy+1posz)) or (iscreatureontile(posx+1posy-1posz) and iscreatureontile(posx+1posyposz) and iscreatureontile(posx+1posy+1posz))) then
                    
    if iscreatureontile(posx-1posy-1posz) and iscreatureontile(posxposy-1posz) and iscreatureontile(posx+1posy-1poszthen
                        turn
    ("n")
                        
    wait(100150)
                        
    cast("exori min")
                    elseif 
    iscreatureontile(posx-1posy-1posz) and iscreatureontile(posx-1posyposz) and iscreatureontile(posx-1posy+1poszthen
                        turn
    ("w")
                        
    wait(100150)
                        
    cast("exori min")
                    elseif 
    iscreatureontile(posx-1posy+1posz) and iscreatureontile(posxposy+1posz) and  iscreatureontile(posx+1posy+1poszthen
                        turn
    ("s")
                        
    wait(100150)
                        
    cast("exori min")
                    elseif 
    iscreatureontile(posx+1posy-1posz) and iscreatureontile(posx+1posyposz) and iscreatureontile(posx+1posy+1poszthen
                        turn
    ("e")
                        
    wait(100150)
                        
    cast("exori min")
                    
    end
                
    elseif cancast("exori"then
                    cast
    ("exori")
                    
    wait(3090)
                
    end
            end
            
            
    if target.id ~= 0 then
                
    if cancast("exori ico"then
                    cast
    ("exori ico")
                    
    wait(3090)
                elseif 
    cancast("exori hur"then
                    cast
    ("exori hur")
                    
    wait(3090)
                
    end
            end
        
    elseif (maround(1unpack(creaturesToHit)) == 2then
            
    if target.id ~= 0 then
                
    if cancast("exori ico"then
                    cast
    ("exori ico")
                    
    wait(3090)
                elseif 
    cancast("exori hur"then
                    cast
    ("exori hur")
                    
    wait(3090)
                
    end
            end    
            
            
    if (paround(7true) == 0) and cancast("exori"then
                cast
    ("exori")
                
    wait(3090)
            
    end    
        
    elseif (maround(1) >= 1)and target.id ~= 0 then
            
    if cancast("exori ico"then
                cast
    ("exori ico")
                
    wait(3090)
            elseif 
    cancast("exori hur"then
                cast
    ("exori hur")
                
    wait(3090)
            
    end
        
    elseif (maround(7unpack(creaturesToHit)) >= 1) and target.id ~= and target.isshootable then
            
    if cancast("exori hur"then
                cast
    ("exori hur")
                
    wait(3090)
            
    end
        end
    end 
    Last edited by marcoo___91; 11-15-2012 at 01:35 PM.

  2. #2
    Normal User
    Join Date
    Sep 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    btw some has an action like this
    if targeting enable equip ring id(0000)
    else
    unequip ring

  3. #3
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Woooahhh tl;dr


    It looks overly complicated.

  4. #4
    Normal User
    Join Date
    Sep 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    XD, ty for the reply

    i think it has to do something with one of the last conditions

    if (paround(7, true) == 0) and cancast("exori") then
    cast("exori")
    wait(30, 90)
    end
    elseif (maround(1) >= 1)and target.id ~= 0 then
    if cancast("exori ico") then
    cast("exori ico")
    wait(30, 90)
    elseif cancast("exori hur") then
    cast("exori hur")
    wait(30, 90)
    end

    ill test it tomorrow erasing that or editing the else to exori, exori gran


    PD: the action that i need for my sword ring is posible ("if targeting enable", that comand exist?)

  5. #5
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    This is without player check
    PHP Code:
    local creaturesToHit = {"Crawler""Insectoid Worker""Swarmer""Waspoid""Spitter""Kollos""Spidris""Spidris Elite"}

    if 
    targeting and ((getsettings("Settings\\Targeting\\Monsters\\Spitter\\OnlyIfTrapped") == "no" and getsettings("Settings\\Targeting\\Monsters\\Crawler\\OnlyIfTrapped") == "no" and getsettings("Settings\\Targeting\\Monsters\\Insectoid Worker\\OnlyIfTrapped") == "no" and getsettings("Settings\\Targeting\\Monsters\\Swarmer\\OnlyIfTrapped") == "no" and getsettings("Settings\\Targeting\\Monsters\\Waspoid\\OnlyIfTrapped") == "no") or ((getsettings("Settings\\Targeting\\Monsters\\Spitter\\OnlyIfTrapped") == "yes" or getsettings("Settings\\Targeting\\Monsters\\Crawler\\OnlyIfTrapped") == "yes" or getsettings("Settings\\Targeting\\Monsters\\Insectoid Worker\\OnlyIfTrapped") == "yes" or getsettings("Settings\\Targeting\\Monsters\\Swarmer\\OnlyIfTrapped") == "yes" or getsettings("Settings\\Targeting\\Monsters\\Waspoid\\OnlyIfTrapped") == "yes") and target.id ~= 0)) then
        
    if (maround(1unpack(creaturesToHit)) >= 4) or (maround(1"Spidris""Spitter""Kollos""Spidris Elite") >= 3then
            
    if cancast("exori"then
                cast
    ("exori")
                
    wait(3090)
            elseif 
    cancast("exori gran"then
                cast
    ("exori gran")
                
    wait(3090)    
            elseif 
    cancast("exori min")    and ((iscreatureontile(posx-1posy-1posz) and iscreatureontile(posxposy-1posz) and iscreatureontile(posx+1posy-1posz)) or (iscreatureontile(posx-1posy-1posz) and iscreatureontile(posx-1posyposz) and iscreatureontile(posx-1posy+1posz)) or (iscreatureontile(posx-1posy+1posz) and iscreatureontile(posxposy+1posz) and iscreatureontile(posx+1posy+1posz)) or (iscreatureontile(posx+1posy-1posz) and iscreatureontile(posx+1posyposz) and iscreatureontile(posx+1posy+1posz))) then
                
    if iscreatureontile(posx-1posy-1posz) and iscreatureontile(posxposy-1posz) and iscreatureontile(posx+1posy-1poszthen
                    turn
    ("n")
                    
    wait(100150)
                    
    cast("exori min")
                    
                elseif 
    iscreatureontile(posx-1posy-1posz) and iscreatureontile(posx-1posyposz) and iscreatureontile(posx-1posy+1poszthen
                    turn
    ("w")
                    
    wait(100150)
                    
    cast("exori min")
                elseif 
    iscreatureontile(posx-1posy+1posz) and iscreatureontile(posxposy+1posz) and iscreatureontile(posx+1posy+1poszthen
                    turn
    ("s")
                    
    wait(100150)
                    
    cast("exori min")
                elseif 
    iscreatureontile(posx+1posy-1posz) and iscreatureontile(posx+1posyposz) and iscreatureontile(posx+1posy+1poszthen
                    turn
    ("e")
                    
    wait(100150)
                    
    cast("exori min")
                
    end
            end
            
    if target.id ~= 0 then
                
    if cancast("exori ico"then
                    cast
    ("exori ico")
                    
    wait(3090)
                elseif 
    cancast("exori hur"then
                    cast
    ("exori hur")
                    
    wait(3090)
                
    end
            end
        
    elseif (maround(1unpack(creaturesToHit)) == 3then
            
    if cancast("exori min") and ((iscreatureontile(posx-1posy-1posz) and iscreatureontile(posxposy-1posz) and iscreatureontile(posx+1posy-1posz)) or (iscreatureontile(posx-1posy-1posz) and iscreatureontile(posx-1posyposz) and iscreatureontile(posx-1posy+1posz)) or (iscreatureontile(posx-1posy+1posz) and iscreatureontile(posxposy+1posz) and iscreatureontile(posx+1posy+1posz)) or (iscreatureontile(posx+1posy-1posz) and iscreatureontile(posx+1posyposz) and iscreatureontile(posx+1posy+1posz))) then
                
    if iscreatureontile(posx-1posy-1posz) and iscreatureontile(posxposy-1posz) and iscreatureontile(posx+1posy-1poszthen
                    turn
    ("n")
                    
    wait(100150)
                    
    cast("exori min")
                elseif 
    iscreatureontile(posx-1posy-1posz) and iscreatureontile(posx-1posyposz) and iscreatureontile(posx-1posy+1poszthen
                    turn
    ("w")
                    
    wait(100150)
                    
    cast("exori min")
                elseif 
    iscreatureontile(posx-1posy+1posz) and iscreatureontile(posxposy+1posz) and iscreatureontile(posx+1posy+1poszthen
                    turn
    ("s")
                    
    wait(100150)
                    
    cast("exori min")
                elseif 
    iscreatureontile(posx+1posy-1posz) and iscreatureontile(posx+1posyposz) and iscreatureontile(posx+1posy+1poszthen
                    turn
    ("e")
                    
    wait(100150)
                    
    cast("exori min")
                
    end
            
    elseif cancast("exori"then
                cast
    ("exori")
                
    wait(3090)
            
    end
            
    if target.id ~= 0 then
                
    if cancast("exori ico"then
                    cast
    ("exori ico")
                    
    wait(3090)
                elseif 
    cancast("exori hur"then
                    cast
    ("exori hur")
                    
    wait(3090)
                
    end
            end
        
    elseif (maround(1unpack(creaturesToHit)) == 2then
            
    if target.id ~= 0 then
                
    if cancast("exori ico"then
                cast
    ("exori ico")
                
    wait(3090)
            elseif 
    cancast("exori hur"then
                cast
    ("exori hur")
                
    wait(3090)
            
    end
        end    
        
    if cancast("exori"then
            cast
    ("exori")
            
    wait(3090)
        
    end    
        
    elseif (maround(1) >= 1)and target.id ~= 0 then
            
    if cancast("exori ico"then
                cast
    ("exori ico")
                
    wait(3090)
            elseif 
    cancast("exori hur"then
                cast
    ("exori hur")
                
    wait(3090)
            
    end
        
    elseif (maround(7unpack(creaturesToHit)) >= 1) and target.id ~= and target.isshootable then
            
    if cancast("exori hur"then
                cast
    ("exori hur")
                
    wait(3090)
            
    end
        end
    end 

  6. #6
    Normal User
    Join Date
    Sep 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    The action up dosent attack, thx for the try

    thx dude, im kind of new to this forums so can u tell me how can i rep+ you?

    PD: a action lie this is posible?
    if targeting enable equip ring id(0000)
    else
    unequip ring
    Last edited by marcoo___91; 11-14-2012 at 10:37 AM.

Posting Permissions

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