mine isn't working WBU ?
Results 1 to 6 of 6
Thread: Gaia auth
- 25 Feb. 2012 06:14pm #1
- 25 Feb. 2012 09:54pm #2
- 26 Feb. 2012 12:31am #3Code:
Wrapper.Post("http://www.gaiaonline.com/auth/login", "&username=" + TextBox1.Text + "&password=" + TextBox2.Text) If Wrapper.Get("http://www.gaiaonline.com/?login_success=1").IndexOf("Welcome back" + TextBox1.Text + "!") Then MessageBox.Show("logged in") Else : MessageBox.Show("Failed!") End If
- 26 Feb. 2012 01:45am #4
You're missing the token value and you can transform that into one line.
PHP Code:if (Wrapper.Post(Gaia_URL_Nor + Gaia_URL_NorLogin, "username=" + Username + "&password=" + Password + "&token=" + Wrapper.Between(Wrapper.Get(Gaia_URL_Nor + Gaia_URL_NorLogin), "token\" value=\"", "\""), Gaia_URL_Nor).IndexOf("gold_amt") > -1)
- 26 Feb. 2012 04:05am #5
- 26 Feb. 2012 12:54pm #6
Holy shit I'm such a n00b , the code game me errors so i did this :
Code:If Wrapper.Post("http://www.gaiaonline.com/auth/login", "&username=" + TextBox1.Text + "&password=" + TextBox2.Text + "&token=" + Wrapper.Between(Wrapper.Get("http://www.gaiaonline.com/auth/login" + "http://www.gaiaonline.com/?login_success=1"), "token\", "value=\", "\"), "http://www.gaiaonline.com/?login_success=1").IndexOf(("gold_amt") > -1) Then MessageBox.Show("logged in !") Else : MsgBox("Failed") End If