Kloct / tera-auth-ticket

Generates an auth ticket for a given TERA account (NA, EU)
MIT License
7 stars 6 forks source link

tera-auth-ticket

For the North American (En Masse), and European (Gameforge), TERA regions only.

This module is an updated alternative to meishuu/tera-auth-ticket with muti-region support.

Usage

const webClient = require('tera-auth-ticket');
const web = new webClient('(na, eu)', 'email', 'password', 'EUAccountName(optional)');

web.getLogin((err, data) => {
    if (err) console.error(err)
    else console.log(data) // {name: accountName, ticket: ticket}
})

Data can be used in C_LOGIN_ARBITER to login to the game servers.

Important Notes

Known Issues

EU

NA