View Issue Details

IDProjectCategoryLast Update
0023684AI War 2Bug - GameplaySep 22, 2020 5:45 pm
ReporterChris_McElligottPark Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product VersionBeta 2.501 First Raft Of Multiplayer Fixes 
Fixed in Version2.509 Melee, Stacks, And Fireteams 
Summary0023684: Multiplayer: find a way to export likely runaway lists on clients.
DescriptionThanks to the sync logic, it's entirely possible for a list to not be cleared properly, but just have a new set of data added to it, and thus grow infinitely and slow the game to a halt and eventually crash it. I need to build in some mechanisms for us to detect this sort of thing, probably using a debug menu button that people can press to export any lists that are suspiciously large. I will likely use a modified version of ObjectDumper, which we use elsewhere for other reasons.

This is going to be time consuming and feels like a waste to do so early, but these sorts of leaks absolutely tank performance and it's a matter of happening to discover them without this.
TagsNo tags attached.

Activities

Chris_McElligottPark

Sep 22, 2020 5:45 pm

administrator   ~0058624

Good grief, this took several days but is now done!

And I can rest a whoooole lot easier with this code in place.

* New explanations on how to use the log dumps for multiplayer debugging purposes are in here:
** This one is less likely to be useful: https://wiki.arcengames.com/index.php?title=Category:AI_War_2:_All_About_Multiplayer#cmd:dump_data_tables
** Whereas this one is very likely to come up as something to check: https://wiki.arcengames.com/index.php?title=Category:AI_War_2:_All_About_Multiplayer#cmd:dump_external_data

Plus this is just plain useful for mod authors and for us devs checking our work even outside of MP.

Issue History

Date Modified Username Field Change
Sep 10, 2020 8:18 pm Chris_McElligottPark New Issue
Sep 10, 2020 8:18 pm Chris_McElligottPark Status new => assigned
Sep 10, 2020 8:18 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Sep 22, 2020 5:45 pm Chris_McElligottPark Status assigned => resolved
Sep 22, 2020 5:45 pm Chris_McElligottPark Resolution open => fixed
Sep 22, 2020 5:45 pm Chris_McElligottPark Fixed in Version => 2.509 Melee, Stacks, And Fireteams
Sep 22, 2020 5:45 pm Chris_McElligottPark Note Added: 0058624