Open H3LLB0Y opened 12 years ago
Client currently requests server for a list of 'alive' servers (server sends back a list of ip's). Request happens on init of main menu, and on refresh at the moment, need to add to something in GUI. Still need to add a refresh time limiter so client cannot spam the server.
Not sure on where this is going in the mainmenu design, but i think from client should send a request to server for games, which will return ipaddress's for the client to query, and it will show the valid ones, allowing to be selected and joined. First query automatic on init() of the mainmenu, and on every refresh button press (as long as a request is not currently happening, similar to login with a listener and a timeout. Needs to track one if it is selected, so refresh wont unselect i guess.