Skip to content

Incomplete interface to interact with wormax.io api and game servers

License

Notifications You must be signed in to change notification settings

ABCxFF/wormax-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wormax-client

Incomplete interface to interact with wormax api and game servers

Contributions

This project is no longer being maintained. If you make any advancements in reversing the wormax client or find bugs, pull requests and issues are welcome

Example Usage:

const SocketClient = require('./socket')
const APIClient = require('./api');

const client = new APIClient('default', { lang: 'en', party: '' })

client.recieveInitCookies()
  .then(() => client.getServersByRegion('US'))
  .then((servers) => client.getSpawnData(servers[0].key, 'LB Bot'))
  .then((data) => {
    const ws = new SocketClient(data, client.cookies);

    ws.once('accept', () => {
      ws.enter();

      ws.once('leaderboard', (data) => {
        console.log('Retrieved Leaderboard', data)
        ws.close();
      })
    });
});

About

Incomplete interface to interact with wormax.io api and game servers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published