@barlind/lcars
Local version of Control
Last updated a year ago by barlind .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @barlind/lcars 
SYNC missed versions from official npm registry.

LCARS

Local version of Control

Setup

Install LCARS

Install node. run the command npm install -g @barlind/lcars Try to run lcars by typing "lcars --version" in your command line. Note where the directory is where you need to place your config.json and where you can locate an example of config.json

Your computer

Download Charles Proxy https://www.charlesproxy.com/download/latest-release/ - trial should work for now. Open Charles and go to SSL Proxy settings. Enable it. Go to Proxy Settings. Set the port to 8888 and check that transparent proxying is checked.

Your device

Setup your current connection to use your computer as a proxy.

iOS: https://www.digitalcitizen.life/how-set-proxy-server-wifi-iphone-ipad Android: https://www.howtogeek.com/295048/how-to-configure-a-proxy-server-on-android/

In your device browser; browse to http://www.charlesproxy.com/getssl/ and install the charles certificate.

Open the game and check in charles that requests begin to show up.

Extracting your data for config.json

Find a request to https://nv3-live.startrek.digitgaming.com/accounts/v1/sessions Look at the contents as text and they should look something like this:

method=apple&username=asdfgqwerwert45345345&password=1234123412rqwfasdfasdfasdf&partner_tracking_name=scopely_device_token&partner_tracking_id=12345567-9cb5-4fdd-98dc-59b089107c9f&product_code=prime&channel=digit_IPhonePlayer&

Copy this text and place it in your config.json under sessionData

Find a request to https://nv3-live.startrek.digitgaming.com/accounts/v1/sessions/RANDOM-GUID/instances Look at the contents as text and they should look something like this:

account_id=12345678sdfgf986b3b1aa4bde4dea&

Copy this text and place it in your config.json under sessionUserId

Next find any request to https://live-144-web.startrek.digitgaming.com/ Look at the headers of the request and copy the data you need to complete your config.json

In-game; move one of your ships and then look in charles after https://live-144-web.startrek.digitgaming.com/courses/set_fleet_warp_course

Look at the text contents of the request and you will find your fleetId. Enter this into myFleets in config.json. Repeat this for your ships that you want to remote control. You can name the ships whatever you like.

Using LCARS

If everything is set up correctly you should now be able to run the command lcars init which will initialize the database with all required base data.

Current Tags

  • 2.3.4                                ...           latest (a year ago)

32 Versions

  • 2.3.4                                ...           a year ago
  • 2.2.0                                ...           a year ago
  • 2.1.28                                ...           a year ago
  • 2.1.26                                ...           a year ago
  • 2.1.22                                ...           a year ago
  • 2.1.20                                ...           a year ago
  • 2.1.19                                ...           a year ago
  • 2.1.17                                ...           a year ago
  • 2.1.16                                ...           a year ago
  • 2.1.4                                ...           a year ago
  • 2.0.8                                ...           a year ago
  • 2.0.7                                ...           a year ago
  • 2.0.6                                ...           a year ago
  • 2.0.5                                ...           a year ago
  • 2.0.4                                ...           a year ago
  • 2.0.3                                ...           a year ago
  • 2.0.1                                ...           a year ago
  • 2.0.0                                ...           a year ago
  • 1.3.3                                ...           a year ago
  • 1.3.2                                ...           a year ago
  • 1.3.1                                ...           a year ago
  • 1.3.0                                ...           a year ago
  • 1.2.2                                ...           a year ago
  • 1.2.1                                ...           a year ago
  • 1.2.0                                ...           a year ago
  • 1.1.0                                ...           a year ago
  • 1.0.5                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 32
Last Day 0
Last Week 32
Last Month 0
Dependencies (8)
Dev Dependencies (15)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |