What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Pet Battles bot/plugin

Pack

New Member
Joined
Jan 21, 2012
Messages
54
Reaction score
0
Just wondering if anyone is working on a Pet Battle bot/plugin? I didn't search around terribly hard, but I didn't see anything when I looked.
 
There is none yet, but it will not be too longer. Hopefully within a few months wither its official or unofficial. Its a brand new system so it takes time.
 
Maybe.
Pet battles look fun, as I haven't done a single one myself :(
 
I might work on something when I have some free time, but that wont be for another month or so
 
Should be nothing hard. Do these lines in WoW while in pet battle (some works outside):
/run local Vv = C_PetBattles.GetActivePet(LE_BATTLE_PET_ALLY); print("Active pet:"..Vv);
/run local Vv = C_PetBattles.GetActivePet(LE_BATTLE_PET_ENEMY); print("Enemy's Active pet:"..Vv);
/run local Vv = C_PetBattles.GetNumPets(LE_BATTLE_PET_ALLY); print("Num pets: "..Vv);
/run local Vv = C_PetBattles.GetNumPets(LE_BATTLE_PET_ENEMY); print("Enemy's Num pets: "..Vv);
/run local a = {};for i_=1,3 do a[0],a[1],a[2],a[3],a[4],a[5],a[6],a[7] = C_PetBattles.GetAbilityInfo(LE_BATTLE_PET_ALLY, C_PetBattles.GetActivePet(LE_BATTLE_PET_ALLY), i_); for j_=0,7 do print(strconcat(i_..","..(j_+1)..":", a[j_] or '' )) end; end;
/run local activePet = C_PetBattles.GetActivePet(LE_BATTLE_PET_ALLY);local speciesID = C_PetBattles.GetPetSpeciesID(LE_BATTLE_PET_ALLY, activePet);print (" Spec.id:" .. speciesID) ;
/run for i_=1,3 do local Vv = C_PetBattles.GetSpeed(LE_BATTLE_PET_ALLY, i_); print("Pet"..i_..":"..Vv); end
/run for i_=1,3 do local Vv = C_PetBattles.GetSpeed(LE_BATTLE_PET_ENEMY, i_); print("Pet"..i_..":"..Vv); end
/run for i_=1,3 do local Vv = C_PetBattles.GetHealth(LE_BATTLE_PET_ALLY, i_); print("Pet"..i_..":"..Vv); end
/run for i_=1,3 do local Vv = C_PetBattles.GetHealth(LE_BATTLE_PET_ENEMY, i_); print("Pet"..i_..":"..Vv); end
/run local Vv = C_PetBattles.IsTrapAvailable(); print (' Is trap available: '); print(Vv);
/run local Vv = C_PetBattles.IsWaitingOnOpponent(); print(" is attacking/are skills available:"); print(Vv)
/run local Vv = C_PetBattles.IsInRoundPlayback(); print (' Is in round playback:'); print(Vv)
/run local Vv = C_PetBattles.GetTurnTimeInfo(); print ('PvP Turn time limit:'); print(Vv)

/run C_PetBattles.ChangePet(2)
/run C_PetBattles.ForfeitGame()
/run C_PetBattles.UseAbility(1)



Yes! Just paste them into the chat

Abilities:
1:id,
2:name,
3:icon,
4:maxCooldown,
5:unparsedDescription,
6:numTurns,
7:petType,
8:noStrongWeakHints

Getting data into HB:
lua = lua +
"table.insert(itemInfo, strconcat('id__;', id or '' )); " +
"table.insert(itemInfo, strconcat('name;', name or '')); " +
" return unpack(itemInfo) ";
string[] t = Lua.GetReturnValues(lua).ToArray();
 
^^ woah dude... make something! that's all greek to me, but I really would love a pet battle bot.
 
Back
Top