zebscripts/AFK-Daily

Low level oak inn not working

Opened this issue · 5 comments

This funtion is not working due to my account level is so low ( currently lvl 82 at chapter 12-04). It load Oak Inn but didnt do anything.
image
image
image

The old code should still work, need to get it back in the script... and try top mix it with the new code...

https://github.com/zebscripts/AFK-Daily/blob/master/.tools/afk-faily.ext.sh

Thank you for the extensive screenshots, they always help in trying to understand the current issue!

As @kevingrillet said, there was code in place to make this work in v1, though it has been replaced by a faster way to collect presents. Unfortunately, this new way apparently doesn't work on lower-level accounts, so we'd need to bring the old way back. Shouldn't be too difficult I hope. I just wonder about the best way to do it.

I still dream of a day where players input their current VIP level, as well as campaign stage and the script takes actions depending on those variables. And this falls somewhat into this category... I'll create an issue shortly.

The best way? After the loop, if [ "$_oakInn_COLLECTED" -lt "$totalAmountOakRewards" ] run the old function and check if the old function can run only for the number of missing rewards

Before attempting to solve the current issue, I recommend solving #104.

Unless we want to do it the "dirty" way like you just mentioned @kevingrillet, that is also a possibility. It could completely ignore player levels. Not the best one though, as the script will "spend time" attempting to collect things that we already know aren't there if campaignLevel is below 18. Though it is a possible workaround for now, yes. Feel free to implement it that way if you so wish.

Hey @kenshinxvn, could you please send a video on how your Oak Inn looks like? Ideally, a video starting at the Ranhorn tab that then shows tapping on the Oak Inn and visiting a friend to where you can see the presents that are possible to collect.

Or various screenshots like you did before. What happens when you tap on the Visit friend button for example? We need to know, in order to know where to tap so that we can support lower-level accounts. If you want, send me a message on Discord and we can make a call or something where you can show it in more detail. It's as you wish.

Thank you!