Help! Trying to make private server for Arcaea

Kamikaze17-

Platinian
So, im not sure how to do this at all, im not sure if the server can even connect since i made the host set to 0.0.0.0
but it shows this so i am unsure if it works correctly, but whenever i load the game on the phone it does not connect to the server,
do i have to modify arcaea a little bit so the server connects?
Screenshot 2026-11-22 124532.png


or am i just missing alot of steps to this.
 
not sure what this here meant, but im sure its close, something in the work file.
Good, the native hooks are patched, this is the last stage and it's a register bug in the patcher's own stub, not in your config.

The assembler is saying a method only declares room up to v15 but the code uses v16. Fix the register count and it goes away.

1. Fix it in the stub, not in work\, or the next run re-decodes and overwrites your edit. Same file here:
Code:
C:\Gamebounty\patch\moli_log\stubs\low\moe\PurchaseHandler$4.smali
If it isn't there, search the stubs folder for PurchaseHandler$4.smali.

2. In each method it reported, bump the count. The reported lines (82, 224, 296, 306) point at instructions using v16. Scroll up to that method's .registers line and raise it:
Code:
.registers 16
becomes
.registers 17
If a method also uses v17 or higher, raise it further to cover the highest one. Only the number changes, leave the registers named as they are.

3. Do it for every method it lists, not just the first. It stops at the first batch, there will be more after.

4. Rerun:
Code:
python moli_patch.py

If you'd rather not hand-edit: copy work\Arcaea_decoded somewhere safe, run the patcher once so it fails, apply the fix to the work copy, and skip re-decoding. But editing the stubs is cleaner and survives updates.
 
well thats weird.



View attachment 1060686


View attachment 1060687


weirdly enough, the server got fucked up too. although i noticed that when i installed flask it said the files wasnt on path.
Two separate things, fix the server first, it's one command.

1. Server: you're on Python 3.15 and the installed jinja2 is old. soft_unicode was removed from markupsafe, old jinja2 still imports it. Upgrade both:
Code:
pip install --upgrade flask jinja2 markupsafe
The "not on PATH" message when installing flask is a harmless warning, ignore it.

If that still fails, 3.15 is bleeding edge for this project. Install Python 3.12 and use that instead, the server is tested there.

2. The smali: I pointed you at the wrong place. Those stubs are .java, the generated smali lives in the work folder. Edit this one:
Code:
C:\Gamebounty\patch\release\work\Arcaea_decoded\smali_classes2\low\moe\PurchaseHandler$4.smali

Copy it aside first as PurchaseHandler$4.smali.bak, because the patcher may re-decode on the next run and wipe it. Same edit as before: find each method using v16, raise its .registers to 17 or higher.

Then rerun. If the same error comes back with the file freshly re-decoded, restore your .bak over it before each run. If the file keeps its modified time after a run, it persists and you're fine.
 
tried to reinstall the requirement files, shit ended up like this.View attachment 1060722View attachment 1060723
something with cryptography.
Stop, the server problem is your Python build. You're on 32-bit Python (Python312-32), and cryptography has no 32-bit wheel, so pip tries to compile it with Rust and fails.

1. Install 64-bit Python 3.12 from Python Releases for Windows, the "Windows installer (64-bit)" entry. Tick Add to PATH. Uninstall the 32-bit one after, or at least make sure the 64-bit comes first in PATH.

Confirm it took, this must print 64:
Code:
python -c "import struct;print(struct.calcsize('P')*8)"

Then install the requirements again, it'll pull wheels and skip Rust entirely:
Code:
pip install -r requirements.txt

2. The smali, you're in the right place. .registers is the first line under the .method line, at the top of that method. Raise it.

Code:
.method public onQueryPurchasesResponse(...)V
    .registers 16      <- change this to 17

Press Ctrl+F, search v16, and for every hit note which method it's in, then raise that method's .registers to at least one more than the highest register used there. If it also uses v17, go to 18.

You don't move any code. It's only that one number per method.
 
Back
Top Bottom