^
Login

or


TD Battle Pet Script
Subscribe via RSS
TD Battle Pet Script
2017-05-28 12:45:19
PAGE UPDATE - BY ARANESH
Today I would like to introduce a small but powerful new addition to Xu-Fu's guides: Scripts for TD BattlePetScript.

A little introduction first: tdBattlePetScript is a fantastic addon created by ldz5 for speeding up PVE pet battles, and removing the element of human error from repetitive battles.
With it you can create scripts for specific pet battle teams, which will allow you to run the fight by pressing a single hotkey each round. These scripts can be as simple as directing a pet to use a certain attack each round, or as complex as choosing which ability to use with which pet, based on a number of conditions a battler might face.

Getting Started
The first thing you’ll need to do is download the addon. There are two versions, a standalone and one that integrates into Rematch, which is highly recommended!

Once installed, open your pet journal and select a pre-made team. Right-click on the team name in the Teams list, and select “Write Script” this will open the script editor.
On every strategy page here where a script is provided, you will see the TD Script button in the battle table header as shown in the screenshot. Click the button, then copy the script into your addon, and get ready to battle!

In Battle
Once you’ve started a battle with the intended target of the script, left-click the V icon at the top of the pet battle screen. This will open the script selector. Here, select “Rematch” and it will load the script you’ve saved for this team.
Now, all you have to do is press your “Auto” hotkey (A by default) each round to run your script. As a special note, this addon does not automate the fights! You must press the button each round you wish your pet to take action.

A huge thanks to SimianRex who spent a lot of time creating the scripts and adding them to the respective fight here!

Give it a try and if you run into any issues, we're happy to help :-)






10 Comments (EN)

Show first:


You must be logged in to vote on comments

0

You must be logged in to vote on comments

Fearanloathing wrote on 11/28/2017

This has worked really well for me....but I took a 2 month break from WOW and now every script I try to save to Rematch returns an error "Found error: Invalid action.....
Any suggestions as to what is wrong are welcome
You must be logged in to vote on comments

1

You must be logged in to vote on comments

Aranesh

wrote on 11/28/2017

Hi!
I think you will need to update the tdscript addon. There have been a few changes to it and many of the scripts have been updated to use the new formatting. They don't work with older versions anymore.
You must be logged in to vote on comments

0

You must be logged in to vote on comments

FearanLoathing wrote on 11/28/2017

I use Curse to keep them updated but, at your suggestion, have reinstalled both.
Current versions are:
Battlepet script: 700300.02
Rematch script: 700300.01
I'll try again after shutdown and let you know
Thanks for the prompt feedback
You must be logged in to vote on comments

0

You must be logged in to vote on comments

FearanLoathing wrote on 11/29/2017

Unfortunately it still doesn't work. This is the string I got when copying the Ashlei script.
Ashlei:87124:844:115:647:282:0:0:0:0:0:0:0:0:
This returns an error when input to the script window.
That string is quite different to the original Ashlei script that worked.
You must be logged in to vote on comments

1

You must be logged in to vote on comments

Aranesh

wrote on 11/29/2017

Oooooh!
That is the Rematch string. Every strategy has that (it's automatically generated) and you can only use it with the addon Rematch.
TD Script is only available on those strategies where we created one manually, because they cannot be generated by a program. Use the button "TD Script" (third one below Pop Out) when available. That should work!
You must be logged in to vote on comments

0

You must be logged in to vote on comments

FearanLoathing wrote on 11/29/2017

Sounds promising...I'll let you know..:))
You must be logged in to vote on comments

0

You must be logged in to vote on comments

FearanLoathing wrote on 11/29/2017

I'm an idiot!!
Now you point it out to me I can't believe I didn't see the button before.

Thank you
You must be logged in to vote on comments

1

You must be logged in to vote on comments

Aranesh

wrote on 11/29/2017

Haha, no problem at all :) Glad it was so easy to solve!
You must be logged in to vote on comments

0

You must be logged in to vote on comments

Druzil wrote on 07/11/2017

Where do we get a los of the numbers for the corresponding auras? cant find anything anywhere.
You must be logged in to vote on comments

0

You must be logged in to vote on comments

Aranesh

wrote on 08/17/2017

Hey! I'd suggest checking in the comments field of the addon on curse. I'm not aware of such a list myself, sorry
You must be logged in to vote on comments

0

You must be logged in to vote on comments

Thali wrote on 06/27/2017

Can someone explain how this isn't against the terms of service? I'm super concerned that using this (which I love!) will get me banned...
You must be logged in to vote on comments

0

You must be logged in to vote on comments

Aranesh

wrote on 06/28/2017

Hey Thali!

It can't. The worst that can happen is Blizzard changing something so the addon doesn't work anymore.

The detailed explanation (and why I'm 100% confident about it) is this - sorry for it being a bit lengthy ^^
TD BPS is written in LUA, the interface that WoW is offering for addon creators. It isn't using any additional code or programming. All information it uses is given through LUA, and all commands it sends are going through LUA as well. That is under the full control of Blizzard, and thus whatever LUA offers, addon creators can use freely.

Sometimes, addon creators become super creative and figure out things that are indeed going too far. For example, once there was an addon that painted the ground with arrows and colors during boss fights, showing you where to position yourself to dodge the boss abilities. That was kind of game-breaking, and Blizzard very quickly removed the LUA commands that made it possible. No player who used it was banned or even contacted about it - because by definition, using LUA, is allowed and perfectly fine.

It would be a completely different story, if the scripts where an external tool and ran automatically. As long as it's an addon, and for every pet ability or command you have to press a button, there's nothing wrong with it :-)

It makes pet battling very trivial, indeed, and personally I'm expecting Blizzard to intervene at some point. But as long as it works, it's cool ^^
You must be logged in to vote on comments

0

You must be logged in to vote on comments

Kammi wrote on 06/24/2017

Downloading the TD addon for rematch does not work. You need to have both addons it appears. Not sure why.
You must be logged in to vote on comments

0

You must be logged in to vote on comments

Zalid wrote on 07/07/2017

The TD Rematch addon does not include the base addon, so you need to download both. Like most addons, eg DBM, there is a core and then additional ones you can choose to download and install. Granted on this occasion, it makes sense to have Rematch installed, so feels more clunky to download two addons.
You must be logged in to vote on comments

0

You must be logged in to vote on comments

Ralthor wrote on 06/05/2017

We have an "and" conditional, but I havent been able to find anything about an "or" conditional. Is there one?
You must be logged in to vote on comments

0

You must be logged in to vote on comments

GennPen wrote on 06/05/2017

You can split:
ability(111) [ condition1 ]
ability(111) [ condition2 ]

ability(111) IF condition1 OR condition2
You must be logged in to vote on comments

0

You must be logged in to vote on comments

Prudentius wrote on 06/06/2017

There is no or conditional exactly. You'll need to create a new line for an explicit situation that you would want to do such a check. There is a tilda ~ operator that will check multiple conditions for such things as weather, round, etc.
See the Reddit post I linked below.
TIP: The syntax will automatically offer suggestions while you are engaged in the fight. Just make sure you close out any if with and endif so it can parse the script while you step through the script you're writing for the fight.
You must be logged in to vote on comments

0

You must be logged in to vote on comments

Hobbyhorse wrote on 06/19/2017

We do not need a or conditional because every line is a or conditional and the script stop when a spell is trigged. (Pass, 1-4, Trap, Forfeit)

Ex:
1: if [enemy(#3).hp < 618]
2: ability(Explode)
3: standby
4: endif
5: ability(#1)
6: change(#2)
7: change(#3)

- If enemy pet 3 has lower healt than 618 do line 2 and 3 before line 4. Line 4 would never been executed.
- If the ability(Explode) is trigged, then the script stop.
- If not the ability(Explode) is trigged, then Past spell is trigged and the script stop.
This is a or conditional.

If enemy pet 3 has 618 or higher health, skip line 3 and 4.
This is a or conditional.

If ability 1 is trigged, stop script. All pets has ability(#1), but the ability 1 can not be trigged if the pet is dead.
If pet 1 is dead, change to pet 2. When pet 2 is dead, change to pet 3.
This is a or conditional.
You must be logged in to vote on comments

0

You must be logged in to vote on comments

GennPen wrote on 06/05/2017

Great addon!
I made a translation into Russian.
Waiting for the update. =)
You must be logged in to vote on comments

0

You must be logged in to vote on comments

Prudentius wrote on 06/04/2017

Found this excellent Reddit post with better information english speakers. Found it while searching for the syntax to pass a round.
https://www.reddit.com/r/wow/comments/6chdrl/a_guide_to_scripting_repeatable_battle_pets_with/
You must be logged in to vote on comments

0

You must be logged in to vote on comments

Prudentius wrote on 06/05/2017

I'll be writing out scripts for what I have between pulls during raid. So far I have about a dozen of my Rematch Notes scripted. The DMF DT Scripts weren't up yet so I posted what I have for those.
You must be logged in to vote on comments

0

You must be logged in to vote on comments

Ralthor wrote on 06/03/2017

4 tdscripts missing from the fights that I regularily do. So I wrote them up and posted them to their appropriate threads. Had to guess for some commands and write a kludge when I couldnt guess how to check for a stun.

EDIT: Awesome work on the develpment on this. Kudos! :)
You must be logged in to vote on comments

0

You must be logged in to vote on comments

Deedee wrote on 06/01/2017

OMG this is amaaazing I love it..your site is sooo very wonderful..I would most definitely pay to access it..like its that good! lol thank you so much!
You must be logged in to vote on comments

0

You must be logged in to vote on comments

Aranesh

wrote on 06/12/2017

Hey Deedee! Thank you very much :D I am super happy you like it!
And it will stay free of course ^^
You must be logged in to vote on comments

0

You must be logged in to vote on comments

Dohram wrote on 05/30/2017

How do I add TD scripts to fights ?
here is mine for bohdi sunweaver
if [ enemy(#1).active ]
ability(504) [ enemy.round=1 ]
ability(504) [ enemy.round=2 ]
ability(312) [ enemy.round=3 ]
ability(504)
endif
if [ enemy(#2).active ]
change(#2)
ability(453) [ !weather(454) ]
ability(406)
endif
if [ enemy(#3).active ]
change(#3) [ enemy.round=1 ]
change(#2) [ self(#3).active ]
ability(453) [ !weather(454) ]
ability(406)
endif
You must be logged in to vote on comments

0

You must be logged in to vote on comments

SimianRex wrote on 05/30/2017

I just checked out your script, and it looks great. Added it to the Teroclaw/Anubisath Idol strat for Bodhi. Thanks!
You must be logged in to vote on comments

0

You must be logged in to vote on comments

@patf0rd wrote on 05/30/2017

Some lines can be deleted and next time you post a script please tell us, what team it's for :-)
You must be logged in to vote on comments

0

You must be logged in to vote on comments

Dohram wrote on 06/03/2017

Where do you want me to post my scripts? Ill send them to you for editing if you like