Network Failure: PendingNetDriver[PendingConnectionFailure]: Incompatible game connection.
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
asked Feb 19 '15 at 09:19 AM in C++ Programming
You are not going to be able to connect a client of one project to a server of another without some serious C++ hackery. There are many offsets in various binaries that have to be aligned correctly for UE4's networking system to work and there was a strong effort put in to make sure that two differing binary sets will fail to connect based on various GUIDs and other checks.
If you want to make a dedicated server for registration or authentication, either merge it into your project or handle your registration and authentication in a non-ue4 server instance way, such as a node.js or PHP server.
answered Feb 19 '15 at 09:24 AM
answered Mar 05 '15 at 12:34 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here