Opened 8 years ago

Closed 4 years ago

Last modified 4 years ago

#3690 closed defect (needsinfo)

Unit AI warning in GuardedAttacked

Reported by: Stan Owned by:
Priority: Must Have Milestone:
Component: Simulation Keywords:
Cc: Patch:

Description (last modified by Freagarach)

0dNoob reported some warnings on IRC today.

WARNING: JavaScript warning: simulation/components/UnitAI.js line 1392 Script value conversion check failed: v.isNumber() (got type undefined)

I attached the logs he provided. The warnings occurs at 16:45 so approximatively turn 5025 since it is a SP game.

I attached the logs.

Attachments (1)

20151205-1726.tar [8235657].gz (164.2 KB ) - added by Stan 8 years ago.
Commands, Mainlog, Interestinglog + System Info

Download all attachments as: .zip

Change History (5)

by Stan, 8 years ago

Commands, Mainlog, Interestinglog + System Info

comment:1 by elexis, 8 years ago

As we can see from the commands.txt file it is an a19 replay.

By replaying that file on a19 I could reproduce the warning. But it happens on turn 52768 ff and not 5025, i.e. after 2h 55m. The replay doesn't produce the bug on a20, so you have to check with a19.

comment:2 by elexis, 8 years ago

Summary: Unit AI warnings with siege enginesUnit AI warning in GuardedAttacked

comment:3 by Imarok, 5 years ago

Component: UI & SimulationSimulation

Move tickets to Simulation as UI & Simulation got some sub components.

comment:4 by Freagarach, 4 years ago

Description: modified (diff)
Milestone: Backlog
Resolution: needsinfo
Status: newclosed

I couldn't find an issue by just looking in the UnitAI code, nor do I fancy reverting to A19 and replaying for nigh three hours (would probably be quicker than the reverting part...). I could neither find a commit/diff that seemed responsible for fixing such an issue.

If it happens again I'm happy to bughunt, but for now closing.

Last edited 4 years ago by Freagarach (previous) (diff)
Note: See TracTickets for help on using tickets.