Timmah Posted March 26, 2011 Author Share Posted March 26, 2011 Hi all,I took suggestions from Robin in my last thread. And that was to make my game connect to the server when the user hits the Login button. I have tried Calling the TspInit when they click Login, moving the frmStable.Socket.Connect to the Login, disabled Status Timer, but nothing seems to work.Any help would be loved.-Timmah Link to comment Share on other sites More sharing options...
Alatar Posted March 26, 2011 Share Posted March 26, 2011 Try working on withCall MenuState(MENU_STATE_LOGIN) Link to comment Share on other sites More sharing options...
Timmah Posted March 26, 2011 Author Share Posted March 26, 2011 Ah I'm glad you replied. What does that really do? Link to comment Share on other sites More sharing options...
Alatar Posted March 27, 2011 Share Posted March 27, 2011 That is the procedure called when you press the Accept button after you enter user and password. Search it and you'll find what i'm talking about. Link to comment Share on other sites More sharing options...
Timmah Posted March 28, 2011 Author Share Posted March 28, 2011 @Alatar:> That is the procedure called when you press the Accept button after you enter user and password. Search it and you'll find what i'm talking about.Yeah, but I dont think that is what makes it connect to the server. On ES, if you sit at the login screen for like 2 minutes, it drops the server connection. There has to be something, like when frmMainMenu loads, it sent a request to connect to server. Do you know what that is? I can do the rest, I just need to find that one little peice of code. xD Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now