Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Obtaining Game Accounts

SML edited this page Oct 24, 2017 · 3 revisions

What we need at the end of the day:

Account details consist of:

Account ID, which is made of two numbers: hi and lo. Account authToken, which is a long random string.

Those are found in the login-ok message received from the server after initiating a new account.

The process:

So basically, this is what you do:

  1. Get a copy of the game (google clash royale apkpure), download it.
  2. Run an android emulator, whicever one you like: Nox, Genymotion, Bluestacks. Whtever.
  3. Install clash.

The Proxy way:

  1. Get the cr-proxy (or node-cr-proxy if you prefer node over python) repo running. It whould start listening on port 9339.

  2. Install an app named (hosts editor, also available from apkpure).

  3. Configure it to make the game send its requests to your proxy.

  4. Start the game, and with a bit of luck, the proxy will start showing data flowing.

  5. Notice a packet that has vales: hi, lo, and authToken. Write them down.

  6. Complete tutorial as you normally would on the emulator (7 games or so) and play 1 "real" game agains someone. It's okay to lose, but do deploy some cards.

  7. and last: As soon as the game is over, send Selfish the credentials.

The Sniffer way:

  1. Get a sniffer. Whichever you like (Selfish used pcap, available as node-pcap. convenient).
  2. Configure it to listen on port 9339.
  3. Pick up the socket messages from the game.
  4. Parse then using the tools in royale-proxy.
  5. Complete tutorial as you normally would on the emulator (7 games or so) and play 1 "real" game agains someone. It's okay to lose, but do deploy some cards.
  6. and last: As soon as the game is over, send me the credentials.

This is it

This is the basic process. DM Selfish in discord for help, but keep in account you have to be able to handle most of it yourself. I can help along, but you'll have to use the readme files on those resources, and be creative.