GithubHelp home page GithubHelp logo

todokku / clash-royale-client Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aperpen/clash-royale-client

0.0 0.0 0.0 348 KB

NodeJS client to connect to Clash Royale servers

License: GNU General Public License v3.0

JavaScript 100.00%

clash-royale-client's Introduction

clash-royale-client

NodeJS client to connect to Clash Royale servers.

What can it do?

  • Connect and login into Clash Royale servers
  • Basic actions:
    • Fetch player and clan stats
    • Get tops
    • Invite to a clan
    • ...

This is a basic client. Now is your turn. Modify the client and add functions to fit it to your requirements.

Installation

  • Run npm install
  • Rename config.example to config.js and modify your credentials

Getting a token (Android)

You will need a rooted device

  1. Download decrypt.js tool
  2. Pull storage_new.xml file from your device. Usually it's located in /data/data/com.supercell.clashroyale/shared_prefs.
  3. Run node decrypt.js. Look for your account in SCID_PROD_ACCOUNTS key, the value contains your token.
  4. Put your token in scidtoken key in config.js
  • KNOWN ISSUE Client only works with accounts using scid token

Usage

Running the client

node index

Using the replay option

If you want to save the packets dumps to replay later run the client with the option --save (or -s)

node index --save

Client will save the packets in the folder specified in config.js.

Then you can decode again saved messages using the option --replay (or -r):

node index --replay

The client has built-in support for save multiple sessions.

Commands

  • Press Alt + C to type a command
  • Type 'help' to get started

Credits

clash-royale-client's People

Contributors

papertownmatt avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.