hey i got some problem with that action. im using it while botting on ank tombs and i set stuckTime to 0 to shoot gfb instantly when im trying to step on invisible stalker but the bot doesnt react, it just keeps going on the stalker until it moves away from the way. it works sometimes and the bot is shooting instantly, but its like 25% of times, most of it the script isnt even reacting.
maybe something changed in last tibia updates?
@Raphael
09-05-2014, 01:01 PM
Raphael
Quote:
Originally Posted by matiwindbot
hey i got some problem with that action. im using it while botting on ank tombs and i set stuckTime to 0 to shoot gfb instantly when im trying to step on invisible stalker but the bot doesnt react, it just keeps going on the stalker until it moves away from the way. it works sometimes and the bot is shooting instantly, but its like 25% of times, most of it the script isnt even reacting.
maybe something changed in last tibia updates?
@Raphael
Is there, by any chance, other visible stalkers?
09-06-2014, 09:27 PM
matiwindbot
Quote:
Originally Posted by Raphael
Is there, by any chance, other visible stalkers?
hmm as i noticed it doesnt matter. sometimes the script just dont shoot gfb and he just trying to run forward, no matter if theres any other monster besides invisible stalker. i trough that adding some pausewalking will help so i added it but it gave no effect.
the script look like this:
init start
-- local SCRIPT_VERSION = '1.0.1'
local invisCreatures = {'Stalker'}
local stuckTime = 0 -- 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
Is everyone having problems with it?
If so, I'll have to borrow a char from someone to check it.
09-17-2014, 04:20 PM
Neyamire
@Raphael finally i fount out wht was wrong...i had console to sshow hitpoints etc disabled. Im so sorry for bother you Raphael and probably make u waste ur time on this shit when actually is all ok xD
09-17-2014, 11:04 PM
Raphael
Quote:
Originally Posted by Neyamire
@Raphael finally i fount out wht was wrong...i had console to sshow hitpoints etc disabled. Im so sorry for bother you Raphael and probably make u waste ur time on this shit when actually is all ok xD
That's fine, no problems at all. =D
09-18-2014, 01:49 PM
cowboy
well i have everything enabled in console and still sometimes script just doesnt work. character is trying to run trough stalker as long as it moves instead of killing it.