Giter Site home page Giter Site logo

tarkov-scripts's Introduction

Escape from Tarkov bot CLI

I learned a ton about reverse engineering creating this, so not too disappointed about getting banned. Code should be of use for someone but beware :)

Installation

  • Clone the repo
  • Run npm install
  • Run npm run global (this will install the global CLI tarkov)

Usage

tarkov auth

You will need to run this initially, and then when your accessToken expires. The first time you run it you will be prompted for your email, password, and HWID (HWID can optionally be generated). There is no option for captcha yet, I had resorted to just logging in to their website on the same IP and doing the captcha there was sufficient. If a new hardware ID is detected you will be prompted for the code sent to your email. Your login credentials (hashed password) are stored in a JSON file locally, check the source if you are worried.

tarkov session [base64 encoded session]

This command is to start a game session and select a profile, or optionally use an existing session (One that you might have open on your PC). You can grab the exisitng session payload from sniffing the launcher traffic when the game launches. If no session is provided it will start one, and log you out elsewhere.

tarkov auto

Will ask you a few questions, and begin buying items from the flea market and selling them to traders for profit, depending on your specified margins.

tarkov sellbox

This will look for a container in your inventory tagged sell and begin selling items either on the flea market or just to traders based on your specified margin.

Disclaimer

As I said I got banned, use this at your own risk. I will not be able to update it any further till I get my hands on another account. Until then feel free to submit PR's

Todo:

  • KeepAlive request
  • Merge money stacks automatically

tarkov-scripts's People

Contributors

garrettjoecox avatar haxxorhardy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

tarkov-scripts's Issues

Sleep time

Hi there, tested your script.
Got 'Error: socket hang up'
can you please add option or tell where to add sleep for 2-4 seconds before new search

[meta] Update WIP

Just wanted to give an update, I was gifted an account to test on so Iโ€™m back to working on this again. Coming soon is a refactor to turn this into more of a library, and split the CLI/storage functionality into a separate optional piece. I will also be adding support for multiple account pooling, more on how this will work later.

ApiError: 301002 - Rpc error response

Yesterday everything worked fine, but today i get an errormsg.
The game is working fine and my other bot is working too.

C:\Windows\system32>tarkov auto
Access token expired, refreshing
ApiError: 301002 - Rpc error response
    at Object.<anonymous> (C:\tarkov-scripts-master\dist\api\index.js:47:32)
    at Generator.next (<anonymous>)
    at fulfilled (C:\tarkov-scripts-master\dist\api\index.js:5:58)
    at processTicksAndRejections (internal/process/task_queues.js:97:5) {
  name: 'ApiError'
}

Guide on reverse engineering

Hello!

It would be super cool, if you could kindly share a briefly explanation of how did you get all of those APIs.
For educational purposes surely! I wanted to try reverse engineering as you did, I believe and if you could help, that would be awesome.

Best regards

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.