Hi Guys
Just wondering if anyone can help?
I've got trackcycle setup with stracker, but I'm getting issues when the track changes.
Checked my server_cfg.ini and there's only one set of UDP local port and plugin address details (11000 and 127.0.0.1:12000)
The AC_TrackCycle.exe.config has the following lines:
<!--<add key="internal_plugins" value="OtherPluginNamespace.OtherPluginType, OtherPluginDLL"/>-->
<add key="external_plugins" value="sTracker, 11001, 127.0.0.1:12001"/>
In the stracker.ini I have the following lines:
; udp port the plugins receives from. -1 means to use the AC servers setting UDP_PLUGIN_ADDRESS
rcvPort = 12001
; udp port the plugins sends to. -1 means to use the AC servers setting UDP_PLUGIN_LOCAL_PORT
sendPort = 11001
However when the server is running it seems ok during the sessions however when it goes to change track it just displays the following error constantly and the server becomes unavailable:
08:47:42.693977 UDP_PLUGIN: Realtime pos interval now set to: 1000 ms
08:48:18.438339 PAGE: /JSON|76561197969413768
08:48:18.450355 Serve JSON took 13 ms
08:48:38.632954 No cars connected, move to next session
08:48:38.632954 Session has 0 laps, will not save json
08:48:38.974153 [System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host]
at System.Net.Sockets.Socket.ReceiveFrom(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint& remoteEP)
at System.Net.Sockets.UdpClient.Receive(IPEndPoint& remoteEP)
at acPlugins4net.helpers.DuplexUDPClient.ReceiveMessages()
08:48:39.989745 [System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host]
at System.Net.Sockets.Socket.ReceiveFrom(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint& remoteEP)
at System.Net.Sockets.UdpClient.Receive(IPEndPoint& remoteEP)
at acPlugins4net.helpers.DuplexUDPClient.ReceiveMessages()
Within the next 30-45 seconds that error is repeated every second and the server becomes unavailable within Assetto Corsa.
When I start the server up, I start it within AC_TrackCycle and then start sTracker.
Thanks for any help!