Hey Rune-Server,
After looking through the 317 packets i came across the welcome screen packet so i thought i would try and implement it, but im having problems, here is my Welcome Screen method:
Code:
public void openWelcomeScreen(int recoveryChange, boolean memberWarning, int messages, int lastLoginIP, int lastLogin) {
outStream.createFrame(176);
outStream.writeByteC(recoveryChange);
outStream.writeWordA(messages);
outStream.writeByte(memberWarning ? 1 : 0);
outStream.writeDWord_v2(lastLoginIP);
outStream.writeWord(lastLogin);
}
Now, when i call the method in a command, it looks like this:
Code:
if (command.startsWith("welcomescreen") {
openWelcomeScreen(200, true, 0, 77777, 5);
}
Everything compiles fine, but when i try to activate the command nothing shows up. I dont get disconnected, just nothing happens.
Whats going on?