Disable self buffing
Disable self buffing
Is it possible to disable the self-buffing feature (except disabling all single skills)?
Sometimes it's a dead giveaway, only a bot will stop to cast useless combat and defense buffs in the middle of a minigame or event game that does not involve any combat.
Sometimes it's a dead giveaway, only a bot will stop to cast useless combat and defense buffs in the middle of a minigame or event game that does not involve any combat.
Re: Disable self buffing
Yes it's possible. Open your profile and add after each skill which shouldn't be casted an .
Then the bot shouldn't cast it.
AlterEgo95
Code: Select all
autouse="false"
Then the bot shouldn't cast it.
AlterEgo95
Re: Disable self buffing
That's what I mean with "disabling single skills"
The idea would be to turn self buffs off with one line only in the minigame script and leave the profile untouched.
The bot already has such a mode when you're riding on a mount, but I don't know whether/how to trigger it manually.
The idea would be to turn self buffs off with one line only in the minigame script and leave the profile untouched.
The bot already has such a mode when you're riding on a mount, but I don't know whether/how to trigger it manually.
Re: Disable self buffing
Put in the WP onload
that would make all of your skills autouse false, so wouldn't cast any skills, this is good for minigames where all skills are disabled like AT.
If you just want to disable buffs then add in a check for buff skills.
Something like
Code: Select all
for k,v in pairs(settings.profile.skills) do
v.AutoUse = false
end
If you just want to disable buffs then add in a check for buff skills.
Something like
Code: Select all
if v.type == "buff" then
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Disable self buffing
and how to reenable autouse to true, because when a waypoint are loaded from previous this settings are still applied, and in next WP there is a need to use skills to defend itself
Re: Disable self buffing
reload the profile will set them back to the way they are in the profile itself.CanceR wrote:and how to reenable autouse to true, because when a waypoint are loaded from previous this settings are still applied, and in next WP there is a need to use skills to defend itself
Code: Select all
settings.loadProfile(load_profile_name);
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Disable self buffing
Yes, it's called "loadProfile". It's part of the bot. It's benefits are;
But then if a particular character doesn't have it's own profile then that wont work. You could use a generic profile eg.
But then you miss out on the benefits of using the characters own optimized profiles. In the end it might just be easier to just do this.
Which is what I usually do and have done for some of the minigames I've done.
- 1. You don't have to specify a profile name. If you don't, it will load the profile with the same name as the character or, if that doesn't exist, it will load 'userdefault' if that exists. Just like when you start the bot without specifying a profile.
2. It converts the name to ascii like when you start the bot.
3. It refreshes the 'player' variable (which is not needed in this case because you aren't changing character).
4. And it runs the profile onload (which again is not needed in this case because you aren't changing character).
Code: Select all
settings.loadProfile(player.Name)
Code: Select all
settings.loadProfile("userdefault")
Code: Select all
loadProfile()
- 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: Disable self buffing
thank you very much for detailed explanation, you Rock
Who is online
Users browsing this forum: No registered users and 0 guests