Changes between Version 1 and Version 3 of Ticket #2372


Ignore:
Timestamp:
Jan 12, 2014, 10:51:34 PM (10 years ago)
Author:
Yves
Comment:

These warnings didn't appear anymore in another game after r14578:

WARNING: JavaScript warning: simulation/ai/aegis/aegis.js line 48 reference to undefined property sharedScript.events
WARNING: JavaScript warning: simulation/ai/aegis/base-manager.js line 904 reference to undefined property this.targetNumBuilders
WARNING: JavaScript warning: simulation/ai/aegis/base-manager.js line 587 reference to undefined property gameState.playedTurn
WARNING: JavaScript warning: simulation/ai/aegis/headquarters.js line 450 reference to undefined property this.wantedRates
WARNING: JavaScript warning: simulation/ai/common-api/terrain-analysis-pathfinder.js line 208 reference to undefined property this.index

I've tested a longer game and there still some warnings in the AI. I've updated the list in the ticket description (removed solved warnings and added new ones).

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2372 – Description

    v1 v3  
    33{{{
    44WARNING: JavaScript warning: simulation/helpers/Commands.js line 223 reference to undefined property cmd.metadata
     5WARNING: JavaScript warning: simulation/helpers/InitGame.js line 31 reference to undefined property settings.mapType
    56WARNING: JavaScript warning: simulation/components/UnitAI.js line 5603 mistyped ; after conditional?
    6 WARNING: JavaScript warning: simulation/components/UnitAI.js line 5603 mistyped ; after conditional?
     7WARNING: JavaScript warning: simulation/components/UnitAI.js line 5268 reference to undefined property this.heldPosition
    78WARNING: JavaScript warning: simulation/components/TechnologyManager.js line 123 reference to undefined property template.requirements
    89WARNING: JavaScript warning: simulation/components/ProductionQueue.js line 540 reference to undefined property data.target
     
    1011WARNING: JavaScript warning: simulation/components/Player.js line 479 reference to undefined property this.diplomacy[id]
    1112WARNING: JavaScript warning: simulation/components/Player.js line 386 reference to undefined property this.diplomacy[idx]
     13WARNING: JavaScript warning: simulation/components/GuiInterface.js line 931 reference to undefined property this.entsRallyPointsDisplayed
    1214WARNING: JavaScript warning: simulation/components/GuiInterface.js line 928 reference to undefined property this.entsRallyPointsDisplayed
    1315WARNING: JavaScript warning: simulation/components/GuiInterface.js line 664 reference to undefined property template.icon
    1416WARNING: JavaScript warning: simulation/components/BattleDetection.js line 52 reference to undefined property this.state
    15 WARNING: JavaScript warning: simulation/ai/common-api/terrain-analysis-pathfinder.js line 208 reference to undefined property this.index
     17WARNING: JavaScript warning: simulation/components/BattleDetection.js line 52 reference to undefined property this.state
     18WARNING: JavaScript warning: simulation/components/Attack.js line 490 reference to undefined property missileDirection.y
    1619WARNING: JavaScript warning: simulation/ai/common-api/map-module.js line 78 reference to undefined property this.map[(x + (y * this.width))]
    17 WARNING: JavaScript warning: simulation/ai/aegis/headquarters.js line 450 reference to undefined property this.wantedRates
    18 WARNING: JavaScript warning: simulation/ai/aegis/base-manager.js line 904 reference to undefined property this.targetNumBuilders
    19 WARNING: JavaScript warning: simulation/ai/aegis/base-manager.js line 587 reference to undefined property gameState.playedTurn
    20 WARNING: JavaScript warning: simulation/ai/aegis/aegis.js line 48 reference to undefined property sharedScript.events
     20WARNING: JavaScript warning: simulation/ai/common-api/map-module.js line 40 reference to undefined property this.map[(q[0] + (this.width * q[1]))]
     21WARNING: JavaScript warning: simulation/ai/aegis/worker.js line 148 reference to undefined property this.ent.unitAIState(...).split(...)[2]
     22WARNING: JavaScript warning: simulation/ai/aegis/defence.js line 146 reference to undefined property this.armyMergeSize
     23WARNING: JavaScript warning: simulation/ai/aegis/base-manager.js line 118 reference to undefined property HQ.basesMap.map[((x + xi) + ((y + yi) * width))]
    2124WARNING: JavaScript warning: gui/session/selection_details.js line 214 reference to undefined property entState.attack
     25WARNING: JavaScript warning: gui/session/messages.js line 38 reference to undefined property notification.type
     26WARNING: JavaScript warning: gui/session/messages.js line 336 reference to undefined property msg.guid
    2227WARNING: JavaScript warning: gui/session/input.js line 494 reference to undefined property entState.rallyPoint
    2328WARNING: JavaScript warning: gui/session/input.js line 487 reference to undefined property entState.unitAI
     
    2631WARNING: JavaScript warning: gui/lobby/lobby.js line 580 reference to undefined property msg.from
    2732WARNING: JavaScript warning: gui/lobby/lobby.js line 370 reference to undefined property message.from
    28 WARNING: JavaScript warning: gui/lobby/lobby.js line 370 reference to undefined property message.from
    2933WARNING: JavaScript warning: gui/gamesetup/gamesetup.js line 951 reference to undefined property mapSettings.PopulationCap
    3034WARNING: JavaScript warning: gui/gamesetup/gamesetup.js line 945 reference to undefined property mapSettings.Size
    3135WARNING: JavaScript warning: gui/gamesetup/gamesetup.js line 475 reference to undefined property civ.SelectableInGameSetup
    32 WARNING: JavaScript warning: gui/gamesetup/gamesetup.js line 475 reference to undefined property civ.SelectableInGameSetup
    3336WARNING: JavaScript warning: gui/gamesetup/gamesetup.js line 1422 reference to undefined property msg.text
    3437}}}