v0.8.9 (Bugfixes + translations) released to Google Play!

Useful links
Source code of the game - Contribution guide - ATCS Editor - Translate the game on Weblate - Example walkthrough - Andor's Trail Directory - Join the Discord
Get the game (v0.8.9) from Google, F-Droid, our server, or itch.io

Game drops to title screen, loses progress since last save

A place to submit bugs to the Andor's Trail Development Team.
Post Reply
ReverendChuck
Posts: 6
Joined: Mon Jan 07, 2019 11:10 am
android_version: 9.0 - Pie

Game drops to title screen, loses progress since last save

Post by ReverendChuck »

Howdy!

I've been having an issue where the game suddenly stops and drops to the title screen. Selecting "Continue current game" takes me to my most recent save.

This has occurred while fighting an Azthiel in waterway7, an Azthiel Guardian in waterway5, and a Hardened Erumen lizard in waterway9.

It's occurred a few other times as well, where I wasn't paying enough attention to remember for sure what map I was on. However, I'm certain all were in waterway maps. I *think* one occurred outside of combat, but it's possible something respawned in my path and I entered combat without noticing before it dropped to the title screen.

I only started grinding for a Shadowfang a few days ago and didn't encounter this issue anywhere else, despite having played a pretty decent number of hours elsewhere since 0.7.3's release. So I suspect the issue is limited to the waterway area. But maybe that's just optimistic speculation on my part.

Andor's Trail version 0.7.3
Android version 9
Build PPW29.69-26
moto x4

Anywho, I hope this information is useful, and if there's anything else that would be helpful, let me know! And thanks for all the great work you do!
User avatar
Zukero
Lead Developer
Posts: 2028
Joined: Thu Jul 21, 2011 9:56 am
android_version: 8.0
Location: Eclipse

Re: Game drops to title screen, loses progress since last save

Post by Zukero »

Thanks for reporting this.
Would you happen to be playing in another language than English?
Lvl: 78, XP: 8622632, Gold: 271542, RoLS: 1, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 71, AC: 301%, AD: 38-47, AP: 3, ECC: 50%, CM: 3.75, BC: 101%, DR: 2
ReverendChuck
Posts: 6
Joined: Mon Jan 07, 2019 11:10 am
android_version: 9.0 - Pie

Re: Game drops to title screen, loses progress since last save

Post by ReverendChuck »

Nope. Playing in English.
ReverendChuck
Posts: 6
Joined: Mon Jan 07, 2019 11:10 am
android_version: 9.0 - Pie

Re: Game drops to title screen, loses progress since last save

Post by ReverendChuck »

On the off-chance it helps, I'm including my settings below.

Fullscreen: On
Theme: Obsidian
Scaling factor: Normal
Optimized drawing: On
High quality filters: On
Confirm rest: On
Confirm attack: Off
Display monster loot: Show short notification
Confirm overwriting savegames: Always show confirmation dialog box
Combat speed: Fast
Movement method: Straight (original)
Virtual d-pad: Disabled
Minimizable d-pad: On
Enable animations: On
Quickslot position: Center bottom
Show quickslot when toolbox is open: Off
Use localized resources: On
User avatar
rijackson741
Posts: 4451
Joined: Tue Aug 20, 2013 2:04 am
android_version: 10 - Android 10
Location: Somewhere in Dhayavar
Contact:

Re: Game drops to title screen, loses progress since last save

Post by rijackson741 »

Do you recall if it happens at any point in a fight, or when you initially attack?
Level:71, XP:6493739, PV:608, FQ:84
HP:210, AC:212, AD:58-77, AP:4, ECC:16%, CM:1.5, BC:188, DR:3
Gold: 237559 | RoLS:1, RoL:1, GoW:1, VSH:1, RoFLS:1, WoB:1
HH:1, WA:1, CS:2, Cl:1, IF:4, Ev:3, Re:2, WP:DA:1, WP:1S:1, WP:B:1, AP:L:1, FS:DW:2, S:DW:1
User avatar
Zukero
Lead Developer
Posts: 2028
Joined: Thu Jul 21, 2011 9:56 am
android_version: 8.0
Location: Eclipse

Re: Game drops to title screen, loses progress since last save

Post by Zukero »

I found crash reports on Google play that could fit your description. It seems to be triggered by the loot's short notification (a toast in android parlance).
There are very few occurrence, all on Android 8+, and the crash is happening in android code only, no trace of our own. There's very little we can do about it.

Try changing your setting for "Display monster loot" to something that doesn't use short notifications. I'll try to gather some more information on this and see if I can do something.
Lvl: 78, XP: 8622632, Gold: 271542, RoLS: 1, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 71, AC: 301%, AD: 38-47, AP: 3, ECC: 50%, CM: 3.75, BC: 101%, DR: 2
ReverendChuck
Posts: 6
Joined: Mon Jan 07, 2019 11:10 am
android_version: 9.0 - Pie

Re: Game drops to title screen, loses progress since last save

Post by ReverendChuck »

@rijackson741 I've been grinding for a Shadowfang, so most of the occurrences have occurred while I'm only half paying attention. But for the three occurrences I mentioned in my first post, where I was paying close enough attention to remember the details, the error occurred during the combat phase, not immediately upon initiation of combat. If it occurs again after I make the changes Zukero recommended I'll try to see if there are any other details I call recall. Problem is, it occurs very intermittently, so it's tough to know when to be paying really close attention. If there are specific details you'd like me to watching for though, let me know and I'll do my best!

@Zukero I'll make the recommended changes. If it happens again after that I'll let you know. And if I'm able to grind long enough to snag a Shadowfang without it happening again, I'll be sure to check in to confirm to you that it worked. Thanks!
ReverendChuck
Posts: 6
Joined: Mon Jan 07, 2019 11:10 am
android_version: 9.0 - Pie

Re: Game drops to title screen, loses progress since last save

Post by ReverendChuck »

Changing my "Display monster loot" setting from "Show short notification" to "Do not display" seems to have done the trick. About 200 Azthiel Guardians (plus misc. monsters between them) later, I have my Shadowfang and haven't encountered the bug again.

It sounds like you know more-or-less what's causing it, so I'm going to leave the notifications off. But if you think there's anything to be gained from trying to get a more detailed description of when it occurs, let me know and I'd be happy to turn them back on so I can report more.

Either way, thanks a bunch!
User avatar
Zukero
Lead Developer
Posts: 2028
Joined: Thu Jul 21, 2011 9:56 am
android_version: 8.0
Location: Eclipse

Re: Game drops to title screen, loses progress since last save

Post by Zukero »

No problem.

From what I gathered, the android dev team changed some of the code behind toasts for Android 9 (Pie), and this causes crashes when a toast is fired while the previous one is still active, which can happen when you kill mobs like grass with a lawnmower.

The fix I'm currently considering involves using a custom drop-in replacements for toasts. I found one on github that seems perfect, but I have doubts about the license. I asked the author and wait for the answer.

The fix will certainly not be in the next version(v0.7.4) , but probably in the one after (v0.7.5 normally).
Lvl: 78, XP: 8622632, Gold: 271542, RoLS: 1, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 71, AC: 301%, AD: 38-47, AP: 3, ECC: 50%, CM: 3.75, BC: 101%, DR: 2
Usirim
Posts: 165
Joined: Tue May 01, 2012 10:33 am
android_version: 8.0
Location: the land of heros and dragons

Re: Game drops to title screen, loses progress since last save

Post by Usirim »

Hi

to add some peace of information: if andors trail CTD, the setpoint of current game is either the last savepoint or the last dialog.
This is bad if either of those events happens a long time in the past, but on the other hand if the player was in a chanceless position and the last dialog was way more actual than the the last save it has a benefit ;)
Usirim (v2.2):
Lvl: 200
XP: 145.569.369
Gold: 5.8M
RoLS: 17
ElyR: 9
RoL: 6
ChaR: 9
GoLF: 2
ShaF: 7
SRoV: 15
VSH: 7
WMC: 12
GoW: 6

Base values
HP: 1000
AC: 280
AD: 90
max AP: 10 (12)
BC: 180%
DR: 0
(Jun 2017)
Post Reply