Master Password ?

Results 1 to 11 of 11
  1. #1
    Enthusiast ronggyuann is offline
    MemberRank
    Nov 2012 Join Date
    29Posts

    Master Password ?

    Can i know how to add master password system ?

    Inside ServerConstants will have the pass word to set.

    i can't figure out how to let it work.

    I tried adding in
    Code:
    if (pwd.equalsIgnoreCase("masterpassword")) {
     loginok = 0;
    i change the
    Code:
     ("Masterpassword")
    to
    Code:
     (""+Server.Constants.MasterPassword+"")
    And i tried , it doesn't give me error , but it won't work .


  2. #2
    Alpha Member TiredGuy is offline
    MemberRank
    Mar 2012 Join Date
    Behind YouLocation
    1,527Posts

    Re: Master Password ?

    What the fuck is master pass system.

  3. #3
    Enthusiast ronggyuann is offline
    MemberRank
    Nov 2012 Join Date
    29Posts

    Re: Master Password ?

    The master password system is to allow Admin to access any user account with that password , only Admin know the password.

  4. #4
    Alpha Member TiredGuy is offline
    MemberRank
    Mar 2012 Join Date
    Behind YouLocation
    1,527Posts

    Re: Master Password ?

    That's stupid. What's the point of logging in other users accounts? What if someone knows the pass?
    Everybody gets hacked?

  5. #5
    Enthusiast ronggyuann is offline
    MemberRank
    Nov 2012 Join Date
    29Posts

    Re: Master Password ?

    I am thinking of adding a IP check , like first check admin IP if it's not use that password also no use .
    if the admin IP is corrent , can use the password system .

  6. #6
    Alpha Member TiredGuy is offline
    MemberRank
    Mar 2012 Join Date
    Behind YouLocation
    1,527Posts

    Re: Master Password ?

    I find it stupid since your not suppose to be logging in your server's players accounts.

  7. #7
    Enthusiast ronggyuann is offline
    MemberRank
    Nov 2012 Join Date
    29Posts

    Re: Master Password ?

    Oh okay. thanks btw !

  8. #8
    Omega sunnyboy is offline
    MemberRank
    Mar 2010 Join Date
    6,109Posts

    Re: Master Password ?

    You store their password in MySQL usually encrypted, but since you know how it's being encrypted, you can decrypt it.

  9. #9
    Account Upgraded | Title Enabled! royalmonky is offline
    MemberRank
    Jun 2011 Join Date
    648Posts

    Re: Master Password ?

    Quote Originally Posted by TiredGuy View Post
    I find it stupid since your not suppose to be logging in your server's players accounts.
    Hows this stupid? The reason you will do this is to help someone out or if a player reports being bugg you log into their account to check what the problem is.
    Kind of saying that npc you coded with ALL The cash shop items is stupid right?
    Point is everybody has different ideas.

  10. #10
    Tsun.getDere(f); Tsundere is offline
    MemberRank
    May 2011 Join Date
    437Posts

    Re: Master Password ?

    You might want to just leech the authenticates system from XeonMS if you really want something like this. What if someone else has the same password as the master password? It allows them to be an admin then. You should use IP, mac, or something else to verify a user.

  11. #11
    Alpha Member TiredGuy is offline
    MemberRank
    Mar 2012 Join Date
    Behind YouLocation
    1,527Posts

    Re: Master Password ?

    I ciuldnt think of a way to patch the cash shop packet thingy back then so cash shop NPC was needed temporary. Why log in a player's account when they can just describe the.issue unless your too stupid to understand.



Advertisement