Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[ES] Making it connect to server when clicking the login button?


Timmah
 Share

Recommended Posts

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

@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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...