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.
local Boss
repeat
yrest(1000)
Boss = player:findNearestNameOrId("100370") or player:findNearestNameOrId("100625")
until Boss
player:target(Boss.Address)
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.