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.
You can change what happens when auth is passed or failed. Whether it opens up meat spin 100 times, or whether it just closes.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
If you have any questions, feel free to PM me.
Thanks.
PS: You can change the numbers - 0 = Subscriber 1 = Non Subscriber


LinkBack URL
About LinkBacks
Reply With Quote