^

tdScript Addon Update & Pre-Patch Only Pet!


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

25

2022-11-16 21:04:47
PET NEWS - BY DRAGONSAFTERDARK

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!







Super#22154

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!

Mystborn

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

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

Aspasito

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.

Toenail

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

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

DragonsAfterDark

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

Kaxer

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.

Gráinne

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

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

163c163
< if (playerIndex == LE_BATTLE_PET_ALLY) then
---
> if (playerIndex == Enum.BattlePetOwner.Ally) then
196c196
< 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);
213c213
< 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);
215c215
< processPlayerAction(LE_BATTLE_PET_ALLY, getPlayerAbilityIndex(LE_BATTLE_PET_ALLY, id), id);
---
> processPlayerAction(Enum.BattlePetOwner.Ally, getPlayerAbilityIndex(Enum.BattlePetOwner.Ally, id), id);
219,220c219,220
< 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);
223c223
< processPlayerAction(LE_BATTLE_PET_ENEMY, enemyAbilityIndex, id);
---
> processPlayerAction(Enum.BattlePetOwner.Enemy, enemyAbilityIndex, id);
348c348
< 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
490c490
< if (petFrame.playerIndex == LE_BATTLE_PET_ALLY ) then
---
> if (petFrame.playerIndex == Enum.BattlePetOwner.Ally ) then
510c510
< if (petFrame.playerIndex == LE_BATTLE_PET_ALLY ) then
---
> if (petFrame.playerIndex == Enum.BattlePetOwner.Ally ) then
856c856
< if (petFrame.playerIndex == LE_BATTLE_PET_ALLY ) then
---
> if (petFrame.playerIndex == Enum.BattlePetOwner.Ally ) then

Gráinne

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

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

231c231
< DeePetBattlePet_OnLoad(self, LE_BATTLE_PET_ALLY, 1);
---
> DeePetBattlePet_OnLoad(self, Enum.BattlePetOwner.Ally, 1);
242c242
< DeePetBattlePet_OnLoad(self, LE_BATTLE_PET_ALLY, 2);
---
> DeePetBattlePet_OnLoad(self, Enum.BattlePetOwner.Ally, 2);
253c253
< DeePetBattlePet_OnLoad(self, LE_BATTLE_PET_ALLY, 3);
---
> DeePetBattlePet_OnLoad(self, Enum.BattlePetOwner.Ally, 3);
265c265
< DeePetBattlePet_OnLoad(self, LE_BATTLE_PET_ENEMY, 1);
---
> DeePetBattlePet_OnLoad(self, Enum.BattlePetOwner.Enemy, 1);
276c276
< DeePetBattlePet_OnLoad(self, LE_BATTLE_PET_ENEMY, 2);
---
> DeePetBattlePet_OnLoad(self, Enum.BattlePetOwner.Enemy, 2);
287c287
< DeePetBattlePet_OnLoad(self, LE_BATTLE_PET_ENEMY, 3);
---
> DeePetBattlePet_OnLoad(self, Enum.BattlePetOwner.Enemy, 3);

Kaxer

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 :(

Gráinne

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.

Kaxer

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

Gráinne

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.

Kaxer

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

You're awesome! Thank you so much

Mystborn

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.

Gráinne

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
(edited)

KrisHeart

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.

Ezlyn#1611

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 :(.

KrisHeart

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.

Mystborn

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.

WhyDaRumGone

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

UncleVinny#11559

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)

WhyDaRumGone

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

Skull

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.

ABitofPancakes

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

How do we do this?

Sunktokeca#1770

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.

Linow#21250

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.
(edited)

DragonsAfterDark

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

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

WhyDaRumGone

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.

Linow#21250

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)

Linow#21250

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)

Zalid

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:





































Name:

Link: