Saitonashi Posted March 4, 2012 Author Share Posted March 4, 2012 Hi I would like to ask if there's a script for a message to the login screen before logging into the game, or registration, on the corner was saying that the server status is 'Online' or 'Offline'. Thanks in advance for your response. Link to comment Share on other sites More sharing options...
1izumrud Posted March 5, 2012 Share Posted March 5, 2012 http://www.touchofdeathforums.com/smf/index.php/topic,78296.0.htmlto try Link to comment Share on other sites More sharing options...
Wing Posted March 5, 2012 Share Posted March 5, 2012 @1izumrud:> http://www.touchofdeathforums.com/smf/index.php/topic,78296.0.html> to tryHe wants the server status to be on the client itself. Link to comment Share on other sites More sharing options...
Saitonashi Posted March 5, 2012 Author Share Posted March 5, 2012 I want to when you see the login window, it automatically connected to the server to check the availability and status of the window was a picture speaks of this status.@: HELP ME PLEASE Link to comment Share on other sites More sharing options...
Ruins of Hell Posted March 5, 2012 Share Posted March 5, 2012 @Saitonashi:> I want to when you see the login window, it automatically connected to the server to check the availability and status of the window was a picture speaks of this status.> > @: HELP ME PLEASEIf you would've actually searched the answers, you could've found your answer a long time ago quite frankly.[From this:](http://www.touchofdeathforums.com/smf/index.php?topic=75653.0)@Athagekin:> Hey Kocho, it's Jed. I've done this for my game as well.> > Go to frmMainMenu and create a new label somewhere. I left my label's name Label1 by default, but if you decide to rename it, then be sure to update the code so that it works. Now, go into your frmMainMenu code and add this:> > ```> Private Sub Form_Activate()> If ConnectToServer(1) Then> Label1.Caption = "Server Status: Online"> Label1.ForeColor = &HFF00&> ElseIf ConnectToServer(0) Then> Label1.Caption = "Server Status: Offline"> Label1.ForeColor = &HFF&> End If> End Sub> ```> Then you're done. Link to comment Share on other sites More sharing options...
Saitonashi Posted March 6, 2012 Author Share Posted March 6, 2012 Thanks ;) 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