Simple node app for creating and maintaining client connections. Created this to do some stress testing.
- Requires Nodejs
- Assumes encryption is not enforced in the emulator



In the video above (example.js) it's just using sso's 1-75 from the DB. It's up to you to write good stress tests. It's very easy to add new packets. Packet headers can be changed in messages/header.js
Straight forward example of a user authenticating, entering a room and moving to a square
PHP Code:
let client = new net.Socket();
client.connect(1232, '127.0.0.1', () => {
// User will authenticate with sso "2", enter room id 349, walk to x:4 y:4
client.write(ClientVersionMessage());
client.write(SSOTicketMessage("2"));
client.write(OpenFlatConnectionMessage(349));
client.write(GetRoomEntryDataMessage());
client.write(MoveAvatarMessage(4, 4));
});
Most of the encoding is from this release, thanks @Keiz
Download