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 (
tdBattlePetScript 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 :-)
0
You must be logged in to vote on commentsKheldar wrote on 2022-11-17 22:01:21
0
You must be logged in to vote on commentsMate wrote on 2022-11-28 11:08:54
1
You must be logged in to vote on commentsGráinne
wrote on 2022-11-28 19:28:35
Link
0
You must be logged in to vote on commentsManceroy wrote on 2021-04-06 01:22:37
2
You must be logged in to vote on commentsShenk
wrote on 2021-04-06 05:25:54
the latter one makes the other two addons work together
0
You must be logged in to vote on commentsManceroy wrote on 2021-04-06 11:08:42
1
You must be logged in to vote on commentsShenk
wrote on 2021-04-06 11:29:31
Link
0
You must be logged in to vote on commentsManceroy wrote on 2021-04-06 12:31:18
1
You must be logged in to vote on commentsShenk
wrote on 2021-04-06 12:40:52
1
You must be logged in to vote on commentsShenk
wrote on 2021-04-06 12:44:43
0
You must be logged in to vote on commentsManceroy wrote on 2021-04-06 13:49:46
0
You must be logged in to vote on commentsFearanloathing wrote on 2017-11-28 02:23:46
Any suggestions as to what is wrong are welcome
1
You must be logged in to vote on commentsAranesh
wrote on 2017-11-28 03:46:04
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.
0
You must be logged in to vote on commentsFearanLoathing wrote on 2017-11-28 08:26:39
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
0
You must be logged in to vote on commentsFearanLoathing wrote on 2017-11-29 02:34:21
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.
1
You must be logged in to vote on commentsAranesh
wrote on 2017-11-29 03:58:03
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!
0
You must be logged in to vote on commentsFearanLoathing wrote on 2017-11-29 05:13:44
0
You must be logged in to vote on commentsFearanLoathing wrote on 2017-11-29 10:03:38
Now you point it out to me I can't believe I didn't see the button before.
Thank you
1
You must be logged in to vote on commentsAranesh
wrote on 2017-11-29 15:41:56
0
You must be logged in to vote on commentsDruzil wrote on 2017-07-11 09:29:04
0
You must be logged in to vote on commentsAranesh
wrote on 2017-08-17 03:53:25
0
You must be logged in to vote on commentsKammi wrote on 2017-06-24 13:48:36
0
You must be logged in to vote on commentsZalid wrote on 2017-07-07 16:38:09
0
You must be logged in to vote on commentsThali wrote on 2017-06-27 16:00:21
0
You must be logged in to vote on commentsAranesh
wrote on 2017-06-28 05:01:06
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 ^^
0
You must be logged in to vote on commentsRalthor wrote on 2017-06-05 04:00:35
0
You must be logged in to vote on commentsGennPen wrote on 2017-06-05 15:47:35
ability(111) [ condition1 ]
ability(111) [ condition2 ]
ability(111) IF condition1 OR condition2
0
You must be logged in to vote on commentsPrudentius wrote on 2017-06-05 20:48:54
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.
0
You must be logged in to vote on commentsHobbyhorse wrote on 2017-06-19 10:50:15
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.
0
You must be logged in to vote on commentsDeedee wrote on 2017-06-01 09:13:15
0
You must be logged in to vote on commentsAranesh
wrote on 2017-06-12 08:28:11
And it will stay free of course ^^
0
You must be logged in to vote on commentsGennPen wrote on 2017-06-05 03:34:27
I made a translation into Russian.
Waiting for the update. =)
0
You must be logged in to vote on commentsPrudentius wrote on 2017-06-04 15:14:20
Link
0
You must be logged in to vote on commentsPrudentius wrote on 2017-06-05 00:26:47
0
You must be logged in to vote on commentsRalthor wrote on 2017-06-03 12:06:40
EDIT: Awesome work on the develpment on this. Kudos! :)
0
You must be logged in to vote on commentsDohram wrote on 2017-05-29 18:27:41
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
0
You must be logged in to vote on commentsSimianRex wrote on 2017-05-30 15:02:12
0
You must be logged in to vote on comments@patf0rd wrote on 2017-05-30 15:50:50
0
You must be logged in to vote on commentsDohram wrote on 2017-06-02 20:17:00
New Comment: