tdScript Addon Update & Pre-Patch Only Pet!

Subscribe via RSS
tdScript Addon Update & Pre-Patch Only Pet!


2022-11-16 21:04:47

1. tdScript Addon Update

New patches and expansions breaking addons is as regular as the sunrise, and pet battle addons are no exception!

However, this also ushers in the chance for improvements and some of the addon creators in the community have done just that. We used to need two addons--tdPetBattleScripts & tdPetBattleScripts Rematch--to run tdscripts in Rematch. Now they've been combined into a single addon called Pet Battle Scripts!

Note: You must delete the old addons directly from your addon folder, and not through an addon manager. You can also reference Skull's comment here.

So a big thank you to Super and all those who collaborated on this to update the addon!

2. Pre-Patch Only Pet: Primal Stormling

Phase Two of the pre-patch is underway, and with it we get a new pet: the Primal Stormling!

While this pet is cageable, the quest it is a reward from will only be available during pre-patch, so if you don't want to have to purchase one at a later date on the AH you'll need to log in soon!

This pet requires multiple, short quests to unlock A Primal Threat from Khadgar:

1. The Dragon Isles Await
2. Aspectral Invitation
3a. The Dark Talons (Horde) / The Obsidian Warders (Alliance)
3b. Expeditionary Coordination
4. Whispers on the Winds
5. A Primal Threat

It doesn't matter which Primal Storm you go to for the ten motes for the quest A Primal Threat.

We at Xu-Fu's wish you all the best in your pet collecting endeavors, and happy battling!


wrote on 2022-11-20 00:15:02

Piggybacking on this but if anyone has a replacement suggestion for BattlePetCount that would be appreciated! It's been abandoned since 2018.


wrote on 2022-11-20 10:24:40

Hm. I don't know anything about that, but looking at the image on its page, my mouseover of a pet does contain that information in a slightly different presentation.

See https://imgur.com/a/KaMZKsk or https://i.imgur.com/Rp35J22.png for what I get when I mouseover a wild pet in battle. The "Collected" line is just under the opposing pet's name, and shows what levels, qualities and breeds I have.

If this is of interest to you, reply and we can work out what's doing it. It will almost certainly be somewhere in Rematch, Battle Pet Breed ID, Pet Tracker, Battle Pet Battle UI Tweaks


wrote on 2023-02-16 21:44:14

Hello, I'm so sorry I took an absolute eternity to reply to this.

What I liked about BattlePetCount was that when you hovered over a battlepet icon on the minimap, it showed the name (like normal) as well as whether or not you own said pet, its level, and quality: https://imgur.com/EgfnFp6

Right now this is what I see when hovering: https://imgur.com/1Ra7Sz2
I have a rare quality level 25 rabbit, but there's no way to tell that by hovering over the icon alone. BattlePetCount would tell me "Rabbit (Owned: L25)" the L25 part in blue.

Currently I have Rematch, Battle Pet BreedID, Pet Tracker, and as far as I can tell none of them offer that functionality. I really liked being able to see whether or not I had the pet and what quality it was just by hovering over the icon, say while flying above, rather than having to find and hover over the NPC itself or engage in battle.

If there's a way to add this to the currently updated and popular addons, or just some setting I'm missing, that would be really fantastic!


wrote on 2023-02-16 21:56:48

Hm. A lot has happened. Someone came onto the Discord asking about that same addon, and I kludged a fix that made it run.

But now I see that someone is continuing it, since the original is abandoned. The new version is called BattlePetCount NG and it is at https://www.curseforge.com/wow/addons/battlepetcount-ng

Try that and see if it still does what you need!


wrote on 2023-01-28 17:10:01

I can copy and paste the script. Clicking "Auto" or the "A" on the panel will not cast the spell.


wrote on 2022-12-08 23:50:16

Yeah i followed all comments and directions, uninstalled both the Td from folder, got the new one and rematch, restarted and it completely bugged my pet journal :(
Even reinstalling the other, all just bugged now, cant even see my pets...kinda regret even trying to download this one now. (edited)


wrote on 2022-12-10 21:04:15

Was this still occurring even with all other addons disabled? I followed the instructions given on the addon's page on Curseforge last month and have not had any major issues with using Pet Battle Scripts since that time. (edited)


wrote on 2022-12-03 00:32:51

i cannot get the new Addon to work. i deleted the old addons out of my folder and installed the new addon but i cannot write scripts at all.


wrote on 2022-12-04 00:14:55

Exactly the same issue I'm having :(


wrote on 2022-12-06 23:30:09

so i figured out what was going on and i feel like an idiot kinda. after dowloading the addon for whatever reason in my addons in game i never activated or had it turned on like other addons that you get and had to actually go and manually enable it. apparently it either comes installed disabled or another addon makes it go disabled


wrote on 2022-12-09 00:57:13

I have it working now as well. But I just kept reinstalling it through cureseforge and it eventually started letting me write scripts /shrug/


wrote on 2022-11-20 23:22:40

Thank you so much @DragonsAfterDark! I got my shiny new pet and installed the new addon. Huge thanks to folks who made this addon. Looks like the addon Derangement's Pet Battle Cooldowns has stopped working. Does anyone know of any other addon that can do the same thing in PVP? I wish there was someone in the community who could fix this. Without this one pvp pet battles are tough.


wrote on 2022-11-21 09:41:43

Mutanis made a patch to Derangement's. Here's the diff:

< if (playerIndex == LE_BATTLE_PET_ALLY) then
> if (playerIndex == Enum.BattlePetOwner.Ally) then
< lastPlayerAbilityID = C_PetBattles.GetAbilityInfo(LE_BATTLE_PET_ALLY, C_PetBattles.GetActivePet(LE_BATTLE_PET_ALLY), myActionIndex);
> lastPlayerAbilityID = C_PetBattles.GetAbilityInfo(Enum.BattlePetOwner.Ally, C_PetBattles.GetActivePet(Enum.BattlePetOwner.Ally), myActionIndex);
< local isMyAction = (id == lastPlayerAbilityID) and checkMatchingStats(LE_BATTLE_PET_ALLY, hp, pow, spd);
> local isMyAction = (id == lastPlayerAbilityID) and checkMatchingStats(Enum.BattlePetOwner.Ally, hp, pow, spd);
< processPlayerAction(LE_BATTLE_PET_ALLY, getPlayerAbilityIndex(LE_BATTLE_PET_ALLY, id), id);
> processPlayerAction(Enum.BattlePetOwner.Ally, getPlayerAbilityIndex(Enum.BattlePetOwner.Ally, id), id);
< local enemyAbilityIndex = getPlayerAbilityIndex(LE_BATTLE_PET_ENEMY, id);
< local isEnemyAction = enemyAbilityIndex and checkMatchingStats(LE_BATTLE_PET_ENEMY, hp, pow, spd);
> local enemyAbilityIndex = getPlayerAbilityIndex(Enum.BattlePetOwner.Enemy, id);
> local isEnemyAction = enemyAbilityIndex and checkMatchingStats(Enum.BattlePetOwner.Enemy, hp, pow, spd);
< processPlayerAction(LE_BATTLE_PET_ENEMY, enemyAbilityIndex, id);
> processPlayerAction(Enum.BattlePetOwner.Enemy, enemyAbilityIndex, id);
< local opposingTeam = LE_BATTLE_PET_ALLY + LE_BATTLE_PET_ENEMY - petFrame.playerIndex; --the OTHER player
> local opposingTeam = Enum.BattlePetOwner.Ally + Enum.BattlePetOwner.Enemy - petFrame.playerIndex; --the OTHER player
< if (petFrame.playerIndex == LE_BATTLE_PET_ALLY ) then
> if (petFrame.playerIndex == Enum.BattlePetOwner.Ally ) then
< if (petFrame.playerIndex == LE_BATTLE_PET_ALLY ) then
> if (petFrame.playerIndex == Enum.BattlePetOwner.Ally ) then
< if (petFrame.playerIndex == LE_BATTLE_PET_ALLY ) then
> if (petFrame.playerIndex == Enum.BattlePetOwner.Ally ) then


wrote on 2022-11-21 10:21:21

That was for the LUA. And for the XML, the same substitution:

< DeePetBattlePet_OnLoad(self, LE_BATTLE_PET_ALLY, 1);
> DeePetBattlePet_OnLoad(self, Enum.BattlePetOwner.Ally, 1);
< DeePetBattlePet_OnLoad(self, LE_BATTLE_PET_ALLY, 2);
> DeePetBattlePet_OnLoad(self, Enum.BattlePetOwner.Ally, 2);
< DeePetBattlePet_OnLoad(self, LE_BATTLE_PET_ALLY, 3);
> DeePetBattlePet_OnLoad(self, Enum.BattlePetOwner.Ally, 3);
< DeePetBattlePet_OnLoad(self, LE_BATTLE_PET_ENEMY, 1);
> DeePetBattlePet_OnLoad(self, Enum.BattlePetOwner.Enemy, 1);
< DeePetBattlePet_OnLoad(self, LE_BATTLE_PET_ENEMY, 2);
> DeePetBattlePet_OnLoad(self, Enum.BattlePetOwner.Enemy, 2);
< DeePetBattlePet_OnLoad(self, LE_BATTLE_PET_ENEMY, 3);
> DeePetBattlePet_OnLoad(self, Enum.BattlePetOwner.Enemy, 3);


wrote on 2022-11-23 01:31:29

Thank you so much @Gráinne but I don't have a clue how to do this :(


wrote on 2022-11-23 14:05:09

Yeah, this is becoming a problem. When the people who put these addons up on Curseforge stop logging, there is no easy way for those who make small fixes to distribute them, and most of us are not wiulling to take on a long-term maintenence commitment.

Are you on DIscord? The files are posted in the WCP Discord, or I could DM them to you there.


wrote on 2022-11-23 17:41:56

Thanks Gráinne. I'm not on disc or any other social media. lol. Sent you a PM here on XuFu with my email information. tysm for all the help


wrote on 2022-11-24 12:32:33

There are a couple more requests for this, and many battlers have an interest in keeping it going, so rather than trying to function as a mail hub for one-by-one requests, I'm going to try and arrange some public place for it. More news soon, I hope.


wrote on 2022-11-24 15:57:18

You're awesome! Thank you so much


wrote on 2022-12-04 01:23:53

I am SO sorry. I was SURE I had replied again.

Someone kindly posted a fixed version already as a link in the top comment on Curseforge;s Derangement's Page. I downloaded it and took a look. It is not exactly the same as the version I have, but it does work.

Here's the link: Link


wrote on 2022-11-18 17:54:49

Hey all, Super here (maintainer of the new addon).
It looks like when you uninstall tdBattlePetScripts it likes to remove Rematch along with it for whatever reason. Ill add a note to the instructions about this :)
If you are having any trouble, please leave a comment on the Curse page or in Github as that helps us better track issues!


wrote on 2022-11-19 23:57:18

Thanks for letting us know, I couldn't figure out why Rematch was suddenly gone.


wrote on 2022-11-28 06:36:03

Ty, I managed to swap from tdPetBattleScripts to Pet Battle Scripts with no hassle. I've got all my teams and scripts working.


wrote on 2022-11-24 01:20:25

is tdbattlepetscript abandoned? there was a 10.0 patch on 10/28.


wrote on 2022-11-24 01:25:11

I think that was Super & someone else trying to take over, but they instead decided to just make a new one. I could be completely wrong on that, though. I think because one is updated, but the other isn't, it still won't work?

Reed wrote on 2022-11-26 13:45:39

It doesn't work, which made me check XUFU news :D


wrote on 2022-11-17 19:41:40

I can't "write script" for any of the tamers anymore. The option doesn't show up at all. I'm hoping when they "fix" this all of my old scripts will reappear.


wrote on 2022-11-19 22:01:56

Same here, I uninstalled the others and installed the new one and can't find the option to write scripts.. kind of confused as I don't believe it deleted my scripts. I saved a backup anyways but thinking something is just broken :(.


wrote on 2022-11-20 02:25:55

I reinstalled Pet Battle Scripts (if I didn't have it before) and all of my scripts "reappeared" and the option to write scripts showed back up on my options. Give that a try.


wrote on 2022-11-20 00:10:20

PSA - if you screwed up like me and accidentally deleted all your saved variables, they can be recovered.
-Go to your Recycle Bin, restore all of the tdBattlePetScript files that were just deleted
-Go to your addon manager, uninstall tdBattlePetScript again (but don't delete the saved variables this time!)
-Reinstall Rematch on its own (for some reason it gets deleted too when you delete tdBattlePetScript Rematch)
-Log in. Rematch should be there along with the new addon and all of your old teams. This worked for me and everything is smooth again.


wrote on 2022-11-17 10:45:58

Thanks for the update. I hate seeing a developers addon being taken over but when it's all but abandoned its great to see a great addon brought back to life.

Next one is Auto Revive. I was actually going to give it a crack myself this weekend but depends on how much rum I drink :p


wrote on 2022-11-19 05:42:35

Good news! There's an up-to-date addon that can sort of do what you're asking for. It's called UltraSquirt. This lets you make a macro that you can add to a spell you regularly cast (I use mount/dismount), so that you're healing your pets very frequently. (It also doesn't throw an error when your pets are already healed.)

A sample macro looks like this, which heals your pets and summons a random mount:
#showtooltip Sinrunner Blanchy
/click UltraSquirtFrameReviveBattlePetsButton LeftButton
/run C_MountJournal.SummonByID(0)


wrote on 2022-11-19 08:32:04

Ty for that.
It's not exactly what I am after but I will keep it in mind if I cant get the other up and running. So far the rum has won the battle of development vs partying :p


wrote on 2022-11-17 08:40:31

Some addon managers default to removing the saved variables when an addon is removed. It is VERY IMPORTANT to turn that off before removing those two addons. I use WowUp, and it explicitly tells you that it won't delete your saved variables. I can't speak for any other addon managers, but do yourself a favor and check your settings before you delete.


wrote on 2022-11-18 15:26:39

How do we do this?


wrote on 2022-11-18 19:01:56

Open your Curseforge app > Go to Settings > Click on the WoW settings on the left hand side of the app > Scroll down to the "Delete Settings" area and turn these off.

Jeremyskmorris wrote on 2022-11-17 21:42:36

can't click on pet battles for the saved fight to come up, also a lot of my saved battles are gone.


wrote on 2022-11-17 07:57:56

I'm sorry but this new addon Pet Battle Scripts is absolutely not working. I uninstall tdBattlePetScript and tdBattlePetScript_Rematch like they said, and install the new Add On.
Guess what ? i've lost every group and script that i saved.


wrote on 2022-11-17 08:26:31

That is likely my fault. Do you use an addon manager?


wrote on 2022-11-17 10:47:30

I would definately advise people to copy their WTF folder before doing this encase something goes wrong.


wrote on 2022-11-17 11:56:28

I juse use tdBattlePetScript /tdBattlePetScript Rematch / Rematch / Battle Pet BreedID

But the script didn't working since yesterday ;_; (edited)


wrote on 2022-11-17 12:03:40

Okay working now. I don't know why, but when you uninstall tdBattlePetScript Rematch, "Rematch" is also deleted. So i've uninstall everything, download Rematch, then the new addon, Pet Battle Scripts.

Working and my teams are back ;) (edited)


wrote on 2022-11-17 21:20:31

Yeah. Rematch was unistalled by curse client for me too. I had to reinstall it.

New Comment: