View Issue Details

IDProjectCategoryLast Update
0023671AI War 2Bug - GameplaySep 10, 2020 8:05 pm
ReporterStarKelp Assigned ToChris_McElligottPark  
Severitymajor 
Status resolvedResolutionfixed 
Product Version2.500 Multiplayer Alpha Begins Now! 
Fixed in VersionBeta 2.501 First Raft Of Multiplayer Fixes 
Summary0023671: Multiplayer; Client Side: Fixed attempt to read more faction data than we had factions on the client.
DescriptionMessage starts getting spammed every second while in the lobby from the client side.
Seems to randomly occur; but can also be forcefully triggered by attempting to remove a faction.

Can also occur in game.

Nothing occurs host side.
TagsNo tags attached.

Relationships

related to 0023672 resolvedChris_McElligottPark Multiplayer; Client Side; Fleet Cloning Bug 

Activities

Chris_McElligottPark

Sep 9, 2020 6:16 pm

administrator   ~0058412

Happily, this is actually the same error as the duplicate fleets thing, so the solution to one will fix both.

My comments from there:

------------

Thanks for the explanation on this. In this particular case, it is an issue that ultimately needs to have this sort of logging done on a client and a host: https://wiki.arcengames.com/index.php?title=Category:AI_War_2:_All_About_Multiplayer#Log_All_Decoded_Network_Sync_Data_To_Disk

If I can't recreate it, then that sort of logging would need to be done on your end. I've written out the steps, and it should take only maybe 5 minutes on your end if you are able to recreate it from a save reliably. But it's then several hundred files I would need from the client and host for me to do a diff against.

The extra fleets are a consequence of whatever is going on here.

Then again, I have not fired up this yet today to test, and yesterday I was testing in a savegame and not the lobby, so it's possible that I can duplicate this easily myself once I start looking for it in the morning. So far I've been working mainly on writeups, today. Soooo much writing.

Chris_McElligottPark

Sep 9, 2020 7:02 pm

administrator   ~0058414

FYI, I can reproduce this on my machines just by opening the lobby. So no logging work needed from you guys. I can do that locally in the morning. It was working last night with a savegame, but I did not restest the lobby at the time. Once things are broken like this, then all sorts of bad things can happen for good after that, and the fleet duplication issue is probably also caused by this. We'll see what goes away after I fix this cluster of bugs.

Thanks for the report!

Chris_McElligottPark

Sep 10, 2020 9:46 am

administrator   ~0058417

Progress:

* The numerical order of the detailed networking sync logs is now better regardless of OS file sorting, as it gives leading zeroes where needed.

* While in the lobby, or while players are still connecting, the game no longer tries to run the general sync-correction code. This was an oversight in general, and was leading to various errors that would keep popping up until the host saved in-game and clients disconnected and reconnected.
** This was the chief cause of the ""Fixed attempt to read more faction data than we had factions" error on the client.
** Sync was already being handled as well as it needed to be in the lobby in particular: all it needs to do is make sure that your UIs are consistent, which it does. The actual underlying data about incomplete factions and such that can't be seen yet are really quite irrelevant at that point, and so it actually skips a lot of that data, which was incompatible with the full main-game-style sync. As soon as you start a game from the lobby, it already doing a much more robust generation and transmission of the data.
** After loading into the game from the lobby, however, it seems that that initial sync is not as complete as we had hoped, so that's another area for us to now investigate.

Chris_McElligottPark

Sep 10, 2020 8:05 pm

administrator   ~0058428

This is now solved in the new version, although there are new problems in general. But this one and a raft of similar issues were all smited: https://wiki.arcengames.com/index.php?title=AI_War_2:Multiplayer_Alpha_And_Beta#Multiplayer_Fixes_From_First_Alpha

Thanks!

Issue History

Date Modified Username Field Change
Sep 9, 2020 4:16 pm StarKelp New Issue
Sep 9, 2020 6:15 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Sep 9, 2020 6:15 pm Chris_McElligottPark Status new => assigned
Sep 9, 2020 6:16 pm Chris_McElligottPark Note Added: 0058412
Sep 9, 2020 6:16 pm Chris_McElligottPark Relationship added related to 0023672
Sep 9, 2020 7:02 pm Chris_McElligottPark Note Added: 0058414
Sep 10, 2020 9:46 am Chris_McElligottPark Note Added: 0058417
Sep 10, 2020 8:05 pm Chris_McElligottPark Status assigned => resolved
Sep 10, 2020 8:05 pm Chris_McElligottPark Resolution open => fixed
Sep 10, 2020 8:05 pm Chris_McElligottPark Fixed in Version => Beta 2.501 First Raft Of Multiplayer Fixes
Sep 10, 2020 8:05 pm Chris_McElligottPark Note Added: 0058428