|
1 registered members (TipmyPip),
18,449
guests, and 6
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: choose a game
[Re: xbox]
#201035
04/06/08 17:08
04/06/08 17:08
|
Joined: Aug 2006
Posts: 652 Netherlands
bstudio
User
|
User
Joined: Aug 2006
Posts: 652
Netherlands
|
When someone creates a server make sure you store it in a database, on the client retrieve all the listings in the database and select the IP from there.
BASIC programmers never die, they GOSUB and don't RETURN.
|
|
|
Re: choose a game
[Re: bstudio]
#201056
04/06/08 18:59
04/06/08 18:59
|
Joined: Jul 2005
Posts: 1,930 Austria
Dark_samurai
Serious User
|
Serious User
Joined: Jul 2005
Posts: 1,930
Austria
|
The methode bstudio posted is possible, but not realy good. The problem is that the computer which has opened a game have to ping all the time to the server which saves the database so that the database server knows if the server with the game is still online. And another problem is that you need a database server and if this server crashs, no one can play anymore because they can't find any games!
A better methode would be to use UDP, send a broadcast and every computer which has an open session sends back his data (IP,...). It's simple and very effective! Games like CS,... use this technic.
Dark_Samurai
ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)! get free version
|
|
|
Re: choose a game
[Re: xbox]
#201524
04/09/08 18:46
04/09/08 18:46
|
Joined: Jul 2005
Posts: 1,930 Austria
Dark_samurai
Serious User
|
Serious User
Joined: Jul 2005
Posts: 1,930
Austria
|
You will need a plugin so that you can get acess to the udp-protocol. Ulrich Seiffert wrote such a plugin for me a few months ago, you can buy it on his webside: http://www.gameus.deDark_Samurai
ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)! get free version
|
|
|
|
|
|