Post by zambr123 on Jun 15, 2011 21:42:47 GMT -5
IRC style automatic re-connect to server if get disconnected for whatever reason
IRC has a really neat feature which allows a user to re-connect automatically to a server, which would be very useful in MAME Hub for times when a user gets disconnected unintentionally over a long period of time.
So instead of a pop-up dialog saying you have been disconnected, have a message in the chat screen text instead (same as IRC) saying “connection reset by peer” which all users should see. Every X minutes (set as INI file value), try and reconnect with chat message “attempting to re-connect on port X”. If failed, try and connect on a different random port number (having the random port number range specified in the INI file, would also be useful too).
During all this time, the MAME Hub program is still running, but the button and menu options are ghosted out if not connected to server.
This would be very useful indeed, especially for keeping people in the hub longer, and for being able to read and respond to chat when back from AFK, even after being disconnected.
Initial Login Process - again more IRC in style
Change initial login process, so after press login button, the main screen appears straight away but with the buttons and menu options ghosted out. In chat window, have it saying “attempting to connect on port X”.
Also suggest alter login dialog to a tabbed notebook, 1st tab is normal login details (user, password), 2nd tab register new user details, 3rd tab is port number entry where you can enter in the port number and server address.
I would suggest the 2nd tab is hidden from view. If user clicks on a button called "register new user" button which is displayed on 1st tab, the 2nd tab is then displayed, and the user is automatically taken to the 2nd tab to register.
IRC has a really neat feature which allows a user to re-connect automatically to a server, which would be very useful in MAME Hub for times when a user gets disconnected unintentionally over a long period of time.
So instead of a pop-up dialog saying you have been disconnected, have a message in the chat screen text instead (same as IRC) saying “connection reset by peer” which all users should see. Every X minutes (set as INI file value), try and reconnect with chat message “attempting to re-connect on port X”. If failed, try and connect on a different random port number (having the random port number range specified in the INI file, would also be useful too).
During all this time, the MAME Hub program is still running, but the button and menu options are ghosted out if not connected to server.
This would be very useful indeed, especially for keeping people in the hub longer, and for being able to read and respond to chat when back from AFK, even after being disconnected.
Initial Login Process - again more IRC in style
Change initial login process, so after press login button, the main screen appears straight away but with the buttons and menu options ghosted out. In chat window, have it saying “attempting to connect on port X”.
Also suggest alter login dialog to a tabbed notebook, 1st tab is normal login details (user, password), 2nd tab register new user details, 3rd tab is port number entry where you can enter in the port number and server address.
I would suggest the 2nd tab is hidden from view. If user clicks on a button called "register new user" button which is displayed on 1st tab, the 2nd tab is then displayed, and the user is automatically taken to the 2nd tab to register.