I have a weird problem with a goblin mine script. The bot runs its course and attacks the mobs, but it does not use any spells in combat. The script is called by loadpaths() from another script that navigates to the goblin mine.
- if I run the script with a mage char, it works
- if I call the script directly, it works
- on the console there are many warnings "target dist > MAX_TARGET_DIST with battling from other mob"
Settings in OnLoad are
changeProfileOption("COMBAT_DISTANCE", 50 )
changeProfileOption("DEBUG_TARGET",true)
changeProfileOption("COMBAT_RANGED_PULL",true)
changeProfileOption("MAX_TARGET_DIST",200)
What does this message mean?
Bot does not use any spells
Re: Bot does not use any spells
You say that if you start the script directly, it works. Is it possible a previous script disables your skills such as the AT script? I fixed that but maybe you are using an older script? Or maybe you changed character without reloading the profile and the profile it's using doesn't have skills for the current class?
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Bot does not use any spells
I checked that, the previous script does not meddle with skills in any way. There was no reloggin/char change.
What does the debug message "target dist > MAX_TARGET_DIST with battling from other mob" mean?
What does the debug message "target dist > MAX_TARGET_DIST with battling from other mob" mean?
Re: Bot does not use any spells
With COMBAT_DISTANCE set to 50 and MAX_TARGET_DIST set to 200, any mob between those distances wil be detected. "with battling from other mob" just means you found a target but you have already aggroed a different mob.
You say that it attacks the mobs but doesn't use skills. What does it say in MM? Does it say that the bot is trying to use the skills at least? Copying the MM window here, might be useful.
You say that it attacks the mobs but doesn't use skills. What does it say in MM? Does it say that the bot is trying to use the skills at least? Copying the MM window here, might be useful.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Bot does not use any spells
No, the bot is not trying to cast anything.
It must be connected to the debug message somehow - i do not see the "battling from other mob" if I run the script directly and the casts are working.
It must be connected to the debug message somehow - i do not see the "battling from other mob" if I run the script directly and the casts are working.
Re: Bot does not use any spells
Yes, but what does it say? Does it say "Target Aquired"? Does it say "Moving in range"? Or does it only attack after aggroing a mob? Even then, does it say "waiting for aggro"? Does it say "Not targeting mob because type is travel"?
Are you saying that when you use debug it doesn't work but when you don't use debug it does?
Are you saying that when you use debug it doesn't work but when you don't use debug it does?
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Bot does not use any spells
The screenshot will take until tommorw as the goblin mine is a daily.
The problem occurs with and without debug mode, I just activated debug hoping to see more.
The problem occurs with and without debug mode, I just activated debug hoping to see more.