Oh, I see. Old are gone, but new ones not added. Hm. Previously VS asked to add new files, but not now. Let me check.
Should be there now. Please check.
Oh, I see. Old are gone, but new ones not added. Hm. Previously VS asked to add new files, but not now. Let me check.
I realize this is constantly under development, just wondering if there are long term goals of doing things like daily tamers, celestial tournament, daily garrison battles etc?
Edit: Is there anyway to get this to keep the Safari Hat buff?
If this has already been suggested, then just ignore this.
What I would like, and hope to see in this already great botbase, is an easy way to use standard grind profiles, only containing waypoints.
I would love for these changes to be added to an upcoming build. It would really help me improve my tactics.
Edit Complete. I forgot a few status changes I had saved locally.
Was using the Borean Tundra profile today, and when it is in Coldarra, it finds some "crabs" that is actually inside the Murloc caves, but the bot spazzes out trying to get to them. Are usually four of them around there.
Is it possible to get it to detect that they are underground and get it to ignore them?
Included in 0.9.12, just pushed. Please check.
I've spent like 15 minutes trying to figure out if it is ok to introduce nice but different style here. Finally decided that since you are now the boss in tactics, I can just relax![]()
Haha, that is giving me way, way too much credit, but thanks for incorporating the changes anyway. I really don't want to step on anyone's toes (especially yours) because you are doing a great job. And should I overreach, just tell me and I'll take it down a few notches.I will implement the new tactics on a few pets today and take them for another spin.
Underground detection is possible, yes. I have already added underwater detection since (it seems) a battle can't be started in water (always obstructed).
But do you think it will be better to exclude these hotspots from the profile?
// our active pet speed
public static int speed { get { return MyPets.ActivePet.Speed; } }
// enemy active pet speed
public static int speedEnemy { get { return MyPets.[COLOR="#FF0000"]ActivePet[/COLOR].Speed; } }
// our active pet speed
public static int speed { get { return MyPets.ActivePet.Speed; } }
// enemy active pet speed
public static int speedEnemy { get { return MyPets.[COLOR="#FF0000"]EnemyActivePet[/COLOR].Speed; } }
Where can i donate to your time/ work. keep it up =)
Donations are absolutely not necessary, but will be appreciated anyway, Paypal: [email protected]
Prostak has his paypal information in his signature:
public static bool enemyIsBlinded()
{
if ([COLOR="#FF0000"](_weather == "Darkness" && EnemyActivePet.PetType != (int)PF.Elemental)[/COLOR] ||
debuff("Blinding Poison") || debuff("Blinded") || debuff("Partially Blinded"))
{
return true;
}
return false;
}
public static bool enemyIsBurning()
{
if ([COLOR="#FF0000"](_weather == "Scorched Earth" && EnemyActivePet.PetType != (int)PF.Elemental)[/COLOR] ||
debuff("Fel Immolate") || debuff("Flame Breath") || debuff("Flame Jet") ||
debuff("Flamethrower") || debuff("Immolate"))
{
return true;
}
return false;
}
public static bool enemyIsChilled()
{
if ([COLOR="#FF0000"](_weather == "Blizzard" && EnemyActivePet.PetType != (int)PF.Elemental)[/COLOR] ||
debuff("Frostbite") || debuff("Frost Nova") ||
debuff("Frost Shock") || debuff("Slippery Ice"))
{
return true;
}
return false;
}
public static bool myPetIsBlinded()
{
if ([COLOR="#FF0000"](_weather == "Darkness" && ActivePet.PetType != (int)PF.Elemental)[/COLOR] ||
buff("Blinding Poison") || buff("Blinded") || buff("Partially Blinded"))
{
return true;
}
return false;
}
public static bool myPetIsBurning()
{
if ([COLOR="#FF0000"](_weather == "Scorched Earth" && ActivePet.PetType != (int)PF.Elemental)[/COLOR] ||
buff("Fel Immolate") || buff("Flame Breath") || buff("Flame Jet") ||
buff("Flamethrower") || buff("Immolate"))
{
return true;
}
return false;
}
public static bool myPetIsChilled()
{
if ([COLOR="#FF0000"](_weather == "Blizzard" && ActivePet.PetType != (int)PF.Elemental)[/COLOR] ||
buff("Frostbite") || buff("Frost Nova") ||
buff("Frost Shock") || buff("Slippery Ice"))
{
return true;
}
return false;
}
4. Battling fixed opponents, with priority to Garrison Menagerie. Needed: design profiles (I still think the profile is a proper place), add needed functions to Base, find a proper way to put a tactics into the profile. Interpreter will be needed if un-avoidable.
// the target we would have to catch before the pet battle starts. can be both an NPC or an object
if (enemyNpcId == 79179) // Squirt <Wandering Trainer>
{
// here we would have to define the team with an option to include leveling pets
setTeamPet("Slot1", "Scourged Whelpling", "Tail Sweep", "Death and Decay", "Plagued Blood");
setTeamPet("Slot2", "Rapana Whelk", "Absorb", "Shell Shield", "Dive");
string carryPetName = setCarryPet("Slot3", 4, 24); // selects carry pet between level 4 and 24 and returns name
// if the above team can't be created, then we would have to look in the other override files
if (validTeam() == false)
return;
// if the required team can be created, we just run through the defined tactic
if (petName == "Scourged Whelpling")
{
custom_abilities = new List<AandC>() {
// ...
new AandC("SWAPIN3", () => battleRound == 4), // Slot 3
// ...
};
}
if (petName == "Rapana Whelk")
{
// ...
}
if (petName == carryPetName)
{
custom_abilities = new List<AandC>() {
new AandC("USEANYTHING", () => battleRound == 5), // Slot 3
new AandC("SWAPIN2", () => battleRound == 6), // Slot 3
};
}
// after the battle we return control to the profile
}
I found a nasty little bug today. Probably a copy&paste thing.
PetTacticsBase.cs:
Code:// our active pet speed public static int speed { get { return MyPets.ActivePet.Speed; } } // enemy active pet speed public static int speedEnemy { get { return MyPets.[COLOR="#FF0000"]ActivePet[/COLOR].Speed; } }
should probably be
Code:// our active pet speed public static int speed { get { return MyPets.ActivePet.Speed; } } // enemy active pet speed public static int speedEnemy { get { return MyPets.[COLOR="#FF0000"]EnemyActivePet[/COLOR].Speed; } }
I was really baffled, because my speed checks didn't seem to work.![]()
"Fly you damn bird, you can do it..."
"But I am not fast enough..."
Sounds like the setup for a Pixar movie..
I managed to slip in an oversight when I asked you to add those new tactic functions. Apparently elemental pets do not suffer from negative weather effects so any check would have to respect that.
If you have the time, could you please update the following two code blocks as well? Or give me SVN access (just kidding).
Sorry for that. :-(
Marketing guys would not call it "correcting an oversight". They would call it "making a significant improvement".
Added to 0.9.13.