A preserved archive of the Logical Gamers community forums, 2009-2025. The original threads and posts, served read-only. Registration, posting and private messages are gone for good.

Brand New Gaia Login HTTPWrapper

1.6k views · started by AlwaysTesting ·
#1
Brand New Gaia Login HTTPWrapper
Public Class Gaiaonline
Public Wrapper As New HTTPWrapper

Public Function Login(ByVal Username As String, ByVal Password As String) As Boolean
Return IIf(((Wrapper.PostWrapper(Nothing, "http://www.gaiaonline.com/auth/login/", "username=" & Username & "&password=" & Password & "&signInButton=&token=" & (Addons.Match((Wrapper.GetWrapper(Nothing, "http://www.gaiaonline.com/")), "value=" & Chr(34) & "((\d+)\.(\d+)\.(\d+))" & Chr(34))) & "&sid=&redirect=http%3A%2F%2Fwww.gaiaonline.com%2F&chap=")).IndexOf("gold_amt") > -1), True, False)
End Function

Public Function SessionID()
Return (Addons.Between((Wrapper.GetWrapper(Nothing, "http://www.gaiaonline.com/chat/gsi/index.php?v=json&m=[[109,[]]]")), "," & Chr(34), Chr(34) & "]]"))
End Function
End Class


Hope this helps everyone with they're Gaiaonline bots! :D
#2
Nice, easy and cool.
#3
Hey, you should put [vb] or something before your post title.

Besides that, though, nice login![/vb]
#4
You have to provide the wrappers that you used , cause i can see that you used EBU wrappers.
#5
Does this work with the login as of 4/29? Just checking...
#6
boa man5 wrote:
Does this work with the login as of 4/29? Just checking...


Nope .