I try to connect to a dedicated server I’ve made.
The dedicated server IS NOT the same project as the game.
It has completely different class.
The target is to have a dedicated server for registration and authentication.
The server starts correctly from VS2013 using the following arguments
“$(SolutionDir)$(ProjectName).uproject” /Game/Maps/Minimal_Default -server -login=ksgm -password=toto -type=test -log
As specified in previous question, I have no idea the parameter type is for. No answer.
For the client, I debug the code using the following arguments:
“$(SolutionDir)$(ProjectName).uproject” 127.0.0.1 /Game/Maps/RegisterLevel -game -log
First, I have no idea if I need to specify login, password and type to connect.
When I debug, from the client I receive the following error
[2015.02.19-09.08.31:577][ 0]LogNet: NetConnection::Close() [PendingNetDriver] [NoPC] [No Owner] from NMT_Failure Incompatible game connection.
[2015.02.19-09.08.31:578][ 0]LogNet: UNetConnection::Close: Name: IpConnection_0, Driver: PendingNetDriver IpNetDriver_0, PC: NULL, Owner: NULL, Channels: 2, RemoteAddr: 127.0.0.1:7777, Time: 2015.02.19-09.08.31
[2015.02.19-09.08.31:579][ 0]LogNet: UChannel::Close: Sending CloseBunch. ChIndex == 0. Name: ControlChannel_0
[2015.02.19-09.08.31:580][ 0]LogNet:Warning: Network Failure: PendingNetDriver[PendingConnectionFailure]: Incompatible game connection.
What is the game connection ?
QUESTIONS:
Can we make dedicated server completely different from the game ?
How the client search for associated server ?
Is there any ids that must be similar ?
I hope someone can help me since I’m stuck for weeks now !!!
Txs
D. Aigroz