
Originally Posted by
chunkarama
Alright, I had read your thread so I'll give you the things needed to update your loginscreen. Idk if I'm terrible in explaining, so if you need any help you can add me on skype if you want.
First off, you'll need to make sure you have your sendops and recvops opcodes are updated. You'll need LoginPassword, ServerlistRequest, ServerstatusRequest, etc. The first handler requested is Login_Password which on some versions is 0x00 and 0x01. This will handle LoginPasswordHandler which will send getAuthRequest packet. (Not sure if it needs to be updated or not)
Next, after the getAuthSuccess is sent, getServerlist is sent. This loads all of the worlds names and stuff so you see "Scania".
After getServerlist is ServerStatusRequest, which loads the channels you can click on.
Lastly, you have getCharlist. This is after selecting your channel.
Make sure to log your packets. When logging, you'll find the correct handlers needed. When you login, it will receive a handler for LoginPassword. Make sure it matches yours. Also, the only packets you need to update so far are going to (obviously) be in LoginPacket.java. You don't need to worry about CField and others yet.