Hi guys, im trying to make my bot shoot gfbs when there is 2 grim reapers near to me, i tried with the targeting, didnt work, i tried with scripts and didnt work too .. :/
i tried with crosshairs and on target, is there anything i have to do in order to make it work ? is there any trick or something or its bugged?
Can anyone help me? :$
Thanks !
01-26-2014, 02:25 AM
Jim
nobody??? :/
01-26-2014, 03:26 AM
BUgWT
Just a simple one:
auto(100)
if shootarearune("great fireball rune", 2, "Grim Reaper") then
shootarearune("great fireball rune", 1, "Grim Reaper") wait(50,100)
end
01-26-2014, 04:08 AM
Jim
Thanks! i'll test it :)
01-26-2014, 11:02 PM
Jim
Isn't working, just my crosshairs is blinking on the screen like trying to shoot but isn't, i tried with both crosshairs and "on target" and none works.
It was easiest with your Grim Reapers script for ibot xD, plus i can't save bp cofiguration and mount... etc
01-27-2014, 12:25 AM
BUgWT
Quote:
Originally Posted by Jim
Isn't working, just my crosshairs is blinking on the screen like trying to shoot but isn't, i tried with both crosshairs and "on target" and none works.
It was easiest with your Grim Reapers script for ibot xD, plus i can't save bp cofiguration and mount... etc
Try this then:
auto(100)
if maround(10, "Grim Reaper") > 0 then
shootarearune("great fireball rune", 1, "Grim Reaper") wait(50,100)
end
Also, to save settings on your usereditoroption, you need to add these lines:
{
"type" : "scriptinfo", <---Don't edit that
"name" : "MyScriptName", <--You can edit
"version" : "1.0.0" <--You can edit
},
01-27-2014, 05:47 AM
Jim
Quote:
Originally Posted by BUgWT
Try this then:
auto(100)
if maround(10, "Grim Reaper") > 0 then
shootarearune("great fireball rune", 1, "Grim Reaper") wait(50,100)
end
Also, to save settings on your usereditoroption, you need to add these lines:
{
"type" : "scriptinfo", <---Don't edit that
"name" : "MyScriptName", <--You can edit
"version" : "1.0.0" <--You can edit
},
Well, is working now, i used your script and added this:
auto(100)
if maround(10, "Grim Reaper") > 1 and
cooldown('exevo mas san') >1 and
cooldown('great fireball rune') == 0
then
pausewalking(500)
shootarearune("great fireball rune", 1, "Grim Reaper")
pausewalking(0)
wait(300)
end
at least it shoots GFB's SOMETIMES!!! hahaha i don't know really how to make it work well.. :/
01-27-2014, 08:18 AM
thenick
I don't think you need the wait()*, and you can easily put the auto a bit higher.
01-27-2014, 10:47 AM
Leonardo
Ppl seems to have problem with rune shooters, I'll do one later.
01-27-2014, 10:49 AM
Harvey
Quote:
Originally Posted by Leonardo
Ppl seems to have problem with rune shooters, I'll do one later.
weeeeeeeeeeeeeeeeeeeeeeee beeeeen waiting for this <3
01-27-2014, 01:07 PM
Leonardo
Can you guys test it for me ? I'm not home now but I did this:
Remember to have rune item binded on your Tibia hotkeys.
local SpecialAreas = {
--{min x, max x, min y, max y, z}
}
local UseTargetState = false
-- DO NOT CHANGE BELOW --
local i, LastFloor, Exhaust = 1, $posz, $timems
while Runes[i] ~= nil do
Runes[i].Info = runeinfo(Runes[i].Name)
if Runes[i].Info.itemid == 0 or Runes[i].Info.castarea == 'None' or not Runes[i].Info.group:find('Attack') then
table.remove(Runes, i)
else
Runes[i].Monsters = Runes[i].Monsters or Monsters
table.lower(Runes[i].Monsters) i = i + 1
end
end
init end
auto(200, 400)
if $posz ~= LastFloor then
LastFloor, Exhaust = $posz, $timems + 2000
return
end
if $timems >= Exhaust and ($targeting or not UseTargetState) then
for _, Rune in ipairs(Runes) do
if cancast(Rune.Info) and not isinsidearea(SpecialAreas) and clientitemhotkey(Rune.Name, 'crosshair') ~= 'not found' then
if not Players.Consider or paroundfloorignore(Players.Distance, Players.FloorDifference, unpack(Players.SafeList)) == 0 then
local area = {x = 0, y = 0, z = 0, amount = 0}
for a = 0, 7 do
local i, j = -a, -a
while j <= a do
i = -a
while i <= a do
if (math.abs(j) == a or math.abs(i) == a) and (tilehasinfo($posx + i, $posy + j, $posz)) then
local posx, posy = $posx + i, $posy + j
if tileshootable(posx,posy, $posz) then
local count = 0
foreach creature c 'mfx' do
if isonspellarea(c, '3x3', false, i, j) and (#Rune.Monsters == 0 or table.find(Rune.Monsters, c.name:lower())) then
count = count + 1
end
end
if count > area.amount then
area.x, area.y, area.z, area.amount = posx, posy, $posz, count
end
end
end
if math.abs(j) ~= a then
i = i + 2 * a
else
i = i + 1
end
end
j = j+1
end
end
if area.amount >= Rune.Amount then
pausewalking(5000)
useitemon(Rune.Name, 0, ground(area.x, area.y, area.z)) waitping(1.2, 1.4)
pausewalking(0)
end
end
end
end
end
error in Persistent script Rune Shooter:
[" Runes[i].Info = runeinfo(Spells[i]..."]:Rune Shooter:29 attempt to index global 'Spells' (a nil value)
Ye a code mistake, because I used Area Attacker as the main base for it, changed on the same post, I'm almost home I'll test and post if it's good enough.
01-27-2014, 02:04 PM
Dworak
Quote:
Originally Posted by Leonardo
Ye a code mistake, because I used Area Attacker as the main base for it, changed on the same post, I'm almost home I'll test and post if it's good enough.
Now no Error but not shooting the GFB
01-27-2014, 02:44 PM
Leonardo
Quote:
Originally Posted by Dworak
Now no Error but not shooting the GFB
Done with fixing and testing, it's working now, pick at the same post.
01-27-2014, 02:51 PM
arkuro
sometimes shot sometimes not
01-27-2014, 02:55 PM
Dworak
@Leonardo now it's shooting but a bit sloow and sometimes miss and shoot wrong side
01-27-2014, 03:16 PM
Leonardo
Do you guys have rune set on tibia hotkeys as "crosshair" ?
01-27-2014, 03:23 PM
arkuro
Quote:
Originally Posted by Leonardo
Do you guys have rune set on tibia hotkeys as "crosshair" ?
Now its great, and you won't make this options 1-4? to choose target,crosshairs,lure,self?
Regards
01-27-2014, 04:01 PM
arkuro
Quote:
Originally Posted by Leonardo
Test now and tell me if it has changed.
now its working perfect thanks Leonardo
01-27-2014, 04:07 PM
Dworak
Yes, very good, but would be nice to add Extra spells + ue shooter if it would be possible would be nice :D
Regards
01-27-2014, 04:24 PM
Leonardo
Quote:
Originally Posted by Dworak
Yes, very good, but would be nice to add Extra spells + ue shooter if it would be possible would be nice :D
Regards
About crosshair stuff, I think this one is better, it'll use rune only on the best spot. This is just for runes and it'll be only for runes, to use with ue and other spells use Area Attacker.
01-27-2014, 04:35 PM
Dworak
@Leonardo
Okey, Thanks a lot :D
if i will add filteruseroptions(true) and delete init start and init end it will recoginize getuseroption("SafeRune")
??
Regards
01-27-2014, 04:39 PM
arkuro
this script make me skull
01-27-2014, 04:39 PM
Dworak
Quote:
Originally Posted by arkuro
this script make me skull
Maybe you had Red Mode? if green how it could make skull ?
01-27-2014, 04:47 PM
arkuro
Quote:
Originally Posted by Dworak
Maybe you had Red Mode? if green how it could make skull ?
oh sorry my bad beacuse i m testing this script on shadowcores and there green mode doesnt work
:D
01-27-2014, 04:52 PM
Leonardo
Quote:
Originally Posted by Dworak
@Leonardo
Okey, Thanks a lot :D
if i will add filteruseroptions(true) and delete init start and init end it will recoginize getuseroption("SafeRune")
??
Regards
Yes as I showed on Area Attacker.
Quote:
Originally Posted by arkuro
oh sorry my bad beacuse i m testing this script on shadowcores and there green mode doesnt work
:D
Set Players settings as the Area Attacker script, as Distance put a higher value like 15-20 and edit the SafeList with the names of your friends.
01-27-2014, 06:46 PM
Jim
I'll test it :D !!! Thanks Leonardo!
Quote:
Originally Posted by Leonardo
Yes as I showed on Area Attacker.
Set Players settings as the Area Attacker script, as Distance put a higher value like 15-20 and edit the SafeList with the names of your friends.
01-28-2014, 11:30 AM
K4r4biN
Quote:
Originally Posted by Leonardo
Ppl seems to have problem with rune shooters, I'll do one later.
@Edit, sorry, didn't check next page. Let me test it now ;d
@Leonardo, well, I got problem. I tried to use this hotkey on quaras, underwater, and it has problems with shooting.
It's trying and trying, but like I saw never shoot ;/
01-28-2014, 02:13 PM
Leonardo
Quote:
Originally Posted by K4r4biN
@Edit, sorry, didn't check next page. Let me test it now ;d
@Leonardo, well, I got problem. I tried to use this hotkey on quaras, underwater, and it has problems with shooting.
It's trying and trying, but like I saw never shoot ;/
Check if you have rune on hotkeys of tibia.
If you are using map clicks instead of arrow keys.
Check mouse speed on the Wind > Settings.
This settings can change the functionality of this script.
01-28-2014, 02:26 PM
K4r4biN
Quote:
Originally Posted by Leonardo
Check if you have rune on hotkeys of tibia.
If you are using map clicks instead of arrow keys.
Check mouse speed on the Wind > Settings.
This settings can change the functionality of this script.
Well I tried with crosshair and on target. And using arrow keys.
On both I had my mouse icon as crosshair and I saw it's trying to shoot, but happens same as on Lucas Terra shootarearune() function ;/
It shoots once on 10-20 tries. I killed quaras faster with spells xD.
Maybe it happens because I'm under water and these stupid quaras are fast as hell ;/
01-28-2014, 06:06 PM
Jim
Same is happening here, just with Grim Reapers xDD !
Quote:
Originally Posted by K4r4biN
Well I tried with crosshair and on target. And using arrow keys.
On both I had my mouse icon as crosshair and I saw it's trying to shoot, but happens same as on Lucas Terra shootarearune() function ;/
It shoots once on 10-20 tries. I killed quaras faster with spells xD.
Maybe it happens because I'm under water and these stupid quaras are fast as hell ;/
01-28-2014, 06:21 PM
mistgun
Do You tried guys changing this Settings -> Mouse -> Move speed etc. ? :D
01-28-2014, 06:28 PM
Jim
Yes :c :/
Quote:
Originally Posted by mistgun
Do You tried guys changing this Settings -> Mouse -> Move speed etc. ? :D
01-28-2014, 06:30 PM
K4r4biN
1 Attachment(s)
Quote:
Originally Posted by mistgun
Do You tried guys changing this Settings -> Mouse -> Move speed etc. ? :D
Here you are. Still not helping :p
01-28-2014, 08:21 PM
Leonardo
Quote:
Originally Posted by K4r4biN
Here you are. Still not helping :p
I don't know the code is ok, is something else that is bugging the script, like I said on the first post. I tested it moving manually with arrow keys so I don't really know what could be messing with this.
01-28-2014, 08:38 PM
Jim
Im having problems too, i played with the settings and nothing helped, is not shooting gfbs
Quote:
Originally Posted by Leonardo
I don't know the code is ok, is something else that is bugging the script, like I said on the first post. I tested it moving manually with arrow keys so I don't really know what could be messing with this.