WagicProject / wagic

Wagic the Homebrew
Other
354 stars 81 forks source link

Game Crashes Constantly on Huawei (Android) #1048

Closed 3xpFlameS closed 3 years ago

3xpFlameS commented 3 years ago

Hi team, My version 0.23 constantly crashes. Most often this happens during classic mode against any opponent. But it also happens in shop and Co at some times. Playing on Huawei P30 Pro with Android 10

On first start I got the message: "this app has been developed for an older built, it might not function properly."

Do you know a fix for the crashing?

Vitty85 commented 3 years ago

Hi,

I'm currently playing on Samsung A8 running Android 9 without any problem, i have no idea what's wrong with Android 10 since i don't have a device with that firmware at the moment.

Actually I'm not sure i can recompile the APK with a newer SDK without loosing retro-compatibility... I will take a look but since i cannot make any test on my own i cannot promise anything, i'm sorry.

See you.

Vitty85 commented 3 years ago

Hi team, My version 0.23 constantly crashes. Most often this happens during classic mode against any opponent. But it also happens in shop and Co at some times. Playing on Huawei P30 Pro with Android 10

On first start I got the message: "this app has been developed for an older built, it might not function properly."

Do you know a fix for the crashing?

Hi,

I need some other infos if it's possibile:

1) Are you using a custom theme with custom audio files? 2) Are you using some specific decks or cards or it's crashing independently?

Thanks, see you.

Vitty85 commented 3 years ago

Try to mute sound both for music and effect, i'm guessing it can depends on that, maybe a memory failure on some samples.

Vitty85 commented 3 years ago

I recompiled the APK with latest SDK and NDK and i tested with a Samsung S10 with Android 10 (i had luck to use my friend's one).

I could be able to play for more than 1 hour without crashes, i'm not sure it solved 100% but at least it's not crashing in short time.

I played with sound too, but i guess without sounds the game can continue longer, probably there is some issue on memory allocation of SDL in Android 10, i don't know exactly.

You can download the new APK from same link in GitHub release, let me know if it's working better on your phone too.

See you soon.

3xpFlameS commented 3 years ago

Alright thank you I will test it. Fi, I played with different cards but music wasn't muted. So I will do now and let you know

3xpFlameS commented 3 years ago

OK now I cannot start the game anymore. It gives the attached error msg. It did not ask for any permissions when starting the app. Screenshot_20201227_084653_net wagic app

3xpFlameS commented 3 years ago

OK that one I solved. I needed to click on the storage location in the first screen (SD card) even though it was marked

3xpFlameS commented 3 years ago

New issue... I don't have any cards to play. I tried with standard deck and with a newly created one. They do not show Screenshot_20201227_092755_net wagic app ![Uploading Screenshot_20201227_093215_net.wagic.app.jpg…]()

Vitty85 commented 3 years ago

I guess your collection is empty... or you are using a deck containing cards you don’t own.

Can you take a look to your collection.dat file?

Also,

Can you download the full user folder from here and try again?

https://mega.nz/file/XPpmGCbY#4uLyzJy_-PRsrnCEdRkYtpjaCBaNauSOt-8SDj3uEus

Generally you can follow the evolution of games in the forum:

https://wololo.net/forum/viewtopic.php?f=17&t=66595&start=20#p99279

Hope it can work, let me know.

-- Inviato da iPhone

Il giorno 27 dic 2020, alle ore 09:33, 3xpFlameS notifications@github.com ha scritto:

 New issue... I don't have any cards to play. I tried with standard deck and with a newly created one. They do not show

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

3xpFlameS commented 3 years ago

That worked perfectly thanks!

Vitty85 commented 3 years ago

Nice, so I close the issue now, see you soon.

3xpFlameS commented 3 years ago

So I now tested it a few days. Unfortunately it still crashes in classic mode very frequently. Other than the first match I could not battle any other rivals as at one point in the game it always crashes...

Vitty85 commented 3 years ago

Since i did not have any crashes i need your deck, maybe there is a problem with it, on samsung note 10 and samsung S10 no crashe occurres.

See you.

Il Mer 30 Dic 2020, 11:10 3xpFlameS notifications@github.com ha scritto:

So I now tested it a few days. Unfortunately it still crashes in classic mode very frequently. Other than the first match I could not battle any other rivals as at one point in the game it always crashes...

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/WagicProject/wagic/issues/1048#issuecomment-752401701, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMVK66GTUCP6Z2MUOKAZTP3SXL4BHANCNFSM4VJNTXDQ .

3xpFlameS commented 3 years ago

![Uploading Screenshot_20210102_210433_net.wagic.app.jpg…]() Screenshot_20210102_210417_net wagic app Screenshot_20210102_210422_net wagic app Screenshot_20210102_210428_net wagic app

3xpFlameS commented 3 years ago

Does that suffice?

Vitty85 commented 3 years ago

Actually not, which deck.txt are you using ? Can you send me?

Also can you try to play in English? Just to be sure it’s not depending on German Lang.

See you.

-- Inviato da iPhone

Il giorno 2 gen 2021, alle ore 21:06, 3xpFlameS notifications@github.com ha scritto:

 Does that suffice?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or unsubscribe.