Tasharen Entertainment Forum

Support => TNet 3 Support => Topic started by: raptorx81 on May 07, 2015, 08:47:51 PM

Title: Change dedicated server name (while ingame)
Post by: raptorx81 on May 07, 2015, 08:47:51 PM
Hi everyone!

I recently switched my games networking backend over from Photon to TNet and so far everything is working perfectly!

I am wondering if it's possible for the host of a session to change the server name? I know if your hosting a local instance, you can do this by going "TNServerInstance.serverName = "blablabla", but is there a nice way to change a dedicated servers name while your in-game? I know you can set the server name when you launch the dedicated server, but that's not what I need in this case.

If not that's totally fine as I will tweak the source code so this is possible, but I wanted to ask here first in case I'm missing anything.

Thanks in advance for your help!
Title: Re: Change dedicated server name (while ingame)
Post by: ArenMook on May 07, 2015, 09:55:49 PM
Once you launch the dedicated server, the name you chose is what it will have. You would need to restart it to change it unless you add code for it.
Title: Re: Change dedicated server name (while ingame)
Post by: raptorx81 on May 07, 2015, 11:34:55 PM
Okay good to know, thanks!