Network: How to catch manual connect to IP failure?
Hi, I have a question about Unreal networking (with Blueprints) For example:
1. Player create online game with "Create Session" node + "Open Level (listen option) node.
2. Another player manually entering IP adress on input field and clicking enter button. After this is used "Execute Console Command" node with command option: "open 127.0.0.1" (the chosen IP address from input field).
3. The second player joined the online game and everything is fine.
4. BUT if server not exist and the player can't connect there, how I can catch this event? I try with GameInstance: Event NetworkError and Event TravelError but they don't fire... also if I using "Create Session" + "Join Session" and server player disconnect, then client player catch GameInstance: Event NetworkError.
I would like players to have "manually connect to IP address" feature with the opportunity to catch connection fails. Is this possible?
So, Event NetworkError and Event TravelError working only with session nodes? (Create/Find/Join), but what about manual connect with console command "open IP"?
asked Mar 02 '18 at 01:58 PM in Blueprint Scripting
Ok, this event fire: NetworkError (timeout type) but after 60 seconds. How to change this value, check here: https://answers.unrealengine.com/questions/532815/where-to-set-connectiontimeout-value.html
answered Mar 16 '18 at 08:56 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here