GithubHelp home page GithubHelp logo

qysp / tcal Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 0.0 82 KB

Terminal Client for Adventure Land.

License: MIT License

JavaScript 100.00%
adventureland adventure-land-mmorpg bot terminal javascript nodejs rpi adventure-land

tcal's Introduction

TCAL

Terminal Client for Adventure Land.

Heavily inspired by NexusNull's Adventure Land Bot.

Getting started

  1. copy config.example.js and rename it to config.js
  2. set your email address and password as well as your active characters in the config.js
  3. install the necessary dependencies with the package manager of your choice, e.g. with NPM npm install
  4. finally, run node tcal.js to start the client

Start parameters

  • --fetch: fetch your characters and the available servers. Overwrites existing character/server JSON files in the data folder.
  • --verbose: stop suppressing stdout/stderr from subprocesses.
  • --log: pipe the game log of each active character into its own log file, respectively. Does not append to existing files.
  • --interface: STILL WIP; load up a terminal interface using Blessed that shows the DPS of your characters and a realtime game log.

Config typings

interface Config {
  email: string;
  password: string;

  active: Array<ActiveCharacter>;
}

interface ActiveCharacter {
  name: string;
  region: string;
  server: string;
  script: string | undefined;
};

Feature ideas

  • Terminal interface with DPS, GPS, XPPS, nice graphs, etc. (e.g. with Blessed)
  • Log analyzer for an easy overview of killed monsters, loot, etc.

Known errors

  • Annoying 'errors' getting printed in verbose mode, especially TypeError: Cannot read property 'name/width/...' of null. Can't figure out where exactly the error is being raised since the printed 'error' is just a huge pile of code and not a real stacktrace.

tcal's People

Contributors

qysp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.