What i'd do is see if the lowlevel has a spell with a cooldown, weathereffect or debuff. If that debuff/weathereffect/cooldown is active, swapout. Then the high level will be brought in and slaughter some
And you can ofc add a swapout health(thispet) islessthan 60 to avoid dying from a dot.
The sliders do not affect when a pet is swapped out, it affects which pet is swapped in or (pre combat) set as first to fight.
<?xml version="1.0" encoding="utf-8"?>
<PetBattleSettings>
<Logic>SWAPOUT Health(THISPET) ISLESSTHAN 30@CASTSPELL(1) COOLDOWN(SKILL(1)) EQUALS true@CASTSPELL(3) Health(ENEMYPET) ISLESSTHAN 25</Logic>
</PetBattleSettings>
<?xml version="1.0" encoding="utf-8"?>
<PetBattleSettings>
<Logic>SWAPOUT Health(THISPET) ISLESSTHAN 90</Logic>
</PetBattleSettings>
[BB] Pet HP's : 100:100:100
[BB] Heavily injured pets : 0
[BB] Move to highspot
[BB] Battle Preparation
17445087
17260046
17263044
[BB] Pet Ratings - Slot 1 : 2400 Slot 2 : 400 Slot 3 : 400
Error getting mount info for mount slot 41. Exception: System.AccessViolationException: Could not read bytes from 258DDE34 [299]!
at Styx.MemoryManagement.ExternalProcessReader.ReadBytes(IntPtr address, Int32 count, Boolean isRelative)
at Styx.MemoryManagement.MemoryBase.ReadString(IntPtr address, Encoding encoding, Int32 maxLength, Boolean relative)
at Styx.WoWInternals.Lua.GetReturnValues(String lua, String scriptName)
at Styx.WoWInternals.Lua.GetReturnValues(String lua)
at Styx.CommonBot.Mount.MountWrapper..ctor(Int32 slot)
at Styx.CommonBot.Mount.get_Mounts()
Error getting mount info for mount slot 47. Exception: System.AccessViolationException: Could not read bytes from 258DDE94 [299]!
at Styx.MemoryManagement.ExternalProcessReader.ReadBytes(IntPtr address, Int32 count, Boolean isRelative)
at Styx.MemoryManagement.MemoryBase.ReadString(IntPtr address, Encoding encoding, Int32 maxLength, Boolean relative)
at Styx.WoWInternals.Lua.GetReturnValues(String lua, String scriptName)
at Styx.WoWInternals.Lua.GetReturnValues(String lua)
at Styx.CommonBot.Mount.MountWrapper..ctor(Int32 slot)
at Styx.CommonBot.Mount.get_Mounts()
Mounting: Blue Proto-Drake
[BB] Parsing 100 < 90
[BB] SKIP count :1
Mounting: Silver Riding Nether Ray
[BB] Parsing 100 < 90
[BB] SKIP count :2
Mounting: Snowy Gryphon
[BB] Parsing 100 < 90
[BB] SKIP count :3
Mounting: Purple Netherwing Drake
[07:39:02.126 D] System.NullReferenceException: Object reference not set to an instance of an object.
at Pokehbuddyplug.Pokehbuddy.ReadSlot(Int32 slotnr) in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\Pokehbuddy.cs:line 1009
at Pokehbuddyplug.Pokehbuddy.PetSwappingPreCombat() in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\Pokehbuddy.cs:line 478
at Pokehbuddyplug.Pokehbuddy.Pulse() in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\Pokehbuddy.cs:line 229
at Styx.Plugins.PluginWrapper.Pulse()
[07:39:02.126 D] Plugin Pok?buddy threw an exception in 'Pulse'! Exception:
[07:39:02.126 D] System.NullReferenceException: Object reference not set to an instance of an object.
at Pokehbuddyplug.Pokehbuddy.ReadSlot(Int32 slotnr) in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\Pokehbuddy.cs:line 1009
at Pokehbuddyplug.Pokehbuddy.PetSwappingPreCombat() in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\Pokehbuddy.cs:line 478
at Pokehbuddyplug.Pokehbuddy.Pulse() in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\Pokehbuddy.cs:line 229
Hi,
i have two pets with pretty the same skills. It bite the enemy and gives a debuff for 3 Rounds
The ID from the skill is 807.
...
Thanks from germany!
so is there any way to do it like this?:
CASTSPELL(3) Health(THISPET) ISLESSTHAN Health(ENEMYPET)
if you tell me how i can export some beheaviors i might share them with other ppl
Greetings
I havnt really tested the pvp part yet, will do that this weekend.When it does battles against other players it never picks one to start with it just spams..
"[BB] Have to select new one
17642281
5512629
17642278
[BB] Pet Ratings - Slot 1 : 1600 Slot 2 : 800 Slot 3 : 800
[BB] Parsing 100 < 30
[BB] Parsing False
[BB] Parsing 3 = 5
[BB] Parsing True = false
[BB] Parsing True = false
[BB] SKIP count :2"
I will implement it somewhere this weekend. (it should already work if you edit the file manually and put that line in)Hay
Pokebuddy is a very nice addon but just fails without own costum behaviors.
so i made some for some pets.
one of my pets has this spell Comeback - Battle Pet Ability - World of Warcraft
and i want to make a behavior what should be like this:
i could do it like this:
CASTSPELL(3) Health(THISPET) ISLESSTHAN 15 $ Health(ENEMYPET) ISGREATERTHAN 15
CASTSPELL(3) Health(THISPET) ISLESSTHAN 16 $ Health(ENEMYPET) ISGREATERTHAN 16
CASTSPELL(3) Health(THISPET) ISLESSTHAN 17 $ Health(ENEMYPET) ISGREATERTHAN 17
CASTSPELL(3) Health(THISPET) ISLESSTHAN 18 $ Health(ENEMYPET) ISGREATERTHAN 18
CASTSPELL(3) Health(THISPET) ISLESSTHAN 19 $ Health(ENEMYPET) ISGREATERTHAN 19
etc but it would take hours
so is there any way to do it like this?:
CASTSPELL(3) Health(THISPET) ISLESSTHAN Health(ENEMYPET)
if you tell me how i can export some beheaviors i might share them with other ppl
Greetings
[03:07:01.968 D] System.Exception: Expression expected.
at CalcEngine.CalcEngine.Throw(String msg) in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\CalcEngine\CalcEngine.cs:line 765
at CalcEngine.CalcEngine.ParseAtom() in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\CalcEngine\CalcEngine.cs:line 436
at CalcEngine.CalcEngine.ParseUnary() in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\CalcEngine\CalcEngine.cs:line 363
at CalcEngine.CalcEngine.ParsePower() in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\CalcEngine\CalcEngine.cs:line 341
at CalcEngine.CalcEngine.ParseMulDiv() in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\CalcEngine\CalcEngine.cs:line 329
at CalcEngine.CalcEngine.ParseAddSub() in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\CalcEngine\CalcEngine.cs:line 317
at CalcEngine.CalcEngine.ParseCompare() in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\CalcEngine\CalcEngine.cs:line 305
at CalcEngine.CalcEngine.ParseExpression() in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\CalcEngine\CalcEngine.cs:line 301
at CalcEngine.CalcEngine.Parse(String expression) in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\CalcEngine\CalcEngine.cs:line 84
at Pokehbuddyplug.Pokehbuddy.ActualCalc(String s) in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\Pokehbuddy.cs:line 389
at Pokehbuddyplug.Pokehbuddy.Calc(String s) in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\Pokehbuddy.cs:line 402
at Pokehbuddyplug.Pokehbuddy.ParseLogic(String theLogic) in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\Pokehbuddy.cs:line 920
at Pokehbuddyplug.Pokehbuddy.Pulse() in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\Pokehbuddy.cs:line 289
at Styx.Plugins.PluginWrapper.Pulse()
Work is really killing me, 12 hrs a day. Sorry for the lack of updates or support.
if you remove the last $ it should workThe Problem with for Example
@SWAPOUT Health(THISPET) ISLESSTHAN 30
is that when all of my 3 Pets under the 30 he Swap every Round and then we Lose the fight, because we dont fight back.
It will be better so that when all of the 3 Pets are under the Amount then irgnore swap and fight back.
SWAPOUT Health(THISPET) ISLESSTHAN 30 $ Health(ENEMYPET) ISGREATERTHAN 15 $
seems to be not working...hes not swapping :-(
and ther is a error:
Code:[03:07:01.968 D] System.Exception: Expression expected. at CalcEngine.CalcEngine.Throw(String msg) in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\CalcEngine\CalcEngine.cs:line 765 at CalcEngine.CalcEngine.ParseAtom() in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\CalcEngine\CalcEngine.cs:line 436 at CalcEngine.CalcEngine.ParseUnary() in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\CalcEngine\CalcEngine.cs:line 363 at CalcEngine.CalcEngine.ParsePower() in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\CalcEngine\CalcEngine.cs:line 341 at CalcEngine.CalcEngine.ParseMulDiv() in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\CalcEngine\CalcEngine.cs:line 329 at CalcEngine.CalcEngine.ParseAddSub() in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\CalcEngine\CalcEngine.cs:line 317 at CalcEngine.CalcEngine.ParseCompare() in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\CalcEngine\CalcEngine.cs:line 305 at CalcEngine.CalcEngine.ParseExpression() in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\CalcEngine\CalcEngine.cs:line 301 at CalcEngine.CalcEngine.Parse(String expression) in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\CalcEngine\CalcEngine.cs:line 84 at Pokehbuddyplug.Pokehbuddy.ActualCalc(String s) in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\Pokehbuddy.cs:line 389 at Pokehbuddyplug.Pokehbuddy.Calc(String s) in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\Pokehbuddy.cs:line 402 at Pokehbuddyplug.Pokehbuddy.ParseLogic(String theLogic) in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\Pokehbuddy.cs:line 920 at Pokehbuddyplug.Pokehbuddy.Pulse() in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\Pokehbuddy.cs:line 289 at Styx.Plugins.PluginWrapper.Pulse()
Will think about it, untill then use the other plugin i noticed just nowGreat Addon, I think i mentioned that bfeore. But is there a way to make it rotate through rare quality pets? I am trying to complete the achievements for 75 level 25 pets and it slows it down having to stop the bot to change pets once they level in an area. Maybe a routine that cycles when pets become too high level for area, changes them out for another pet of set level?
Just a thought. Its not inconceivable to change, just thinking this would make it much easier. I saw another pet plugin here that cycles them, but that one also releases pets. I would like to keep what i have,.
Post your logic and we can take a lookVery nice plugin and great job. Took me a while to set some things because i'm a real dumb at those things....for example i can't understand how can i tell PokeBuddy to cast X spell each Y turn and not spamming it,i'm talking about spell with a duration buff/debuff but with no CD ex. Flamethrower - Battle Pet Ability - World of Warcraft
Name the folder Pokehbuddy and it should workCan't work right now right? i've just removed the old folder called PokeBuddy and did a svn checkout on a new folder and i'm not able to see the plugin in my honorbuddy plugins