Skip to content

Latest commit

 

History

History
51 lines (29 loc) · 2.13 KB

README.md

File metadata and controls

51 lines (29 loc) · 2.13 KB

node-cr-proxy

clash royale licence

Clash Royale Proxy - Intercepts the traffic between your Clash Royale App and their servers, decrypts the protocol and decodes the messages.

Don't like NodeJs, prefer python? Get the python proxy.

How to use it?

Setting up the proxy server

Prerequisites

Clone the code

git clone https://github.com/royale-proxy/node-cr-proxy && cd node-cr-proxy

npm install

cp settings.json.example settings.json / copy settings.json.example settings.json

Setting up your device

Android

  • Please see cr-patcher for instructions on how to get your apk ready to use the proxy.

iPhone

  • We do not have a patcher at this time.

Running the proxy

node index

node index --verbose will display the contents of the messages on the screen as well as show debug info when messages are missing/incomplete

node index --dump ./packets will save decrypted packets into the packets folder with a format of messageId.bin (ex: 10101.bin) -- Make sure the folder exists.

node index --replay ./packets/10101.bin will decode the 10101 packet using definitions, useful when trying to decode a new message

node index --help will show you the command line help

What's the status?

This is a work in progress, but the proxy is pretty much complete. We do need help defining the network messages, so head over to cr-messages, clone and contribute!

I don't know what I'm doing, can you help me?

Please only use the issue tracker for actual bugs. If you need help, you are more than welcomed to join our discord server.