Results 1 to 8 of 8
  1. #1
    ShadowPwnz's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Hackworld
    Posts
    104
    Reputation
    10
    Thanks
    17
    My Mood
    Dead

    Question MPGH Login Script(Help)

    Would it be possible to create a script in which the user has to log in to MPGH to continue? E.G. I have a Blackjack game i'm thinking of releasing + source to help ppl code, but I wanted to make the hacks accessible only by an MPGH account.



    At the moment it works with an application-defined password, but I was wondering if there was a way to make it operate off user credentials.

  2. #2
    Lolland's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Lolland!
    Posts
    3,156
    Reputation
    49
    Thanks
    868
    My Mood
    Inspired
    I'd assume you'd need access to the MPGH database.

  3. #3
    scimmyboy's Avatar
    Join Date
    Jan 2008
    Gender
    male
    Location
    https://mpgh.net MPGHCash: $442,596,199
    Posts
    5,645
    Reputation
    26
    Thanks
    896
    My Mood
    Happy
    Quote Originally Posted by lolland View Post
    I'd assume you'd need access to the MPGH database.
    which would need dave's consent, which is usually no

  4. #4
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    Use Mpgh.net database, Which will never happen

    .......... Think Outside The Box..........

    GetElementByID + Knowing what Element is displayed when a user is/is not logged in.

    The easy method to see if a member is logged in is to look for the ID navbar_search programatically

    If it exists the user is logged in, Search Button doesn't exisit unless the user is logged in.

    That's an easy way to authenticate the user based on "logged in" or not

    So the theory is .....

    Form Login Loads
    It then Checks form2.webbrowser for the elementID " navbar_search "

    If it exisit Label1 = Welcome MPGH.net user

    If Element ID navbar_search doesn't exisit
    Textbox1.visibility = true , textbox2.Visibility = true
    Label 1 = please login , that login gets sent using getelementbyid

    and you have a way to authenticated a mpgh.net user
    Last edited by NextGen1; 02-20-2010 at 03:59 PM.


     


     


     



    The Most complete application MPGH will ever offer - 68%




  5. The Following 2 Users Say Thank You to NextGen1 For This Useful Post:

    crinklymilk (10-12-2012),XGelite (02-22-2010)

  6. #5
    ShadowPwnz's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Hackworld
    Posts
    104
    Reputation
    10
    Thanks
    17
    My Mood
    Dead
    Thanks NextGen, that will probably work.

  7. #6
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    Not a problem, should do just fine as a way around using databases


     


     


     



    The Most complete application MPGH will ever offer - 68%




  8. #7
    Calebb's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    212
    Reputation
    12
    Thanks
    75
    What nextgen said.

  9. #8
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    The Actual Code to log into MPGH.net is
    Code:
    ' To login to Mpgh.net programatically
    WebBrowser1.Document.GetElementsByID("navbar_username").Innertext = textbox1.text
    WebBrowser1.Document.GetElementsByID("navbar_password").Innertext = textbox2.text
    WebBrowser1.Document.Forms(0).InvokeMember("submit")
    Because it has been asked 4 times already


     


     


     



    The Most complete application MPGH will ever offer - 68%




  10. The Following 2 Users Say Thank You to NextGen1 For This Useful Post:

    XGelite (02-22-2010),Zoom (02-21-2010)

Similar Threads

  1. [Help]login script
    By axg24 in forum CrossFire Help
    Replies: 7
    Last Post: 06-09-2010, 07:22 AM
  2. MPGH public hack (requires login info) help!
    By zeleet in forum Combat Arms Hacks & Cheats
    Replies: 4
    Last Post: 03-17-2010, 10:45 AM
  3. MPGH Publiv Hack Help Needed! :(
    By Xonil_Raider in forum General
    Replies: 4
    Last Post: 01-18-2009, 08:42 AM
  4. MPGH Hack Problems Help me please.
    By johnny608 in forum Combat Arms Hacks & Cheats
    Replies: 5
    Last Post: 12-18-2008, 04:01 AM
  5. MPGH Missing Script!
    By Jeckels in forum General
    Replies: 1
    Last Post: 10-29-2007, 08:38 PM