Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Complete Boredum Security idea*tested on MS4*
#1
This is great if you want to have a GM Client and a Public client
So even if someone got ahold of a GM account user/pass they would still need a client without this code to login =P
Very easy to install

Open frmLogin
Double click Connect label
change it to look like this
Code:
Private Sub lblConnect_Click()
'makes it so no one using the client can login with this username
If txtName.Text = "Username Here" Then
frmWarn.Visible = True
Else
    
    If LenB(Trim$(txtName.Text)) > 0 Then
        If LenB(Trim$(txtPassword.Text)) > 0 Then
            Call MenuState(MENU_STATE_LOGIN)
        End If
    End If
    End If
End Sub

Code for frmWarn
Make a Form add label or w/e for the text you want the warning to say size it and do w/e
make a Command Button and name it ok
copy/paste and ur done
Code:
Private Sub ok_Click()
Unload Me
End Sub
Reply
#2
Nice code Faild.
Reply
#3
i have a way more advanced 1 then this for myself so its easier but this does the same thing =P
Reply
#4
That would work... Until someone decided to decompile the client and change it. You would need some a version of some sort somewhere in the client thats different than the admin client, and add a server side check to compare the versions (how I would do it anyways).
Reply
#5
i did it just for something to do i was bored
Reply
#6
What if that person wants to get on and it's not a hacker? :|
Reply
#7
GIAKEN Wrote:What if that person wants to get on and it's not a hacker? :|

Quote:This is great if you want to have a GM Client and a Public client
Reply
#8
GIAKEN Wrote:What if that person wants to get on and it's not a hacker? :|
Why would he want to enter the admin account?
Reply
#9
I was saying if it was the actual GM that wanted to get on, but then I realized they made separate .EXEs.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)