Opened 11 years ago

Closed 11 years ago

#1884 closed defect (fixed)

[PATCH] Aegis AI: Errormessage on large maps

Reported by: Yves Owned by: Yves
Priority: Nice to Have Milestone: Alpha 13
Component: UI & Simulation Keywords: patch
Cc: Patch:

Description (last modified by Yves)

This error gets displayed when the Aegis tries starting its first attack (about 18 min) if the CC it aims for is too far away.

ERROR: JavaScript error: simulation/ai/qbot-wc/attack_plan.js line 360
TypeError: this.target is undefined
  ([object Object],[object Object],[object Array])@simulation/ai/qbot-wc/attack_plan.js:360
  ([object Object],[object Object],[object Array])@simulation/ai/qbot-wc/military.js:361
  ([object Object])@simulation/ai/qbot-wc/qbot.js:228
  ([object Object],[object Object])@simulation/ai/common-api-v3/base.js:128
  @:0

I've tested the patch on a small map and a large map just to be sure because it's close to release. Aegis did attack me and no errors were displayed.

Attachments (1)

attack_plan_error.diff (811 bytes ) - added by Yves 11 years ago.

Download all attachments as: .zip

Change History (6)

by Yves, 11 years ago

Attachment: attack_plan_error.diff added

comment:1 by Yves, 11 years ago

Description: modified (diff)
Milestone: BacklogAlpha 13

comment:2 by Yves, 11 years ago

Description: modified (diff)

comment:3 by Yves, 11 years ago

Description: modified (diff)

comment:4 by Yves, 11 years ago

Description: modified (diff)

comment:5 by wraitii, 11 years ago

Resolution: fixed
Status: newclosed

In 13328:

Fixes #1884 . Should Fix #1883 .

Note: See TracTickets for help on using tickets.