| Mirage Source http://web.miragesource.net/forums/ |
|
| Search for Servers http://web.miragesource.net/forums/viewtopic.php?f=210&t=3467 |
Page 1 of 1 |
| Author: | Sebalon [ Sun Mar 09, 2008 11:05 am ] |
| Post subject: | Search for Servers |
Hi, im not that superpro in vb and i dont know realy how to realise this. No, in theory i know how, but not how to code it: I want create a list, where all avaiable servers of this game are listed. The problem is, that the program should dont know, for what servers he have to search. I want that all players can make their owen server when they want and other players can find this server and join. And on the serverlist i want to see the IP, the Ping and the number of Players on this server. My problem is, that i dont realy know how i can search for this servers. I could ping on all ip's and if i get a response i look for the name. But how can i realise this? |
|
| Author: | Joost [ Sun Mar 09, 2008 12:58 pm ] |
| Post subject: | Re: Search for Servers |
You want to ping every possible IP? |
|
| Author: | Rezeyu [ Sun Mar 09, 2008 1:00 pm ] |
| Post subject: | Re: Search for Servers |
Tip, have all the server.exe's send a ping out to YOU. Much easier.. |
|
| Author: | Sebalon [ Sun Mar 09, 2008 3:09 pm ] |
| Post subject: | Re: Search for Servers |
Okay, the problem is, how did the program know whitch ip to ping on? |
|
| Author: | Rezeyu [ Sun Mar 09, 2008 8:16 pm ] |
| Post subject: | Re: Search for Servers |
...you just.. put whatever your IP is? |
|
| Author: | Lea [ Mon Mar 10, 2008 1:27 am ] |
| Post subject: | Re: Search for Servers |
Upon startup, a server would register itself with the master server. Players connect to the master server, and are given a list of servers they can connect to (IP/Port/Number of players online/etc) To get the ping, the player would need to ping each server individually. The ping from master to server would not be representative of ping from player to server. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|