Author Topic: [STAT TRACKING] Soldier Diaries 1.0  (Read 536786 times)

Offline Goldy

  • Sergeant
  • **
  • Posts: 12
    • View Profile
Re: [STAT TRACKING] Soldier Diaries 1.0
« Reply #615 on: February 12, 2015, 02:13:36 pm »
Assuming a goomba stomp (inspired by the mario games) did happen, that means there is a stat for a stunned alien that is being misattributed. If you go through your save file, you might be able to find out who is being credited with the stun (there might be gibberish saved? I really don't know) and you might be able to remove that credit. That's the only way I can think of doing it ;p

I thought of the same thing before, problem is that I have no idea what to look for in the save file. It's as if someone wanted me to stop playing and start doing some real work -.-

Offline ivandogovich

  • Commander
  • *****
  • Posts: 2381
  • X-Com Afficionado
    • View Profile
    • Ivan Dogovich Youtube
Re: [STAT TRACKING] Soldier Diaries 1.0
« Reply #616 on: February 12, 2015, 02:55:36 pm »
Hmmm...

If I remember, the goomba stomp bug... I think I had to go back to a geoscape save from before the mission to continue the campaign. :(


Offline ivandogovich

  • Commander
  • *****
  • Posts: 2381
  • X-Com Afficionado
    • View Profile
    • Ivan Dogovich Youtube
Re: [STAT TRACKING] Soldier Diaries 1.0
« Reply #617 on: February 12, 2015, 04:00:32 pm »
Two more awards:


(and yeah, huge props to Luke83) ;)
« Last Edit: February 12, 2015, 07:24:47 pm by ivandogovich »

Offline Arthanor

  • Commander
  • *****
  • Posts: 2488
  • XCom Armoury Quartermaster
    • View Profile
Re: [STAT TRACKING] Soldier Diaries 1.0
« Reply #618 on: February 12, 2015, 04:12:30 pm »
The variety of awards is really impressive! Well done guys. I really need to get around to playing with this.

(btw, the apostrophes in the "Enfilade Citation" comes off as ?)

Offline Shoes

  • Commander
  • *****
  • Posts: 502
    • View Profile
Re: [STAT TRACKING] Soldier Diaries 1.0
« Reply #619 on: February 12, 2015, 04:17:42 pm »
"Pointy-Eared Person" - for those who max all stats. :P

More seriously, possibly individual medals for those who maxed out a single stat? Or is it already in?

Easy to add; at the moment I am tracking stat increases, so it's not a big leap to track absolute stat value.

I thought of the same thing before, problem is that I have no idea what to look for in the save file. It's as if someone wanted me to stop playing and start doing some real work -.-

Yeah, the work is pretty fruitless since the bug is supposed to have been fixed in the latest versions too ;p So the game only crashes during the end of a mission, correct? If you load the save file and look for something about "Battle Units" or "UnitStatistics", you can delete all of those stats. What will happen is no one will get credited for any kills on that mission, but it should also stop the crash.

The variety of awards is really impressive! Well done guys. I really need to get around to playing with this.

Thanks :D

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11408
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [STAT TRACKING] Soldier Diaries 1.0
« Reply #620 on: February 12, 2015, 04:48:35 pm »
Easy to add; at the moment I am tracking stat increases, so it's not a big leap to track absolute stat value.

Would it still work properly if the stat was changed by a mod?

Offline Shoes

  • Commander
  • *****
  • Posts: 502
    • View Profile
Re: [STAT TRACKING] Soldier Diaries 1.0
« Reply #621 on: February 12, 2015, 06:48:02 pm »
I would probably use the ruleset that fetches the "max" a stat can attain, so as long as the mod only touched that and did not increase stats some other way it would work.

A lot of these commendations are indeed mod friendly!

Offline Goldy

  • Sergeant
  • **
  • Posts: 12
    • View Profile
Re: [STAT TRACKING] Soldier Diaries 1.0
« Reply #622 on: February 12, 2015, 10:41:53 pm »
Ok, I went through older saves of the same terror mission and I was able to pointout the moment, when the problems start. One moment, I can finnish the mission without any crash and then, when I shoot down a cyberdisc, it blows up and takes with it a civilian and an alien (sectoid soldier). And then, every time I try to end the mission, game crashes.

I've been experimenting with the saves, but so far no success.
« Last Edit: February 12, 2015, 11:05:14 pm by Goldy »

Offline Shoes

  • Commander
  • *****
  • Posts: 502
    • View Profile
Re: [STAT TRACKING] Soldier Diaries 1.0
« Reply #623 on: February 12, 2015, 11:36:51 pm »
I am not sure how deep I want to go into bug fixing an outdated version of the mod ;p I would rather try and fix the reason you're not able to play the old one.

Offline Goldy

  • Sergeant
  • **
  • Posts: 12
    • View Profile
Re: [STAT TRACKING] Soldier Diaries 1.0
« Reply #624 on: February 13, 2015, 12:07:19 am »
I am not sure how deep I want to go into bug fixing an outdated version of the mod ;p I would rather try and fix the reason you're not able to play the old one.

I am not suggesting fixing this version. I have cimcurvented the problem by replaying the mission, so no harm here. I was just happy, that I found the root of the crash and wanted to point out the bug, to know, if it is known and possibly fixed in newer versions, or if it is some odd coincidence ;) When I become enthusiastic about something, I tend to spam a bit, sorry :)

Offline Shoes

  • Commander
  • *****
  • Posts: 502
    • View Profile
Re: [STAT TRACKING] Soldier Diaries 1.0
« Reply #625 on: February 13, 2015, 12:31:33 am »
No worries ;p I did do some work with cyberdisc deaths so that must be pre-that.

Offline ivandogovich

  • Commander
  • *****
  • Posts: 2381
  • X-Com Afficionado
    • View Profile
    • Ivan Dogovich Youtube
Re: [STAT TRACKING] Soldier Diaries 1.0
« Reply #626 on: February 13, 2015, 12:49:23 am »
:(  I'd really like to get on the Nightly... but I can't figure anything out about why those campaign saves won't load.  Shoot. Even the updated Legacy, because it would be nice to check the logic on the some of the new awards.

Also.  After completing my first mission since the new commendations are in the ruleset, I did get a rash of erroneous awards.

All of them were the ones that have multiple criteria:

- Armis Potens (all battle types),
- Taking Names (all ranks)

Code: [Select]
  - type: STR_MEDAL_ALLBATTLETYPES_NAME
    description: STR_MEDAL_ALLBATTLETYPES_DESCRIPTION
    sprite: 40
    criteria:
      killsWithCriteriaCareer: [1, 2, 3, 4, 5, 6, 7, 8, 8, 9]
    killCriteria:
      -
        1: ["BT_FIREARM", "FACTION_HOSTILE", "STATUS_DEAD"]
        1: ["BT_MELEE", "FACTION_HOSTILE", "STATUS_UNCONSCIOUS"]
        1: ["BT_PROXIMITYGRENADE", "FACTION_HOSTILE", "STATUS_DEAD"]
        1: ["BT_GRENADE", "FACTION_HOSTILE", "STATUS_DEAD"]

  - type: STR_MEDAL_ALLRANKS_NAME
    description: STR_MEDAL_ALLRANKS_DESCRIPTION
    sprite: 42
    criteria:
      killsWithCriteriaCareer: [1, 2, 3, 3, 3, 3, 4, 4, 4, 4]
    killCriteria:
      -
        1: ["STR_LIVE_SOLDIER", "FACTION_HOSTILE", "STATUS_DEAD"]
        1: ["STR_LIVE_ENGINEER", "FACTION_HOSTILE", "STATUS_DEAD"]
        1: ["STR_LIVE_MEDIC", "FACTION_HOSTILE", "STATUS_DEAD"]
        1: ["STR_LIVE_NAVIGATOR", "FACTION_HOSTILE", "STATUS_DEAD"]
        1: ["STR_LIVE_LEADER", "FACTION_HOSTILE", "STATUS_DEAD"]
        1: ["STR_LIVE_COMMANDER", "FACTION_HOSTILE", "STATUS_DEAD"]
        1: ["STR_LIVE_TERRORIST", "FACTION_HOSTILE", "STATUS_DEAD"]

Could I be running into that same array error that you found a while ago?
https://openxcom.org/forum/index.php/topic,1718.msg34086.html#msg34086


Offline ivandogovich

  • Commander
  • *****
  • Posts: 2381
  • X-Com Afficionado
    • View Profile
    • Ivan Dogovich Youtube
Re: [STAT TRACKING] Soldier Diaries 1.0
« Reply #627 on: February 13, 2015, 04:12:53 am »
Newest UFOPedia Art.  (Almost Done!  :o )




Edit: Wasn't happy with the field surgeon so I re-worked it:
« Last Edit: February 14, 2015, 06:58:39 am by ivandogovich »

Offline endersblade

  • Captain
  • ***
  • Posts: 81
    • View Profile
Re: [STAT TRACKING] Soldier Diaries 1.0
« Reply #628 on: February 13, 2015, 07:37:30 am »
On a whim I installed this mod from the Steam Workshop last night, oh man, I'm in love with this lol.  Such an amazing job, and the detail it goes into is great!  Favorite weapon, number of types killed, so many stats <3

Offline ivandogovich

  • Commander
  • *****
  • Posts: 2381
  • X-Com Afficionado
    • View Profile
    • Ivan Dogovich Youtube
Re: [STAT TRACKING] Soldier Diaries 1.0
« Reply #629 on: February 13, 2015, 07:39:45 am »
Can you provide a link from the Steam workshop?  I didn't even know there was anything out there for OpenXcom!