Stuck in Legends Tournament
Closed this issue · 3 comments
kevingrillet commented
When you don't have any try remaining you end stuck after the click that is supposed to start the fight:
config.sh
# --- CONFIG: Modify accordingly to your game! Use this link for help: https://github.com/zebscripts/AFK-Daily#configvariables --- #
# Player
canOpenSoren=false
arenaHeroesOpponent=5
# General
waitForUpdate=true
endAt="championship"
# Repetitions
maxCampaignFights=0
maxKingsTowerFights=0
totalAmountArenaTries=2+1
totalAmountGuildBossTries=0
# Store
buyStoreDust=false
buyStorePoeCoins=false
buyStoreEmblems=false
# --- Actions --- #
# Campaign
doLootAfkChest=false
doChallengeBoss=false
doFastRewards=false
doCollectFriendsAndMercenaries=false
# Dark Forest
doSoloBounties=false
doTeamBounties=false
doArenaOfHeroes=false
doLegendsTournament=true
doKingsTower=false
# Ranhorn
doGuildHunts=false
doTwistedRealmBoss=false
doBuyFromStore=false
doStrengthenCrystal=false
doCompanionPointsSummon=false
doCollectOakPresents=false # Only works if "Hide Inn Heroes" is enabled under "Settings -> Memory"
# End
doCollectQuestChests=false
doCollectMail=false
doCollectMerchantFreebies=false
Zebiano commented
Thanks for this issue, that would make sense. I think we can make use of the newly added waitForBattle()
function and add a max amount of tries. Or make a check for if the script stays in that screen or not.
Also, how did this end up happening? Did you put the wrong amount in totalAmountArenaTries
?
kevingrillet commented
I was trying to do totalAmountArenaTries = 2 (default)+7 (VIP)+2 (free tickets / day)
But it's not working, I don't remember the number of tournament free entries.
Zebiano commented
Interesting. OK, will try to fix this eventually!