I try make a recconect, but appear an error.
my code:
[code="vbnet"] Private Sub TimerRecconect_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TimerRecconect.Tick
If c.LoggedIn = False Then
c.Login.Login(Form3.account.Text, Form3.password.Text, Form3.character.Text)
End If[/code]
In form3 (Recconecter) have 3 textbox that you put account, password and character, and you click in Enable Button that execute Form2.TimerRecconect.Start() and Form3.Hide()
But in game when I start recconecter after the credentials (acc, pass, char)
Give a error in (If c.LoggedIn = False Then)
Error: "Object reference not set to an instance of an object."