Signup Now
Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Free User
    Join Date
    Mar 2014
    Posts
    59
    Reputation
    10
    Rep Power
    21

    Stalker Persistant

    Hi there Winbot community i would like to ask you to help me out. I recently bought a script from Bugwt and they have used this scirpt for stalker

    init start
    -- local SCRIPT_VERSION = '1.0.1'


    local invisCreatures = {'Stalker'}
    local stuckTime = 1000 -- Set to 0 to always attack
    local spellToUse = 'great fireball rune'

    -- DO NOT EDIT BELOW THIS LINE --
    table.lower(invisCreatures)
    local spellToUseInfo, spellType = spellinfo(spellToUse), 'spell'
    if spellToUseInfo.castarea == 'None' then
    spellToUseInfo, spellType = runeinfo(spellToUse), 'rune'
    end
    init end

    auto(100)
    if $standtime >= stuckTime and ($wptsection == "Hunt" or $wptsection == "Leave" or $wptsection == "ToHunt") then
    foreach newmessage m do
    if m.type == MSG_STATUSLOG then
    local _, _, name = m.content:match(REGEX_DMG_TAKEN)
    if (name and table.find(invisCreatures, name:lower())) then
    if spellType == 'spell' and cancastspell(spellToUseInfo) then
    cast(spellToUseInfo.words)
    waitping()
    elseif spellType == 'rune' then
    if $standtime < 5000 then
    pausewalking(5000)
    end
    wait(200)
    if maround(10, "Demon Skeleton", "Green Djinn") > 0 then
    useoncreature("avalanche rune", $self)
    else
    useoncreature("great fireball rune", $self)
    end

    wait(400)
    pausewalking(0)
    end
    end
    end
    end
    end
    this is working fine however i am playing on retro world and i would like (if possible) add an option to this that if there is no players then shoot gfb or if someone could make me one i would really appreciate it. I have asked bugwt for and update however they disappear and their thread is gone

  2. #2
    Free User ash katchup's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    144
    Reputation
    15
    Rep Power
    21
    Hello.

    I think that this script will help you.

    Please remember to TEST IT before botting 100% afk.


    init start
    -- local SCRIPT_VERSION = '1.0.2'
    -- modified by Ash Katchup

    local invisCreatures = {'Stalker'}
    -- Stuck time to use the spell/rune.
    -- Put 0 to always attack. I suggest 1000 = 1 second
    local stuckTime = 1000
    local spellToUse = 'great fireball rune'
    -- Set the range of the selected spell.
    -- Any rune will be used on you, so consider it when calculating the range
    -- The exori/exori gran range is 1 as it just affect squares around round
    -- The GFB/Avalanche range is 3
    local rangeSpell = 3

    -- DO NOT EDIT BELOW THIS LINE --
    table.lower(invisCreatures)
    local spellToUseInfo, spellType = spellinfo(spellToUse), 'spell'
    if spellToUseInfo.castarea == 'None' then
    spellToUseInfo, spellType = runeinfo(spellToUse), 'rune'
    end
    init end

    auto(100)

    if $standtime >= stuckTime then
    foreach newmessage m do
    if m.type == MSG_STATUSLOG then
    local _, _, name = m.content:match(REGEX_DMG_TAKEN)
    if name and table.find(invisCreatures, name:lower()) and maround(7, name:lower()) == 0 then
    if spellType == 'spell' and cancastspell(spellToUseInfo) and not paround(rangeSpell) then
    cast(spellToUseInfo.words)
    waitping()
    elseif spellType == 'rune' and not paround(rangeSpell) then
    useoncreature(spellToUseInfo.itemid, $self)
    waitping()
    end
    end
    end
    end
    end
    Last edited by ash katchup; 01-02-2015 at 07:14 AM.

  3. #3
    Free User
    Join Date
    Mar 2014
    Posts
    59
    Reputation
    10
    Rep Power
    21
    Quote Originally Posted by ash katchup View Post
    Hello.

    I think that this script will help you.

    Please remember to TEST IT before botting 100% afk.

    Code:
    init start
    	-- local SCRIPT_VERSION = '1.0.2'
    	-- modified by Ash Katchup
    
    	local invisCreatures = {'Stalker'}
    	-- Stuck time to use the spell/rune. 
    	-- Put 0 to always attack. I suggest 1000 = 1 second
    	local stuckTime = 1000
    	local spellToUse = 'great fireball rune'
    	-- Set the range of the selected spell. 
    	-- Any rune will be used on you, so consider it when calculating the range
    	-- The exori/exori gran range is 1 as it just affect squares around round
    	-- The GFB/Avalanche range is 3
    	local rangeSpell = 3 
    	
    	-- DO NOT EDIT BELOW THIS LINE --
    	table.lower(invisCreatures)
    	local spellToUseInfo, spellType = spellinfo(spellToUse), 'spell'
    	if spellToUseInfo.castarea == 'None' then
    		spellToUseInfo, spellType = runeinfo(spellToUse), 'rune'
    	end
    init end
    
    auto(100)
    
    if $standtime >= stuckTime then
    	foreach newmessage m do
    		if m.type == MSG_STATUSLOG then
    			local _, _, name = m.content:match(REGEX_DMG_TAKEN)
    			if name and table.find(invisCreatures, name:lower()) and maround(7, name:lower()) == 0 then
    				if spellType == 'spell' and cancastspell(spellToUseInfo) and not paround(rangeSpell) then
    					cast(spellToUseInfo.words)
    					waitping()
    				elseif spellType == 'rune' and not paround(rangeSpell) then
    					useoncreature(spellToUseInfo.itemid, $self)
    					waitping()
    				end
    			end
    		end
    	end
    end
    Hi thank you for this but its not working do u have any other ideas ??

  4. #4
    Free User Leitsha's Avatar
    Join Date
    Dec 2014
    Posts
    39
    Reputation
    17
    Rep Power
    0
    You could try this
    init start
    --local SCRIPT_VERSION = '1.0.2'
    --BugWT script ver. 1.0.1 modified by Leitsha.
    --I claim no rights to the concept of this script outside of playerCheck() func. L.


    local invisCreatures = {'Stalker'}
    local stuckTime = 1000 -- Set to 0 to always attack
    local spellToUse = 'great fireball rune'
    local pvpSafe = true --True = pvp server, false = no pvp
    local rangeOfRune = 4 -- I always add +1 to all paround checks for safety reasons

    -- DO NOT EDIT BELOW THIS LINE --
    table.lower(invisCreatures)
    local spellToUseInfo, spellType = spellinfo(spellToUse), 'spell'
    if spellToUseInfo.castarea == 'None' then
    spellToUseInfo, spellType = runeinfo(spellToUse), 'rune'
    end
    init end

    function playerCheck()
    if pvpSafe == true then
    if paround(rangeOfRune) > 0 then
    return false
    else
    return true
    end
    else
    return true
    end
    end

    auto(100)
    if $standtime >= stuckTime and ($wptsection == "Hunt" or $wptsection == "Leave" or $wptsection == "ToHunt") then
    foreach newmessage m do
    if m.type == MSG_STATUSLOG then
    local _, _, name = m.content:match(REGEX_DMG_TAKEN)
    if (name and table.find(invisCreatures, name:lower()) and playerCheck()) then
    if spellType == 'spell' and cancastspell(spellToUseInfo) then
    cast(spellToUseInfo.words)
    waitping()
    elseif spellType == 'rune' then
    if $standtime < 5000 then
    pausewalking(5000)
    end
    wait(200)
    if maround(10, "Demon Skeleton", "Green Djinn") > 0 then
    useoncreature("avalanche rune", $self)
    else
    useoncreature("great fireball rune", $self)
    end
    wait(400)
    pausewalking(0)
    end
    end
    end
    end
    end

    Untested, but should work fine.

    L.
    Last edited by Leitsha; 01-02-2015 at 12:30 PM.
    No progress comes from pleasure
    We smile in ignorance and learn in pain

  5. #5
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,441
    Reputation
    309
    Rep Power
    28
    Jesus fucking christ guys, use [LUA][/LUA] tags!

  6. #6
    Free User ash katchup's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    144
    Reputation
    15
    Rep Power
    21
    Quote Originally Posted by achilleos View Post
    Hi thank you for this but its not working do u have any other ideas ??
    What did you mean with "Not working"? Didn't cast spells or attack players?

  7. #7
    Free User
    Join Date
    Mar 2014
    Posts
    59
    Reputation
    10
    Rep Power
    21
    Quote Originally Posted by ash katchup View Post
    What did you mean with "Not working"? Didn't cast spells or attack players?
    Did not work at all didn't work at all gonna test the other script now

  8. #8
    Free User
    Join Date
    Mar 2014
    Posts
    59
    Reputation
    10
    Rep Power
    21
    Quote Originally Posted by Leitsha View Post
    You could try this
    PHP Code:
    init start
    --local SCRIPT_VERSION '1.0.2'
    --BugWT script ver1.0.1 modified by Leitsha
    --
    I claim no rights to the concept of this script outside of playerCheck() funcL.


    local invisCreatures = {'Stalker'}
    local stuckTime 1000 -- Set to 0 to always attack
    local spellToUse 
    'great fireball rune'
    local pvpSafe true --True pvp serverfalse no pvp
    local rangeOfRune 
    -- I always add +1 to all paround checks for safety reasons

    -- DO NOT EDIT BELOW THIS LINE --
    table.lower(invisCreatures)
    local spellToUseInfospellType spellinfo(spellToUse), 'spell'
    if spellToUseInfo.castarea == 'None' then
        spellToUseInfo
    spellType runeinfo(spellToUse), 'rune'
    end
    init end

    function playerCheck()
        if 
    pvpSafe == true then
            
    if paround(rangeOfRune) > 0 then
                
    return false
            
    else
                return 
    true
            end
        
    else
            return 
    true
        end
    end

    auto
    (100)
    if 
    $standtime >= stuckTime and ($wptsection == "Hunt" or $wptsection == "Leave" or $wptsection == "ToHunt"then
        
    foreach newmessage m do
            if 
    m.type == MSG_STATUSLOG then
                local _
    _name m.content:match(REGEX_DMG_TAKEN)
                if (
    name and table.find(invisCreaturesname:lower()) and playerCheck())  then
                    
    if spellType == 'spell' and cancastspell(spellToUseInfothen
                        cast
    (spellToUseInfo.words)
                        
    waitping()
                    elseif 
    spellType == 'rune' then
                        
    if $standtime 5000 then
                            pausewalking
    (5000)
                        
    end
                        wait
    (200)
                        if 
    maround(10"Demon Skeleton""Green Djinn") > 0 then
                            useoncreature
    ("avalanche rune"$self)
                        else
                            
    useoncreature("great fireball rune"$self)
                        
    end
                        wait
    (400)
                        
    pausewalking(0)
                    
    end
                end
            end
        end
    end 
    Untested, but should work fine.

    L.
    It's working FINE thanks you very much !

  9. #9
    Free User Leitsha's Avatar
    Join Date
    Dec 2014
    Posts
    39
    Reputation
    17
    Rep Power
    0
    Quote Originally Posted by Raphael View Post
    Jesus fucking christ guys, use [LUA][/LUA] tags!
    But... But! I like PHP!... But ok, I will use LUA :C

    L.
    No progress comes from pleasure
    We smile in ignorance and learn in pain

  10. #10
    Free User Leitsha's Avatar
    Join Date
    Dec 2014
    Posts
    39
    Reputation
    17
    Rep Power
    0
    Quote Originally Posted by ash katchup View Post
    What did you mean with "Not working"? Didn't cast spells or attack players?
    if spellType == 'spell' and cancastspell(spellToUseInfo) and not paround(rangeSpell) then

    paround(s) returns amount of ppl in s range, so your check will do for eg.
    1. Is it a spell?
    2. Can cast it?
    3. Not 4?

    L.
    No progress comes from pleasure
    We smile in ignorance and learn in pain

 

 

Posting Permissions

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