» Site Navigation | | | » Advertisement | | | » Recent Threads | | | | | | | | | | | |  |  | [VB6]New Gaia login |  |
10-07-2007, 04:30 PM
|
#1 (permalink)
|
Join Date: Feb 2007 Posts: 3,781
GPoints: 6,415 Rep Power: 21 | [VB6]New Gaia login This the source for the Gaia online login. Older ones might not work because they are outdated..
NEW VERSION Code: Private Sub loginBut_Click()
If (Text1.Text = vbNullString) Then
MsgBox "Please Enter a Valid Username", vbCritical
Exit Sub
ElseIf (Text2.Text = vbNullString) Then
MsgBox "Please Enter a Valid Password", vbCritical
Exit Sub
End If
loginBut.Enabled = False
Text1.Enabled = False
Text2.Enabled = False
Label.Caption = "Logging in..."
strHTML = wrapper.GetWrapper("http://www.gaiaonline.com/", "http://gaiaonline.com/")
frob2 = wrapper.iB(strHTML, "<input type=" & Chr(34) & "hidden" & Chr(34) & " name=" & Chr(34) & "frob" & Chr(34) & " value=" & Chr(34), Chr(34) & " />")
strHTML = wrapper.PostWrapper("http://login.gaiaonline.com/gaia/login.php", "sid=&frob=" & frob2 & "&toolbar_id=&redirect=http%3A%2F%2Fwww.gaiaonline.com%2F%3Flogout_success&username=" & Text1.Text & "&password=" & Text2.Text & "username=" & Text1.Text & "&password=" & Text2.Text, "http://www.gaiaonline.com/")
strHTML = wrapper.GetWrapper("http://www.gaiaonline.com/forum/", "http://www.gaiaonline.com/")
If InStrB(strHTML, "<li class=" & Chr(34) & "gold" & Chr(34) & " title=" & Chr(34) & "Gaia Gold Amount" & Chr(34) & "><span c") Then
Label.Caption = "Logged In"
Else
loginBut.Enabled = True
Text1.Enabled = True
Text2.Enabled = True
MsgBox "Login Failed", vbCritical
Label.Caption = "Login Failed. Please try again."
End If
End Sub
OLD VERSION Code: Private Sub loginBut_Click()
lblCap.Caption = ""
If (txtuser.Text = vbNullString) Then
MsgBox "You must enter a username", vbCritical
Exit Sub
ElseIf (txtpass.Text = vbNullString) Then
MsgBox "You must enter a password", vbCritical
Exit Sub
End If
lblCap.Caption = "Logging in..."
loginBut.Enabled = False
txtuser.Enabled = False
txtpass.Enabled = False
strHTML = wrapper.PostWrapper("http://login.gaiaonline.com/gaia/login.php", "submit=Login&sid=NULL&redirect=http://www.gaiaonline.com/forum&username=" & txtuser.Text & "&password=" & txtpass.Text & "&x=23&y=14", "http://gaiaonline.com/")
strHTML = wrapper.GetWrapper("http://www.gaiaonline.com/forum/",wrapper.LastPage)
If InStrB(1, strHTML, "Gold:") Then
lblCap.Caption = "Logged in!"
Else
loginBut.Enabled = True
txtuser.Enabled = True
txtpass.Enabled = True
lblCap.Caption = "Failed Login. Please try again."
MsgBox "Failed Login.", vbCritical
End If
End Sub Any problems? Tell me and I might help you.
Last edited by |G3|; 02-20-2008 at 04:10 PM.
| |
| |  |
11-09-2007, 03:37 AM
|
#2 (permalink)
| I'm in your mind...
Join Date: Sep 2007 Location: Behind a closed door... Age: 22 Posts: 133
GPoints: 42 Rep Power: 4 | Exactly what I was looking for. Thanks a ton man!
-Edit-
Tried to +rep, but it won't let me. Says I need to spread the rep around before I can rep you again
What wrapper are you using?
__________________ Quote:
Originally Posted by Googlrr I dunno whats funnier. This topic, or trying to convince a 13 y/o girl to masturbate. | | |
| |
11-10-2007, 07:29 PM
|
#3 (permalink)
| Donor
Join Date: Oct 2006 Location: California Age: 16 Posts: 1,419
GPoints: 190 Rep Power: 8 | Nice, I'll need this when I start making Gaia-related programs. ^^ | |
| |
12-29-2007, 07:17 AM
|
#4 (permalink)
|
Join Date: Feb 2007 Posts: 3,781
GPoints: 6,415 Rep Power: 21 | Holy shit what's with the spam.
This code is for visual basic 6. It's a programming language.
That's why there is [VB6] in the title... | |
| |
02-20-2008, 03:59 PM
|
#5 (permalink)
| Underground
Join Date: Dec 2007 Location: Charlotte, NC Age: 14 Posts: 298
GPoints: 57 Rep Power: 3 | phweet... another one.
__________________ I'm back bitches. | |
| |
02-20-2008, 04:06 PM
|
#6 (permalink)
|
Join Date: Feb 2007 Posts: 3,781
GPoints: 6,415 Rep Power: 21 | Updated with the newest Gaia login. | |
| |
02-20-2008, 04:14 PM
|
#7 (permalink)
| i love strangers w/ candy
Join Date: Jan 2008 Location: Hell Posts: 1,553
GPoints: 1,202 Rep Power: 5 | I paste this in my flp source? | |
| |
02-21-2008, 08:12 PM
|
#8 (permalink)
| Underground
Join Date: Sep 2006 Location: BrisBANE <---- Age: 19 Posts: 5,025
GPoints: 317 Rep Power: 16 | No this is vb not php
__________________ This is from:
Screenies Of A Mod Code: How did you do it? FLP , jotform, some other form of hacking? - First Class Noob Lawl.. funny shit.
Quote: |
Originally Posted by Kore By k[ore] on Today, 08:44 AM
i'll give you rep alright, but it won't be positive. | Lawl Ownt
Hoes forgot to eat a dick and shut the FUCK UP! | |
| |
10-23-2008, 04:48 PM
|
#9 (permalink)
| Banned
Join Date: Oct 2008 Posts: 39
GPoints: 208 Rep Power: 0 | The old one works now. The "new one" doesnt work anymore. | |
| |
10-23-2008, 04:54 PM
|
#10 (permalink)
|
Join Date: Feb 2007 Posts: 3,781
GPoints: 6,415 Rep Power: 21 | Thanks captain obvious, look at the date. | |
| |  | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | |