Tasharen Entertainment Forum

Support => TNet 3 Support => Topic started by: EdLan on May 28, 2013, 02:08:01 PM

Title: Feature request: Server ID in Serverlist
Post by: EdLan on May 28, 2013, 02:08:01 PM
Hi ArenMook

Is there a reason, that Gameserver ID is not available in the Serverlist and Entry object ? This ID would it make easier to identify Gameservers instead of using a combination of the internal and external IPEndPoints as unique key. Or did I miss something?

Cheers, EdLan
Title: Re: Feature request: Server ID in Serverlist
Post by: ArenMook on May 28, 2013, 02:42:07 PM
Isn't it just an internal value, arbitrary and prone to change?
Title: Re: Feature request: Server ID in Serverlist
Post by: EdLan on May 28, 2013, 02:51:02 PM
In my case nope...

I have a custom package with additional server informations which is handled by my (custom) derived lobby server. No when a user selects a server from the known server list an some additional information about that specific server could be requested from the lobby server.

And it definitely would be easier and more elegant to make this by a server id instead of two combined IPEndpoint variables.

Cheers, EdLan
Title: Re: Feature request: Server ID in Serverlist
Post by: ArenMook on May 28, 2013, 03:08:26 PM
Well, change it to what you need it to be. ;)

TNServer isn't set in stone -- the code is yours to modify after all.
Title: Re: Feature request: Server ID in Serverlist
Post by: EdLan on May 28, 2013, 03:25:35 PM
Well... I guess that's not a very professional solution. As more changes are done in your code as more changes I have to incorporate when an updated comes (like the 1.7.0 some days ago with some bug fixes).

 
Title: Re: Feature request: Server ID in Serverlist
Post by: ArenMook on May 28, 2013, 05:34:16 PM
How so? Game server ID is something you added. There is no game server ID in TNet. Servers are identified by internal+external IP pairs. You added the ID, so only you know what it does and how it does it -- and more importantly, how they stay unique and avoid collision.

I'm saying it's your change, something you added, so keep changing it until it's what you need it to be. Not sure what you expect me to do here.