[TUT] Dual HD and non-HD login [TUT]

Results 1 to 8 of 8
  1. #1
    8-bit Bitch Slapper Alpha Ducky is offline
    MemberRank
    Mar 2007 Join Date
    In My HouseLocation
    2,436Posts

    [TUT] Dual HD and non-HD login [TUT]

    In Login.java Find:

    Code:
                     int junk29 = p.stream.readUnsignedByte();
                int encryption = p.stream.readUnsignedByte();
                if (encryption != 10 && encryption != 64) {
                    p.loginStage = -1;
                    return;
                }
    Replace with:

    Code:
                     int junk29 = p.stream.readUnsignedByte();
                int encryption = junk29;
                if(!(encryption == 10 || encryption == 64)) {
                    encryption = p.stream.readUnsignedByte();
                }
                if (encryption != 10 && encryption != 64) {
                    p.loginStage = -1;
                    return;
                }
    Now your server will allow both types of login, HD and non-HD.


  2. #2
    Alpha Member MSDartz is offline
    MemberRank
    May 2008 Join Date
    PwnVilleLocation
    2,171Posts

    Re: [TUT] Dual HD and non-HD login [TUT]

    Nice tut. =D

  3. #3
    8-bit Bitch Slapper Alpha Ducky is offline
    MemberRank
    Mar 2007 Join Date
    In My HouseLocation
    2,436Posts

    Re: [TUT] Dual HD and non-HD login [TUT]

    Quote Originally Posted by MSDartz View Post
    Nice tut. =D
    Thanx.
    Pretty simple to use.

  4. #4
    I am THE DON Joe9099 is offline
    MemberRank
    Jan 2007 Join Date
    England, UkLocation
    3,655Posts

    Re: [TUT] Dual HD and non-HD login [TUT]

    Give the correct credits to the guy from Rune locus .... ?

    Then again if this is yours, sorry.

  5. #5
    Alpha Member MSDartz is offline
    MemberRank
    May 2008 Join Date
    PwnVilleLocation
    2,171Posts

    Re: [TUT] Dual HD and non-HD login [TUT]

    Yeah, it is. Lol

  6. #6
    8-bit Bitch Slapper Alpha Ducky is offline
    MemberRank
    Mar 2007 Join Date
    In My HouseLocation
    2,436Posts

    Re: [TUT] Dual HD and non-HD login [TUT]

    Quote Originally Posted by Joe9099 View Post
    Give the correct credits to the guy from Rune locus .... ?

    Then again if this is yours, sorry.
    Never even heard of rune-locus xD

    Now I'll have to check it out lolz

    But I got pretty mad because I could login on my HD client with one server and not the other.
    So I looked around in login.java and sound the difference between the two (the above info)

  7. #7
    Alpha Member MSDartz is offline
    MemberRank
    May 2008 Join Date
    PwnVilleLocation
    2,171Posts

    Re: [TUT] Dual HD and non-HD login [TUT]

    I doubt he leeched it or anything.

  8. #8
    Account Upgraded | Title Enabled! becool007 is offline
    MemberRank
    Aug 2008 Join Date
    192Posts

    Re: [TUT] Dual HD and non-HD login [TUT]

    Which login.java... This is soo confusin...
    EDit: im not a noob at coding. Its just that im using Dodian server. I didnt find it anywhere neither AJscape Dodian or client.



Advertisement