Game Development Community

How to print server's number at server list?

by SpaceIllusion, Inc. · in Technical Issues · 05/15/2009 (12:56 am) · 0 replies

Is there a way to print server's number, when update the server list?

for example,

if A create server.. getServerCount() will 1 and it's number will 1..

Also if B make server.. getServerCount() will 2 and it's number will 2..


There is a Global variables $ServerInfo that manage server list

ServerInfo::Status
ServerInfo::Address
ServerInfo::Name
ServerInfo::GameType
ServerInfo::MissionName
.
.
.

I want to add the server's number in $ServerInfo array

and use that like $ServerInfo::GameNumber..


Is there a any way??????

please help.. :)



ps. sorry for my poor english..