Results 1 to 1 of 1

[VB] True Cheaters Auth System

This is a discussion on [VB] True Cheaters Auth System within the Source Code Samples forums, part of the Programming category; This is MY way of doing it. Is there other ways? Of course. This is what I used, and this ...

  1. #1
    Restless is offline Banned
    Join Date
    Jul 2010
    Posts
    114

    Default [VB] True Cheaters Auth System

    This is MY way of doing it. Is there other ways? Of course. This is what I used, and this is what worked. Feel free to experiment.

    What you need:
    1 Button
    2 Textboxes
    1 Webbrowser (Visible = False)
    A 2nd form to have the auth open up when the auth passes.

    Code:
    Public Class Form1
    
        Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            WebBrowser1.Navigate("http://www.truecheaters.com/forums/tcauth.php?user=" & TextBox1.Text & "&pass=" & TextBox2.Text)
        End Sub
    
        Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
            If WebBrowser1.DocumentText.Contains("0") = True Then
                MessageBox.Show("Auth passed. Enjoy the bot!")
                Form2.Show()
                Me.Hide()
            End If
            If WebBrowser1.DocumentText.Contains("0") = False Then
                MessageBox.Show("Auth failed. Please subscribe to True Cheaters!")
                Me.Close()
            End If
        End Sub
    End Class
    You can change what happens when auth is passed or failed. Whether it opens up meat spin 100 times, or whether it just closes.
    If you have any questions, feel free to PM me.
    Thanks.

    PS: You can change the numbers - 0 = Subscriber 1 = Non Subscriber
    Last edited by Restless; 07-26-2010 at 01:22 AM.

  2.   Alt These ads help cover server costs and such.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Facebook Bots | Admin Forum