View Issue Details

IDProjectCategoryLast Update
0023695AI War 2Crash/ExceptionSep 11, 2020 12:45 pm
Reportergigastar Assigned ToChris_McElligottPark  
Status resolvedResolutionduplicate 
Fixed in VersionBeta 2.502 Regression Fixes 
Summary0023695: findp command broken
Descriptionfindp is not working, this debug popup appears on attempt to use

9/11/2020 1:19:00 PM Hit exception in GameCommand ChatCommand. debugStage 500 System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at Arcen.AIW2.External.GameCommand_ChatCommand.Execute (Arcen.AIW2.Core.GameCommand command, Arcen.AIW2.Core.ArcenSimContext context) [0x00071] in <69a1ea6c11a54b5bb7d61f08caa25113>:0
9/11/2020 1:19:25 PM Hit exception in GameCommand ChatCommand. debugStage 500 System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at Arcen.AIW2.External.GameCommand_ChatCommand.Execute (Arcen.AIW2.Core.GameCommand command, Arcen.AIW2.Core.ArcenSimContext context) [0x00071] in <69a1ea6c11a54b5bb7d61f08caa25113>:0
TagsNo tags attached.

Relationships

duplicate of 0023677 resolvedChris_McElligottPark Unable to do cheat commands 

Activities

gigastar

Sep 11, 2020 9:27 am

reporter  

ArcenDebugLog.txt (1,745,619 bytes)

BadgerBadger

Sep 11, 2020 12:19 pm

manager   ~0058438

Last edited: Sep 11, 2020 12:23 pm

debugStage = 500;
                    byte playerAccountID = (byte)command.RelatedIntegers3[1];

I note we are adding the newly required player account ID in the SimPlanner code path, but not in SendChat() from the Window_ModalChatboxWindow.cs path. I don't really know this code very well so I won't check in the fix though.

Chris_McElligottPark

Sep 11, 2020 12:45 pm

administrator   ~0058445

Thanks!

* Fixed a bug from the last couple of builds where chat commands were failing in general.


And Badger, yep your proposed fix was correct, thanks for that!

Issue History

Date Modified Username Field Change
Sep 11, 2020 9:27 am gigastar New Issue
Sep 11, 2020 9:27 am gigastar File Added: ArcenDebugLog.txt
Sep 11, 2020 12:19 pm BadgerBadger Note Added: 0058438
Sep 11, 2020 12:23 pm BadgerBadger Note Edited: 0058438
Sep 11, 2020 12:24 pm BadgerBadger Assigned To => Chris_McElligottPark
Sep 11, 2020 12:24 pm BadgerBadger Status new => assigned
Sep 11, 2020 12:45 pm Chris_McElligottPark Relationship added duplicate of 0023677
Sep 11, 2020 12:45 pm Chris_McElligottPark Status assigned => resolved
Sep 11, 2020 12:45 pm Chris_McElligottPark Resolution open => duplicate
Sep 11, 2020 12:45 pm Chris_McElligottPark Fixed in Version => Beta 2.502 Regression Fixes
Sep 11, 2020 12:45 pm Chris_McElligottPark Note Added: 0058445