This is a continuation of my previous topic regarding NodeJS and Flight Rising.
This is an interactive shell program for communicating with Flight Rising. Eventually this program will evolve into something with a native GUI, but for now it's going to be done through a shell terminal.
As of writing this post it's barely functional, but I wanted to put up the repository should anyone be interested in learning or contributing.
Installation:
$ git clone https://github.com/jmgilman/flightrising-shell $ cd flightrising-shell $ npm install
Usage:
$ node app.js > login username password Logged in successfuly! > gather hunt shadow -- Results --
You can type help to see a list of currently configured commands. Type a command without any additional parameters to see additional help for that command. Finally, you can use the up and down arrow keys (like a normal terminal) to view a history of the commands you've already typed in the current session.
Once you've logged in, the cookies for the session are automatically saved in a local file. If you quit the application and then re-open it and login again, the application will attempt to use your previously saved session first prior to completely logging back in. This enhances realism as it would be odd if you had to actually log in every time you ran the program.
I'm going to assume 99% of this forum won't be able to use this at this point, but for the 1% may that know NodeJS, feel free to play with it.
Edited by Josh, 12 February 2016 - 06:36 AM.