Tasharen Entertainment Forum
Support => TNet 3 Support => Topic started by: alewbpr on May 05, 2017, 06:28:16 PM
Title:
Question about player create new server
Post by:
alewbpr
on
May 05, 2017, 06:28:16 PM
Hey guy I am noob with TNet and I'm trying to build a room that the player is the host:
TNLobbyClient lobby
=
GetComponent
<
TNLobbyClient
>
(
)
;
TNServerInstance
.
Type
type
=
(
lobby
is
TNUdpLobbyClient
)
?
TNServerInstance
.
Type
.
Udp
:
TNServerInstance
.
Type
.
Tcp
;
TNServerInstance
.
serverName
=
"my server"
;
TNServerInstance
.
Start
(
6119
,
6120
,
null
, type, Tools
.
ResolveEndPoint
(
"localhost"
,
5129
)
)
;
But when I press start from editor the independent server shows me this log without stopping until I desconect.
(http://i.imgur.com/wyHWilU.png)
Anybody knows if I am doing something wrong or that is a bug from the server?
Title:
Re: Question about player create new server
Post by:
cmifwdll
on
May 06, 2017, 06:46:39 PM
Yeah it's a bug with the lobby server.
Try mythikos' fix here: http://www.tasharen.com/forum/index.php?topic=15240.0