Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Persistent
#1
Hello, can you help med with persistent that enable / disable special areas?

I made special areas around a rock like this with a LURE waypoint inside.


R = ROCK
X = special areas
. = sqms that you can walk.

|Only Registered members can see download links. | Click here to buy subscription or here to register.
|Only Registered members can see download links. | Click here to buy subscription or here to register.loading="lazy" alt="[Image: MVhRZgA.png]" class="mycode_img" />

Right now it does not lure the monster inside the box.

ALL special areas added has considered by targeting.

I have lure and keep away/ stand offensive on crystal spider right now.

I would like a persistent that makes it possible to lure monsters inside box and run around killing it and then go lure next mob to same place.

/ thx
Reply

#2
This one works decent to lure the mob in the right place, i need another persistent that disables special areas after mob is dead.


-- Persist 1 : Turning on the Special Areas on targeting
sa = {
'Targeting/Special Areas/0/Enabled',
'Targeting/Special Areas/1/Enabled',
'Targeting/Special Areas/2/Enabled',
'Targeting/Special Areas/3/Enabled',
'Targeting/Special Areas/4/Enabled',
'Targeting/Special Areas/5/Enabled',
'Targeting/Special Areas/6/Enabled',
'Targeting/Special Areas/7/Enabled',
'Targeting/Special Areas/8/Enabled',
'Targeting/Special Areas/9/Enabled',
'Targeting/Special Areas/10/Enabled',
'Targeting/Special Areas/11/Enabled',
'Targeting/Special Areas/12/Enabled',
'Targeting/Special Areas/13/Enabled',
'Targeting/Special Areas/14/Enabled',
'Targeting/Special Areas/15/Enabled',
'Targeting/Special Areas/16/Enabled',
'Targeting/Special Areas/17/Enabled',
'Targeting/Special Areas/18/Enabled'
}

if getlurelocation().posx == self().posx and getlurelocation().posy == self().posy and getlurelocation().posz == self().posz and hastarget() == true then
for _, sqm in ipairs(sa) do
if getsettings(sqm) == false then
setsettings(sqm, 'yes')
end
end
end
Reply

#3
Do the same as above but using maround() and/or hastarget() as condition.
Reply

#4
|Only Registered members can see download links. | Click here to buy subscription or here to register.

Thanks. Works like a charm
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016