A14/15 constantly crashing
Hi, when try to connect it to any app, atg crashes either instantly or after a while. Tried on PixelOS 14/15 using root. Only one time it did throw a popup about crashing. Here's the log: https://bin.mkr.pw/~67ae2197632ce757b626822c
PixelOS 15
I noticed it is possible to run ATG, or a patched APK. But when attempting to run both ATG and a patched APK at the same time this behavior is observed.
First path to recreate this behavior:
- Toggle ATG's permission, as it requires overlay access.
- Open ATG
- Accept the warning, when not in root.
- Start
- Click icon
- Instantiate server
- Click okay
- Close UI overlay
- Open Patched APK
- Experience crash -- Expected application to run as normal
Second path:
- Turn off overlap permission on ATG
- Open patched APK
- Try to open ATG
- ATG crashes -- Expected application to run as normal
Third path: 1., 2., same as Second path 3. Enable overlay permission 4. Try to open ATG 5. ATG crashes -- Expected application to run as normal
The error message, which flickers on rare occassion, says the application that crashes is hanging. Specifically, I believe it is the "Application Not Responding" error.
I'm using root without patching the apps and it's also crashing. I don't think this matters.
I'm using root without patching the apps and it's also crashing. I don't think this matters.
Judging from the log it looked like that localhost suprisingly can't be resolved in your device
I am guessing that when the app connects to the memory scanning/editing service you will need to use absolute address either 127.0.0.1 or 0.0.0.0
this is the line of code that is responsible for the connection, try to change localhost to the absolute address
https://github.com/KuhakuPixel/AceTheGame/blob/master/ATG/app/src/main/java/com/kuhakupixel/atg/backend/ACEAttachClient.kt#L18C63-L18C72
if that works please let me know, perhaps you can submit a pull request after that