Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Cast utana vid if spectral scum on screen and turn off targeting

  1. #1
    iBot User
    Join Date
    Mar 2013
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    14
    Rep Power
    4

    Cast utana vid if spectral scum on screen and turn off targeting

    So I have looked on forum and used search but cant find anything, I tried making my own and failed, can someone please help?

  2. #2
    Premium User Eldar's Avatar
    Join Date
    Apr 2013
    Location
    Poland
    Posts
    1,335
    Mentioned
    37 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    62 Post(s)
    Reputation
    159
    Rep Power
    7
    Code:
    if maround(7, "spectral scum") > 0 and cancast("utana vid") then
    cast("utana vid")
    wait(700,800)
    settargeting("no")
    end

  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
    Quote Originally Posted by Eldar View Post
    Code:
    if maround(7, "spectral scum") > 0 and cancast("utana vid") then
    cast("utana vid")
    wait(700,800)
    settargeting("no")
    end
    This will never turn targeting back on, so when you get back to your hunt, you will die.... Hope the rest of your scripts don't do anything like this


    here's mine:
    http://www.tibiaibot.com/forum/showt...ll=1#post94531

    PHP Code:
    if posz == and maround(false"Spectral Scum") > 0 then  
    settargeting
    ("off")  
    else  
    settargeting("on")  
    end 
    Doesnt use invis, but it doesnt really need too..
    Last edited by pink_panther; 07-21-2013 at 11:43 PM.

  4. #4
    iBot User
    Join Date
    Mar 2013
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    14
    Rep Power
    4
    Quote Originally Posted by pink_panther View Post
    This will never turn targeting back on, so when you get back to your hunt, you will die.... Hope the rest of your scripts don't do anything like this


    here's mine:
    http://www.tibiaibot.com/forum/showt...ll=1#post94531

    PHP Code:
    if posz == and maround(false"Spectral Scum") > 0 then  
    settargeting
    ("off")  
    else  
    settargeting("on")  
    end 
    Doesnt use invis, but it doesnt really need too..

    can you edit yours to use invis too please?

    problem im having is getting trapped in mana shop in LB but if im invisible they wont target me there?


    or shall i just use 2 different scripts and change eldars to this


    if maround(7, "spectral scum") > 0 and cancast("utana vid") then
    cast("utana vid")
    wait(700,800)
    end

    (just taken the targeting bit off seeing as ill use your targeting one?)
    Last edited by django; 07-22-2013 at 03:46 AM.

  5. #5
    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
    Well, no. His will also just spam invis over and over again.

    I cant see a way to check if you're already invisible to avoid spamming it, instead use this:

    PHP Code:
    if posz == and maround(false"Spectral Scum") > and standtime 120000 then  
    settargeting
    ("off")  
    else  
    settargeting("on")  
    end 
    And have "All" in your targeting set to only if trapped.

    This will switch off targeting to avoid them, but if you are COMPLETELY trapped (and stand still for 2 minutes), it will enable targeting, target one of them and try to reach it, causing your standtime to reset, and targeting to be switched off agan, but also distrupt the wall of spectral skum and should allow a gap for you to run through again.

    I've had pallies and knights botting in Liberty bay using this action, without the standtime setting, and never been completely trapped.
    Last edited by pink_panther; 07-22-2013 at 04:07 AM.

  6. #6
    iBot User
    Join Date
    Mar 2013
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    14
    Rep Power
    4
    crap lol is there anyway to not do that? ive tried ytour targeting one and i mean it works but doesnt at the same time. seeing as they still target me when theres lots they still surround and trap me in

  7. #7
    iBot User
    Join Date
    Mar 2013
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    14
    Rep Power
    4
    if posz == 7 and maround(7 , false, "Spectral Scum") > 0 and
    if (outfit ~= 0) and cancast('utana vid') then
    cast('utana vid')
    wait(200)
    end


    would that work?


    sorry your work around would normally be fine but my targeting for all if trapped is set to use sd because of the nature of what i hunt so if i start wasting sd on spectral scum its a little suspect i guess?

  8. #8
    Normal User FrogZ's Avatar
    Join Date
    Jul 2012
    Location
    Laguna Island - LB
    Posts
    239
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    14
    Rep Power
    5
    Hey dude whaz up??

    use this one i just made for u! Make an new action and paste this code there. Use spamrate as 100 to 200.

    PHP Code:
    -- Safe Spectral Scum by FrogZ v 1.0


    local ConfigbyFrogZ 
    = {
                        
    Method 'ring', -- You can choose between spell or ring.
                        
    RingBp 'Backpack of Holding' -- Backpack that contains stealth rings.
                        
    DelayTime = {6,9} -- Time to take the ring off (in seconds).
                    }


    if 
    TimebyFrogZ == nil then
        TimebyFrogZ 
    0
    end


    if target.name:lower() == 'spectral scum' then -- This thing gonna make the bot avoid to attack those spectral scums
        ignorecreature
    (target.idtrue)            -- You dont need to turn off the target.
        
    stopattack()
    end


    if timems TimebyFrogZ then                
        
    if ConfigbyFrogZ.Method:lower() == 'ring' then
            
    if maround(false'spectral scum') > 0 then
            
    while ring ~= 3086 and itemcount(3049,ConfigbyFrogZ.RingBp) ~= do
                    
    moveitems(3049,ConfigbyFrogZ.RingBp,'ring',1)
                    
    wait(500,700)
                    
    updateworld()
                
    end
                DelayTime 
    math.random(ConfigbyFrogZ.DelayTime[1],ConfigbyFrogZ.DelayTime[2])
                
    TimebyFrogZ timems+DelayTime*1000
            
    else
                while 
    ring == 3086 do
                    
    moveitems(3086,'ring',ConfigbyFrogZ.RingBp,1)
                    
    wait(500,700)
                    
    updateworld()
                
    end
            end
        
    elseif ConfigbyFrogZ.Method:lower() == 'spell' then
            
    if maround(false'spectral scum') > and cancast('utana vid') and mp >= 440 then
                
    while true do
                    
    cast('utana vid')
                    
    wait(200,300)
                    if 
    not cancast('utana vid'then
                        TimebyFrogZ 
    timems+200000
                        
    break
                    
    end
                end
            end
        end
    end 
    Quote Originally Posted by django View Post
    sorry your work around would normally be fine but my targeting for all if trapped is set to use sd because of the nature of what i hunt so if i start wasting sd on spectral scum its a little suspect i guess?
    Other option is to set to don't use sd if u are in the refill part of waypoint and then when u are going o respawn u just turn it on again. or u can do it with target too doesnt matter.
    Last edited by FrogZ; 07-22-2013 at 06:39 AM.

  9. #9
    iBot User
    Join Date
    Mar 2013
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    14
    Rep Power
    4
    cheers, why does this not spam utana vid like the others.... theres no way of it recognising that you are not already invisible?

  10. #10
    iBot User
    Join Date
    Mar 2013
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    14
    Rep Power
    4
    bump ps. would my one not work?

    if posz == 7 and maround(7 , false, "Spectral Scum") > 0 and
    if (outfit ~= 0) and cancast('utana vid') then
    cast('utana vid')
    wait(200)
    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
  •