UNPKG

sadgod

Version:

SadGod helps you extract data from ROTMG's internal SWF files. Currently it allows you to read the names and values of all binary packet ids used in the network communication. This is helpful because the game often changes the packet ids.

14 lines (11 loc) 382 B
const getCurrentSWF = require('./getCurrentSWF') const downloadSWF = require('./downloadSWF') const extractSWF = require('./extractSWF') const parseData = require('./parseData') async function getCurrentSWFData() { const swf = await getCurrentSWF() await downloadSWF(swf) await extractSWF(swf) return await parseData(swf) } module.exports = getCurrentSWFData