View Issue Details

IDProjectCategoryLast Update
0021401AI War 2Bug - GameplayJul 16, 2019 1:30 pm
ReporterAnnoyingOrange Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version0.875 Counterattacks You Can Taste 
Fixed in Version0.876 Counterattacks Ate My Waves 
Summary0021401: Transport movement is glitchy when in attack move mode
DescriptionWhen a transport in attack move mode is given a move order while there are enemy ships on the same planet, it will only move a bit and then stop in place.
TagsNo tags attached.

Activities

RocketAssistedPuffin

Jul 15, 2019 12:02 pm

reporter   ~0052234

Probably because of the somewhat hacky fact it has a sniper weapon. It still acts as if it works. So when it Attack Moves, it's already in range of everything so sits there.

AnnoyingOrange

Jul 15, 2019 1:08 pm

reporter   ~0052235

On top of that, when a transport in pursuit mode is crippled and then repaired, it will pursue enemies and get as close to them as possible.
That can be worked around by turning pursuit mode off and then back on, at least.

Chris_McElligottPark

Jul 16, 2019 10:46 am

administrator   ~0052249

Is the only reason that we're giving it a weapon so that we can drag-select it as military? If that's the case, then I can just make a flag for weapon-less units becoming able to be selected as if they were military...

RocketAssistedPuffin

Jul 16, 2019 10:54 am

reporter   ~0052252

I think it might've originally been because you mentioned to give it a weak weapon when they were originally being implemented? Only just remembered that.

Such a Flag could be useful, but the Transport will still have the weapon, as removing it will deserialize saves.

Chris_McElligottPark

Jul 16, 2019 11:57 am

administrator   ~0052265

Thanks!

* Added a new "is_combatant_despite_no_weapons" xml tag, which, when set to true, causes the ship to be selectable with other military units even if it has no weapons on it.
** This in turn lets us remove the weapons from transport flagships, which should cause them to start working properly when in pursuit mode.
** This is untested for the moment, so let us know if it doesn't work!
** We also have applied this to combat factories for the time being, since selecting them and having them come seems useful; but it could be taken back off those if that doesn't feel desirable.


(As for the other saves, I'll work on fixing that so that's more robust.)

Chris_McElligottPark

Jul 16, 2019 12:09 pm

administrator   ~0052266

Thanks!

* Fixed things up so that if you remove a weapon from an existing ship type, and it was the only system on that ship, then the older savegames will still load just fine.

RocketAssistedPuffin

Jul 16, 2019 1:30 pm

reporter   ~0052270

Tried to load a save and got this. Appears to be because the Cloaked starting Fleet was picked (Transport had two systems).
WorldDeserializationErrors.txt (2,640 bytes)   
7/16/2019 6:28:59 PM (0.875) Mem: 395,816,960 Mode: Off Plat:WindowsPlayer
-----------------------------------Exception-----------------------------------
Could not find EntitySystem with name (InternalName) of 'TransportFlagship_Cloaked_FusionBomb'.  Note that if you renamed a GameEntity, you'll also need to make a LookupSwaps configuration entry for this system.

  at Arcen.AIW2.Core.EntitySystem.DeserializeInto (Arcen.AIW2.Core.EntitySystem resultOrNull, Arcen.AIW2.Core.GameEntity_Squad ParentEntity, Arcen.Universal.ArcenDeserializationBuffer Buffer) [0x00041] in <23c37bc806814e5ea94c490f039d0d93>:0 
  at Arcen.AIW2.Core.GameEntity_Squad.FinishDeserializeFrom (System.Int32 primaryKeyID, System.String name, Arcen.AIW2.Core.GameEntityTypeData typeData, Arcen.AIW2.Core.Planet Planet, Arcen.AIW2.Core.PlanetFaction Faction, Arcen.Universal.ArcenDeserializationBuffer Buffer) [0x00417] in <23c37bc806814e5ea94c490f039d0d93>:0 
  at Arcen.AIW2.Core.GameEntity_Base.StartDeserializeFrom (Arcen.AIW2.Core.Planet Planet, Arcen.AIW2.Core.PlanetFaction Faction, Arcen.Universal.ArcenDeserializationBuffer Buffer, System.String PlaceDeserializingFromForDebugging) [0x00073] in <23c37bc806814e5ea94c490f039d0d93>:0 
  at Arcen.AIW2.Core.PlanetFaction.DeserializeFrom (Arcen.AIW2.Core.Faction Faction, Arcen.AIW2.Core.Planet Planet, Arcen.Universal.ArcenDeserializationBuffer Buffer) [0x0004e] in <23c37bc806814e5ea94c490f039d0d93>:0 
  at Arcen.AIW2.Core.Planet.DeserializeFrom (Arcen.AIW2.Core.Galaxy ForGalaxy, Arcen.Universal.ArcenDeserializationBuffer Buffer) [0x0007f] in <23c37bc806814e5ea94c490f039d0d93>:0 
  at Arcen.AIW2.Core.Galaxy.DeserializeFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer) [0x00012] in <23c37bc806814e5ea94c490f039d0d93>:0 
  at Arcen.AIW2.Core.World_AIW2.DeserializeFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate) [0x004ff] in <23c37bc806814e5ea94c490f039d0d93>:0 
  at Arcen.Universal.World.DeserializeFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate) [0x0024f] in <5f970fb05bdb414e96f41156d18db00b>:0 
  at Arcen.Universal.World.LoadWorldFromDiskInner (System.String SaveName, System.Byte[] Bytes, System.Boolean LoadAsTemplate) [0x00042] in <5f970fb05bdb414e96f41156d18db00b>:0 
  at Arcen.Universal.World.LoadWorldFromDisk (System.String SaveName, System.String CampaignName, System.Boolean LoadAsTemplate) [0x000ac] in <5f970fb05bdb414e96f41156d18db00b>:0 

inputBuffer:
this is a binary buffer, spitting it out wouldn't help much
~*~
this is a buzzsaw binary buffer, spitting it out wouldn't help much

WorldDeserializationErrors.txt (2,640 bytes)   

Issue History

Date Modified Username Field Change
Jul 15, 2019 11:58 am AnnoyingOrange New Issue
Jul 15, 2019 12:02 pm RocketAssistedPuffin Note Added: 0052234
Jul 15, 2019 1:08 pm AnnoyingOrange Note Added: 0052235
Jul 16, 2019 10:46 am Chris_McElligottPark Note Added: 0052249
Jul 16, 2019 10:54 am RocketAssistedPuffin Note Added: 0052252
Jul 16, 2019 11:57 am Chris_McElligottPark Assigned To => Chris_McElligottPark
Jul 16, 2019 11:57 am Chris_McElligottPark Status new => resolved
Jul 16, 2019 11:57 am Chris_McElligottPark Resolution open => fixed
Jul 16, 2019 11:57 am Chris_McElligottPark Fixed in Version => 0.876 Counterattacks Ate My Waves
Jul 16, 2019 11:57 am Chris_McElligottPark Note Added: 0052265
Jul 16, 2019 12:09 pm Chris_McElligottPark Note Added: 0052266
Jul 16, 2019 1:30 pm RocketAssistedPuffin File Added: WorldDeserializationErrors.txt
Jul 16, 2019 1:30 pm RocketAssistedPuffin Note Added: 0052270