Admiral-Billy / Pokerogue-App

An app to play Pokerogue.net in an app window. Wow!
MIT License
414 stars 68 forks source link

pokerogue offline crash #116

Open LLIUD opened 4 months ago

LLIUD commented 4 months ago

last day, I play pokerogue offline version on android (samsung galaxy s23). But when I press the button to play offline mode today, game crashed immediately. I tried some ways - reinstalled pokerogue app, delete offline version and re-download, download futaba's build and so on. But, these are not working.

If you have any suggestion to solve these problem, please comment about it. thx.

Admiral-Billy commented 4 months ago

This is something I've had a few people report, but I really don't know what the cause would be; any extra help from others would be appreciated.

InfinityRed-Code commented 4 months ago

I have had this Problem in the Beginning on my Pixel 8 with the pre Patch APK. Idk weather the upgrade or the permission Settings fixed it.

The way I did it is as follows:

  1. Install the pre patch APK (dont open)
  2. Install the Patch APK (dont open)
  3. Go to the apps settings and manually set the storage permissions so that it has maximum permissions. Then open, update files and import you own ones.

PS: Since the last Android 14 Update on my Pixel, the storage-permissions are not accessible for this App in any way. Maybe this has somthing to do with it as well.

I hope this helps.

Snshadow commented 4 months ago

As I tested with two one ui 6.1 devices, looked like Galaxy devices using one ui 6.1(android 14) use 8000 port for sort of internal handling of wifi connection, causing the crash as offline mode tries to use 8000 port that is already in use. As I changed the code of the offline mode to use 8081 port instead it worked while the wifi is on.

If that's the case, it will work if you turn off wifi and try again.