Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,449 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
choose a game #201034
04/06/08 17:05
04/06/08 17:05
Joined: Nov 2006
Posts: 497
Ohio
xbox Offline OP
Senior Member
xbox  Offline OP
Senior Member

Joined: Nov 2006
Posts: 497
Ohio
Does any one know how to make a menu that when opened searches for all servers that are for the same game and then list them (like in system link games) so you can choose which server you want to connect to?

I am assuming it has to do some thing with strings. But how would you search for a specific server?

I will try to figure it out myself, in the meantime

Thanks in advance,
Adam...

Re: choose a game [Re: xbox] #201035
04/06/08 17:08
04/06/08 17:08
Joined: Aug 2006
Posts: 652
Netherlands
bstudio Offline
User
bstudio  Offline
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 Offline
Serious User
Dark_samurai  Offline
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: Dark_samurai] #201166
04/07/08 11:14
04/07/08 11:14
Joined: Aug 2006
Posts: 652
Netherlands
bstudio Offline
User
bstudio  Offline
User

Joined: Aug 2006
Posts: 652
Netherlands
Nice suggestion, I'll be sure to remember that one when I do some multiplayer stuff again


BASIC programmers never die, they GOSUB and don't RETURN.
Re: choose a game [Re: bstudio] #201265
04/07/08 21:38
04/07/08 21:38
Joined: Nov 2006
Posts: 497
Ohio
xbox Offline OP
Senior Member
xbox  Offline OP
Senior Member

Joined: Nov 2006
Posts: 497
Ohio
Sorry if i get on your nerves. I looked on google, in the manuel and such, and found out what a UDP was. Now that i know, i have know idea how to write a code to do such thing. If any one can give me a code or a tutorial on how to do this, it would greatly be appreciated.

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 Offline
Serious User
Dark_samurai  Offline
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.de

Dark_Samurai


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version

Moderated by  HeelX, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1