aliens

Author Topic: [DONE] Persistent geoscape debug log  (Read 1825 times)

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9124
    • View Profile
[DONE] Persistent geoscape debug log
« on: April 22, 2023, 10:58:25 pm »
Example:

Code: [Select]
geoscapeDebugLog:
  - "month: 0 script: gameStart id: 1 type: STR_ALIEN_RESEARCH race: STR_SECTOID region: STR_NORTH_AFRICA targetZone: -1 targetArea: -1"
  - "month: 0 script: recurringTerror id: 2 type: STR_ALIEN_TERROR race: STR_FLOATER region: STR_NORTH_AFRICA targetZone: 3 targetArea: 1"
  - "gameTime: 1999-01-01 14:00:00 ufoId: 1 ufoType: STR_SMALL_SCOUT race: STR_SECTOID region: STR_NORTH_AFRICA trajectory: P0 missionId: 1 missionType: STR_ALIEN_RESEARCH"
  - "gameTime: 1999-01-01 14:30:00 ufoId: 2 ufoType: STR_MEDIUM_SCOUT race: STR_FLOATER region: STR_NORTH_AFRICA trajectory: P1 missionId: 2 missionType: STR_ALIEN_TERROR"
  - "gameTime: 1999-01-05 18:00:00 ufoId: 3 ufoType: STR_MEDIUM_SCOUT race: STR_SECTOID region: STR_NORTH_AFRICA trajectory: P2 missionId: 1 missionType: STR_ALIEN_RESEARCH"
  - "gameTime: 1999-01-11 07:00:00 ufoId: 4 ufoType: STR_LARGE_SCOUT race: STR_FLOATER region: STR_NORTH_AFRICA trajectory: P1 missionId: 2 missionType: STR_ALIEN_TERROR"
  - "gameTime: 1999-01-15 02:00:00 ufoId: 5 ufoType: STR_LARGE_SCOUT race: STR_SECTOID region: STR_NORTH_AFRICA trajectory: P4 missionId: 1 missionType: STR_ALIEN_RESEARCH"
  - "gameTime: 1999-01-19 09:00:00 ufoId: 6 ufoType: STR_TERROR_SHIP race: STR_FLOATER region: STR_NORTH_AFRICA trajectory: P0 missionId: 2 missionType: STR_ALIEN_TERROR"
  - "gameTime: 1999-01-23 07:00:00 ufoId: 7 ufoType: STR_TERROR_SHIP race: STR_FLOATER region: STR_NORTH_AFRICA trajectory: P7 missionId: 2 missionType: STR_ALIEN_TERROR"
  - "gameTime: 1999-01-23 10:35:55 siteId: 1 siteType: STR_TERROR_SITE race: STR_FLOATER region: STR_NORTH_AFRICA city: STR_CAIRO deployment: STR_TERROR_MISSION missionId: 2 missionType: STR_ALIEN_TERROR"
  - "gameTime: 1999-01-24 06:00:00 ufoId: 8 ufoType: STR_LARGE_SCOUT race: STR_SECTOID region: STR_NORTH_AFRICA trajectory: P4 missionId: 1 missionType: STR_ALIEN_RESEARCH"
  - "month: 1 script: recurringTerror id: 3 type: STR_ALIEN_TERROR race: STR_SECTOID region: STR_SOUTH_AMERICA targetZone: 3 targetArea: 2"
  - "month: 1 script: recon id: 4 type: STR_ALIEN_ABDUCTION race: STR_FLOATER region: STR_EUROPE targetZone: -1 targetArea: -1"
  - "gameTime: 1999-02-01 02:00:00 ufoId: 9 ufoType: STR_MEDIUM_SCOUT race: STR_SECTOID region: STR_SOUTH_AMERICA trajectory: P1 missionId: 3 missionType: STR_ALIEN_TERROR"
  - "gameTime: 1999-02-06 01:30:00 ufoId: 10 ufoType: STR_LARGE_SCOUT race: STR_SECTOID region: STR_SOUTH_AMERICA trajectory: P1 missionId: 3 missionType: STR_ALIEN_TERROR"
  - "gameTime: 1999-02-10 01:30:00 ufoId: 11 ufoType: STR_SMALL_SCOUT race: STR_FLOATER region: STR_EUROPE trajectory: P0 missionId: 4 missionType: STR_ALIEN_ABDUCTION"
  - "gameTime: 1999-02-12 00:30:00 ufoId: 12 ufoType: STR_TERROR_SHIP race: STR_SECTOID region: STR_SOUTH_AMERICA trajectory: P0 missionId: 3 missionType: STR_ALIEN_TERROR"
  - "gameTime: 1999-02-20 07:00:00 ufoId: 13 ufoType: STR_TERROR_SHIP race: STR_SECTOID region: STR_SOUTH_AMERICA trajectory: P7 missionId: 3 missionType: STR_ALIEN_TERROR"
  - "gameTime: 1999-02-20 10:57:25 siteId: 2 siteType: STR_TERROR_SITE race: STR_SECTOID region: STR_SOUTH_AMERICA city: STR_BUENOS_AIRES deployment: STR_TERROR_MISSION missionId: 3 missionType: STR_ALIEN_TERROR"
  - "gameTime: 1999-02-23 04:00:00 ufoId: 14 ufoType: STR_MEDIUM_SCOUT race: STR_FLOATER region: STR_EUROPE trajectory: P1 missionId: 4 missionType: STR_ALIEN_ABDUCTION"
  - "gameTime: 1999-02-27 00:00:00 ufoId: 15 ufoType: STR_LARGE_SCOUT race: STR_FLOATER region: STR_EUROPE trajectory: P3 missionId: 4 missionType: STR_ALIEN_ABDUCTION"
  - "month: 2 script: recurringTerror id: 5 type: STR_ALIEN_TERROR race: STR_SECTOID region: STR_SOUTH_AMERICA targetZone: 3 targetArea: 0"
  - "month: 2 script: recon id: 6 type: STR_ALIEN_RESEARCH race: STR_SECTOID region: STR_CENTRAL_ASIA targetZone: -1 targetArea: -1"

To help debug geoscape game issues, a persistent log was added.
Persistent = in the save file.

By default, it can hold 1000 entries.
Players and modders can change it to smaller or bigger using `oxceGeoscapeDebugLogMaxEntries: 1000` in options.cfg

The log contains the following events:
1. geoscape event popups
2. ufo spawns
3. alien base spawns
4. mission site spawns
5. alien base upgrades
6. monthly mission generation
7. monthly geoscape event generation
8. irregular geoscape event generation
« Last Edit: April 22, 2023, 11:07:50 pm by Meridian »

Offline The Martian

  • Commander
  • *****
  • Posts: 754
  • "It implores you to listen to its arguments..."
    • View Profile
Re: [DONE] Persistent geoscape debug log
« Reply #1 on: April 23, 2023, 08:28:27 am »
If I'm understanding what I'm looking at this log is keepipg track of which UFO spawned, the date it happened, which alien race was onboard and more.

This will be very helpful, thank you for adding it.