Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Ayumi, 1 invisible), 584 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
sessions list? #358576
02/12/11 04:25
02/12/11 04:25
Joined: Jan 2011
Posts: 122
GUILIN , CHINA
tzw Offline OP
Member
tzw  Offline OP
Member

Joined: Jan 2011
Posts: 122
GUILIN , CHINA
how to do a sessions list? i mean that players can directly select one session and join it on the list


Full of my eyes are class struggles.....
Re: sessions list? [Re: tzw] #358633
02/12/11 15:04
02/12/11 15:04
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline
Serious User
Dark_samurai  Offline
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
Through an online database server. Every server of your game that was created has to register its session name and ip address in the database of the database server.
If clients are searching for servers, they contact the database server which sends them the list of all running servers.

The best would be to use an mysql server and do the transfer between the mysql server and your game server/clients through http/php.

Http is supported by Gamestudio Professional, GSTNet and ANet.

EDIT: If you want you can try out the ANet demo (it's free) and the new internet server list template: http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=352322#Post352322

It gives you everything you need and no knowledge about sql and php is required.

Last edited by Dark_samurai; 02/12/11 15:06.

ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: sessions list? [Re: Dark_samurai] #358711
02/12/11 22:17
02/12/11 22:17
Joined: Jan 2011
Posts: 122
GUILIN , CHINA
tzw Offline OP
Member
tzw  Offline OP
Member

Joined: Jan 2011
Posts: 122
GUILIN , CHINA
thx alot, but i do not think a really lan game use this way to create sessions list

Last edited by tzw; 02/12/11 22:39.

Full of my eyes are class struggles.....
Re: sessions list? [Re: tzw] #358782
02/13/11 12:53
02/13/11 12:53
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline
Serious User
Dark_samurai  Offline
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
No as I said this is an internet server list. For LAN games you do it in a different way. If the client is searching for servers you have to send an UDP broadcast. All opened servers answer with a packet that contains the session name, map, number of players,...

--> You get a list of all servers in your LAN.

ANet again gives you functions to do this. It also has a ready to use template for a LAN server list.


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: sessions list? [Re: Dark_samurai] #358787
02/13/11 13:09
02/13/11 13:09
Joined: Jan 2011
Posts: 122
GUILIN , CHINA
tzw Offline OP
Member
tzw  Offline OP
Member

Joined: Jan 2011
Posts: 122
GUILIN , CHINA
thx very very much


Full of my eyes are class struggles.....

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | 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