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
Quote:
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 :(
11-25-2014, 12:13 PM
ash katchup
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
01-01-2015, 09:48 PM
achilleos
Quote:
Originally Posted by ash katchup
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 ?? :(
01-02-2015, 12:59 AM
Leitsha
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.
01-02-2015, 06:28 AM
Raphael
Jesus fucking christ guys, use [LUA][/LUA] tags!
01-02-2015, 07:42 AM
ash katchup
Quote:
Originally Posted by achilleos
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?
01-02-2015, 10:20 AM
achilleos
Quote:
Originally Posted by ash katchup
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
01-02-2015, 10:41 AM
achilleos
Quote:
Originally Posted by Leitsha
You could try this
PHP Code:
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.
It's working FINE thanks you very much !
01-02-2015, 12:29 PM
Leitsha
Quote:
Originally Posted by Raphael
Jesus fucking christ guys, use [LUA][/LUA] tags!
But... But! I like PHP!... But ok, I will use LUA :C
L.
01-02-2015, 12:48 PM
Leitsha
Quote:
Originally Posted by ash katchup
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?