View Issue Details

IDProjectCategoryLast Update
0021470AI War 2Bug - GameplayAug 7, 2019 9:06 pm
Reporterzharmad Assigned ToBadgerBadger  
Status resolvedResolutionfixed 
Product Version0.878 Fleet Customization 
Fixed in Version0.880 Belatedly Finding Friends... And Enemies 
Summary0021470: neutral planet hacking for knowledge extraction does not cost AIP even when caused by 3rd party.
DescriptionThere are a couple of bugs that take place when a player hacks to extract knowledge from a neutral planet they are not "responsible" for. i.e. if the marauders or nanocaust have taken out the command station:
(1) The hack says it will cost 5 AIP if the player did not destroy the command station. This is not applied.
(2) After the hack, the knowledge is correctly set to 0. However, the AIP cost to take the planet is also set to 0 and the player will gain no scouting intel when they do take the planet.

This sets up the exploit I mentioned in the forums where instead of paying 20AIP, the player instead gets somebody else to do the dirty job and then pays 10 hacking points + 5 AIP instead. At this point, they don't even pay the nominal 5 AIP.

Save B attached in the comment of issue 21463 should suffice to demonstrate this, although the AIP is at floor value and should only raise by 1 rather than 5. One can eliminate the marauder outpost at Tierce to check. One can also defeat a Nanocaust planet.
https://bugtracker.arcengames.com/view.php?id=21463
TagsNo tags attached.

Activities

BadgerBadger

Aug 7, 2019 8:25 pm

manager   ~0052470

When I test this hack I immediately see a bunch of errors like
8/7/2019 6:24:00 PM DoEntitySecondLogic for TransportFlagship_Starter debug code 80 exception System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.BaseHackingImplementation.DoSuccessfulCompletionLogic (Arcen.AIW2.Core.GameEntity_Squad Target, Arcen.AIW2.Core.Planet planet, Arcen.AIW2.Core.GameEntity_Squad Hacker, Arcen.AIW2.Core.ArcenSimContext Context, Arcen.AIW2.Core.HackingType type) [0x001a7] in <d84bbfccf2b64282aac64a0f09e3a3a4>:0
  at Arcen.AIW2.External.Hacking_ScienceExtractionFromNeutralPlanet.DoSuccessfulCompletionLogic (Arcen.AIW2.Core.GameEntity_Squad Target, Arcen.AIW2.Core.Planet planet, Arcen.AIW2.Core.GameEntity_Squad Hacker, Arcen.AIW2.Core.ArcenSimContext Context, Arcen.AIW2.Core.HackingType type) [0x00001] in <d84bbfccf2b64282aac64a0f09e3a3a4>:0
  at Arcen.AIW2.External.BaseHackingImplementation.DoOneSecondOfHackingLogic (Arcen.AIW2.Core.GameEntity_Squad Target, Arcen.AIW2.Core.Planet planet, Arcen.AIW2.Core.GameEntity_Squad Hacker, Arcen.AIW2.Core.ArcenSimContext Context, Arcen.AIW2.Core.HackingType type) [0x00157] in <d84bbfccf2b64282aac64a0f09e3a3a4>:0

BadgerBadger

Aug 7, 2019 9:06 pm

manager   ~0052471

This was caused by a null reference exception when you tried to do that hack. It should have also cluttered your debug log and given you weird artifacts with the hacking notification.

Issue History

Date Modified Username Field Change
Aug 7, 2019 9:51 am zharmad New Issue
Aug 7, 2019 8:25 pm BadgerBadger Note Added: 0052470
Aug 7, 2019 9:06 pm BadgerBadger Assigned To => BadgerBadger
Aug 7, 2019 9:06 pm BadgerBadger Status new => resolved
Aug 7, 2019 9:06 pm BadgerBadger Resolution open => fixed
Aug 7, 2019 9:06 pm BadgerBadger Fixed in Version => 0.880 Belatedly Finding Friends... And Enemies
Aug 7, 2019 9:06 pm BadgerBadger Note Added: 0052471