View Issue Details

IDProjectCategoryLast Update
0023858AI War 2Bug - GameplayDec 14, 2020 4:48 pm
ReporterTzarro Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version2.606 Lurking And Influencing 
Summary0023858: Multiplayer Re-roll Technology Vault Hack Inconsistency
DescriptionIn a multiplayer game, when the client player performed a re-roll hack on a technology vault, the re-rolled technology option ended up being different for the host and the client: it started as Technologist for both players, and after re-roll it showed as Ambush for the host and Fusion for the client.
TagsNo tags attached.

Activities

BadgerBadger

Oct 2, 2020 12:12 pm

manager   ~0058899

The reroll for a TechVault is done like this

            do
            {
                upgrade = TechUpgradeTable.Instance.GetRandomRow( Context ); //make sure we don't roll the same one again
            } while ( upgrade == oldUpgrade );
....
                                                                                                                                                                                     
        public TechUpgrade GetRandomRow( ArcenSimContext Context )
        {
            return TechVaultEligibleUpgrades[Context.RandomToUse.Next( 0, TechVaultEligibleUpgrades.Count)];
        }

The fact that this isn't multiplayer safe is concerning

Tzarro

Oct 6, 2020 4:11 am

developer   ~0059012

Confirming that this is still happening consistently in multiplayer as of 2.606. I cannot confirm that the actual resulting technologies from the hack differ between players, but the technology that is displayed in the vault tool-tip is indeed different after a re-roll hack.

Chris_McElligottPark

Dec 14, 2020 4:48 pm

administrator   ~0059983

This should be fixed as of a while ago. Immediately after any hack completes, it now syncs the target of the hack to all clients from the host to prevent this sort of thing. Failing that, when you mouseover the unit on a client it will also then sync.

Issue History

Date Modified Username Field Change
Oct 2, 2020 3:14 am Tzarro New Issue
Oct 2, 2020 12:12 pm BadgerBadger Note Added: 0058899
Oct 6, 2020 4:11 am Tzarro Product Version 2.604 A Thousand Screaming Idiots => 2.606 Lurking And Influencing
Oct 6, 2020 4:11 am Tzarro Note Added: 0059012
Dec 14, 2020 4:48 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Dec 14, 2020 4:48 pm Chris_McElligottPark Status new => resolved
Dec 14, 2020 4:48 pm Chris_McElligottPark Resolution open => fixed
Dec 14, 2020 4:48 pm Chris_McElligottPark Note Added: 0059983