-
nerf
- Posts: 88
- Joined: Thu Jan 27, 2011 10:44 am
#1
Post
by nerf » Sun Oct 23, 2022 5:38 am
Years ago this script worked very well but now it doesn't, what could be the solution?
What the script does now is target the boss repeatedly without attacking.
Code: Select all
local Boss
repeat
yrest(1000)
Boss = player:findNearestNameOrId("100370") or player:findNearestNameOrId("100625")
until Boss
player:target(Boss.Address)
player:fight()
-
Administrator
- Site Admin
- Posts: 5329
- Joined: Sat Jan 05, 2008 4:21 pm
#2
Post
by Administrator » Sun Oct 23, 2022 7:47 am
It would seem that the
repeat
loop is able to find the boss by ID, but then
player:fight()
is exiting because the target isn't seen as valid.
It may be because of the elite factor in your profile. This option causes the bot to not consider targets with too much HP over your own as valid. Try changing value in your profile to something very high.
You might also set the leveldiff options very high to make sure it isn't because the boss is too high of level.
For example:
Code: Select all
<option name="AUTO_ELITE_FACTOR" value="999" />
<option name="TARGET_LEVELDIF_ABOVE" value="10000" />
<option name="TARGET_LEVELDIF_BELOW" value="10000" />
Does that help?
-
nerf
- Posts: 88
- Joined: Thu Jan 27, 2011 10:44 am
#3
Post
by nerf » Sun Oct 23, 2022 9:54 am
I'm going to try it, thank you very much
Who is online
Users browsing this forum: No registered users and 1 guest