I have noticed a lot of database corruption in the load and save process. Unfortunately so far I haven’t been able to find ways to recreate the issues I have seen. Perhaps you should / could double check that area of code looking for issues. Look for an array out of bounds (o based versus 1 based arrays) since slot 4 seems to have such a high rate of failure I stopped using that slot.
Things I have seen:
-Loading slot X gets data that appears to be from slot Y or Z.
-Loading slot X gets stats from slot X and equipment from slot Y.
-Loading slot X gets location of slot Y and a combination of equipment and stats from another slot.
-Almost all use of slot 4 results in some sort of corruption
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.12.1) from Google, F-Droid, our server, or itch.io
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.12.1) from Google, F-Droid, our server, or itch.io
Database corruption on load and save
-
- Posts: 99
- Joined: Thu Jun 02, 2011 6:58 pm
- Location: Huddled in my Andors Snuggie
Re: Database corruption on load and save
What do you play the game on? I use all 4 slots and I never have that problem
Level: 18, XP: 102435
Gold: 5132, RoLS: 0, SR: 46
I take on one day at a time... unless they all decide to attack at once
Creator of Andor's Snuggie along with ctnbeh13
Gold: 5132, RoLS: 0, SR: 46
I take on one day at a time... unless they all decide to attack at once
Creator of Andor's Snuggie along with ctnbeh13
-
- Posts: 7
- Joined: Fri Jul 01, 2011 3:53 pm
Re: Database corruption on load and save
I am using a Droid X. This doesn't sound like a hardware issue. Perhaps you haven't been saving and loading as often as I do.
-
- Posts: 170
- Joined: Thu Mar 24, 2011 5:38 am
Re: Database corruption on load and save
Drunlar wrote:I am using a Droid X. This doesn't sound like a hardware issue. Perhaps you haven't been saving and loading as often as I do.
I save to all 4 slots every time I save. I have not had any issues on any of the version of the game. Running stock Vibrant and Cyanogen 7 Nook Color. I dont even have trouble when sharing saved files between the 2.
-
- Posts: 99
- Joined: Thu Jun 02, 2011 6:58 pm
- Location: Huddled in my Andors Snuggie
Re: Database corruption on load and save
I play this game everyday so I think I load and save a lot
Level: 18, XP: 102435
Gold: 5132, RoLS: 0, SR: 46
I take on one day at a time... unless they all decide to attack at once
Creator of Andor's Snuggie along with ctnbeh13
Gold: 5132, RoLS: 0, SR: 46
I take on one day at a time... unless they all decide to attack at once
Creator of Andor's Snuggie along with ctnbeh13
-
- Posts: 7
- Joined: Fri Jul 01, 2011 3:53 pm
Re: Database corruption on load and save
I got to say I haven't seen this issue in a long time
-
- Posts: 83
- Joined: Mon May 23, 2011 11:27 pm
- Location: TX
Re: Database corruption on load and save
I play on a Droid-X and I haven't ever had a problem. I mainly save to Slot1, quite often.
My Slot one save is at Level 58, Slots 3 & 4 are at 14 and 12...
My Slot one save is at Level 58, Slots 3 & 4 are at 14 and 12...
Lvl: 95, XP: 15472157, Gold: 741302, RoLS: 1, ElyR: 1 , RoL 1, ChaR 4, GoLF 1, ShaF 1, SRoV 2, VSH 1
HP: 136, AC: 278%, AD: 42-46, AP: 3, CS: 76 CM: 5.25, CC:33%, BC: 130%, DR: 1, UPD: 2012/7/18
HP: 136, AC: 278%, AD: 42-46, AP: 3, CS: 76 CM: 5.25, CC:33%, BC: 130%, DR: 1, UPD: 2012/7/18
-
- VIP
- Posts: 1270
- Joined: Wed Mar 02, 2011 5:24 pm
- android_version: 4.4 - Kitkat
Re: Database corruption on load and save
I'm using a Droid1, and never noticed this problem, but to be honest, I've never thought to check if the stats were getting mixed up between the 2 games I've got going.
I save after every kill or before entering a new area, so several times a day.
I save after every kill or before entering a new area, so several times a day.
Lvl: 206 XP: 159262572, Gold: 1657119, RoLS: 2, ElyR: 1, RoL: 1, ChaR: 2, GoLF: 1, ShaF: 6, SRoV: 1, VSH: 6, WMC: 1, GoW: 1
HP: 241, AP: 3, AC: 562%, AD: 116-130, CM: 3.0, ECC: 38%, BC: 139%, DR: 3
QL 25, MF 3
12/26/18
HP: 241, AP: 3, AC: 562%, AD: 116-130, CM: 3.0, ECC: 38%, BC: 139%, DR: 3
QL 25, MF 3
12/26/18