Opened 9 years ago

Closed 9 years ago

#2974 closed defect (fixed)

WARNING: Trigger.js: Trigger "CheckConquestCriticalEntities" has been registered before. Aborting...

Reported by: fabio Owned by:
Priority: Should Have Milestone: Alpha 18
Component: Core engine Keywords:
Cc: leper, Alex Patch:

Description

This looks related to r16089. To reproduce:

  • select a single player game and Belgian Bog map;
  • quit the game;
  • restart the game;
  • select single player game;
  • Belgian Bog is the default, start it.

This warning appears:

WARNING: Trigger.js: Trigger "CheckConquestCriticalEntities" has been registered before. Aborting...

An added warning appear every time doing this process.

This is the content of matchsettings.json after some restart:

{"settings":{"PlayerData":[{"Name":"Player 1","AI":"","AIDiff":3,"Civ":"athen","Team":-1},{"Name":"Bardiya","AI":"petra","AIDiff":3,"Civ":"pers","Team":-1}],"Seed":61602,"AISeed":46616,"CheatsEnabled":true,"TriggerScripts":["scripts/Conquest.js","scripts/Conquest.js","scripts/Conquest.js","scripts/Conquest.js"],"CircularMap":true,"Description":"Two players face off across a large bog somewhere in the Rhine lowlands.\n\nWood is abundant, but Metal and Stone are hard to find and extract. Hunting and foraging is plentiful.","GameType":"conquest","Keywords":[],"LockTeams":false,"Name":"Belgian Bog (2)","Preview":"belgian_bog.png","RevealMap":false,"VictoryScripts":["scripts/Conquest.js"],"PopulationCap":100,"StartingResources":500,"Size":128,"mapType":"skirmish"},"mapFilter":"default","map":"maps/skirmishes/Belgian Bog (2)","mapType":"skirmish","mapPath":"maps/skirmishes/","matchID":"037E1487B6946186","gameSpeed":1}

Attachments (1)

triggerwarn.patch (470 bytes ) - added by Alex 9 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by Alex, 9 years ago

Yep, I'm getting this, too.

comment:2 by Alex, 9 years ago

Why is /binaries/data/mods/public/maps/scripts/Conquest.js included or launched at least three or four times?

My contribution probably made a bug visible then :P

by Alex, 9 years ago

Attachment: triggerwarn.patch added

comment:3 by mimo, 9 years ago

Resolution: fixed
Status: newclosed

Closing as it was fixed by @aBothe patch for r16095

Note: See TracTickets for help on using tickets.