1
TNet 3 Support / Re: TNet Dedicated Server
« on: June 15, 2017, 01:27:15 PM »
Hello Entelicon,
Yes, it would work well with a dedicated server/client system. The base system is designed around p2p as each channel on a server has a channel host which manages the RFCs and such. Although the way I did it was I listened for a command argument that triggers the server to be launched and I also listen to a name command which has all the servers info for example: "Sever Name_My Map_GameMode" then I split the name by the character '_' to pull all the info.
So basically:
1) Listen for the command.
2) Launch server.
3) Join channel as host. (Now you have a dedicated host)
4) Set server name
5) GG
Look at this thread for some more info if needed: http://www.tasharen.com/forum/index.php?topic=15313.0
Yes, it would work well with a dedicated server/client system. The base system is designed around p2p as each channel on a server has a channel host which manages the RFCs and such. Although the way I did it was I listened for a command argument that triggers the server to be launched and I also listen to a name command which has all the servers info for example: "Sever Name_My Map_GameMode" then I split the name by the character '_' to pull all the info.
So basically:
1) Listen for the command.
2) Launch server.
3) Join channel as host. (Now you have a dedicated host)
4) Set server name
5) GG
Look at this thread for some more info if needed: http://www.tasharen.com/forum/index.php?topic=15313.0
