Brand New Gaia Login HTTPWrapper
Code:
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