Stuck at login screen (updating to higher version)

Results 1 to 3 of 3
  1. #1
    (O_o(o_O(O_O)o_O)O_o) Novak is offline
    MemberRank
    Apr 2009 Join Date
    The NetherlandsLocation
    1,120Posts

    smile Stuck at login screen (updating to higher version)

    Hi, i'm updating a v117.2 source to v118.3. I've updated the send-/recv-ops and the AES. I get stuck at clicking login. Checked all packets and all hints i found whilst googling, most things seem in order.

    If anyone has a tip on where to look please comment! I don't at all want the entire solution right away, just need to be pointed in the right direction. This is the first time I try to update!

    You guys are great thanks in advance!


  2. #2
    Moderator Eric is offline
    ModeratorRank
    Jan 2010 Join Date
    DEV CityLocation
    3,188Posts

    Re: Stuck at login screen (updating to higher version)

    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.

  3. #3
    (O_o(o_O(O_O)o_O)O_o) Novak is offline
    MemberRank
    Apr 2009 Join Date
    The NetherlandsLocation
    1,120Posts

    Re: Stuck at login screen (updating to higher version)

    Quote Originally Posted by chunkarama View Post
    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.
    Ahh thank you. Makes perfect sense. This is axactly the kind of answer I needed. Allready seeing some things that need to be added in order to make it work for v118. Will post again when I get it to work ;)



Advertisement