Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

[LLAPI] How to use 'ConnectWithSimulator'

$
0
0
I am trying to add latency simulation to it but I do not see any documentation as to how to set this up. I am trying to use ConnectWithSimulator.

I do the following:

Code (csharp):
  1.  
  2. socketId = NetworkTransport.AddHostWithSimulator(NetworkHostTopology, minTimeout, maxTimeout,
  3.   endPoint.Port);
  4. connectionId = NetworkTransport.ConnectWithSimulator(socketId, networkAddress, networkPort, 0, out error, simulatorConfig);
  5.  
- but the error 'This host isn't configured to use simulator' pops up when...

[LLAPI] How to use 'ConnectWithSimulator'

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>