PDA

View Full Version : Multiplayer AI lose timings if host leaves bug



deedub777
11-04-2016, 11:02
I did a search on the forum but did not find it...

Here's what happens:

Host sets up lobby: online multiplayer private, 10 laps at Bathurst (actually any track does this). Fill grid with AI at 75%. 45 min Practice, 15 min Quali and Race set up.
Players invited and join.
Practice session started, host has "cannot hear engine of car" bug so leaves session to restart PCars.
New migrated host re-invites old host who joins and sound OK.

However, when race completes, AI do not have any timings or valid positions (player 7 deedub777 actually came in last due to running out of fuel, duh!).

Is this a known/reported bug? We get it quite a lot. See pic
231282
2nd race we ran, we started a new session and times for AI were recorded OK. See 2nd pic
231283

Bealdor
11-04-2016, 11:06
IIRC the AI doesn't get migrated to the new host. That's a limitation of the host migration feature.
In an earlier bug report it was reported that, if the host gets disconnected during the race for example, the AI cars would just stop on the track.

Sankyo
11-04-2016, 11:16
It's a known issue.

If you think about it, it's also quite logical that it happens. The host's PC is running the AI calculcations. If he quits, the whole AI calculations and communications system falls down. The solution would be to somehow migrate all AI info to the new host, and get it all running on his/her system from that moment on. That is a huge challenge to get right, and definitely cannot be fixed in pC1.

deedub777
11-04-2016, 15:05
IIRC the AI doesn't get migrated to the new host. That's a limitation of the host migration feature.
In an earlier bug report it was reported that, if the host gets disconnected during the race for example, the AI cars would just stop on the track.
Thanks. This is not showing up in the known issues thread for PS4 or PC. It does show a different issue for XB1.


It's a known issue.
Thanks.


If you think about it, it's also quite logical that it happens. The host's PC is running the AI calculcations.
I disagree it's logical, it's poorly written software code really. This is on PS4 FYI.


If [the host] quits, the whole AI calculations and communications system falls down.
The major task when writing software code is what to do when things do not go to plan so this has been missed. There should be a control loop in the code that handles these exceptions, after all, leaving a session and re-joining should not destroy the entire lobby - we may as well disable host migration.


The solution would be to somehow migrate all AI info to the new host, and get it all running on his/her system from that moment on. That is a huge challenge to get right, and definitely cannot be fixed in pC1.
Fair enough, but that was SMS's decision to implement it that way.

Now I know this to be a hard fact, we will prevent host migration and restart every session if the host leaves (controlled or otherwise).