Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.95.1a is out! (12/10/21); Blog post: Hyperspace Topography (10/12/22)

Pages: 1 ... 15 16 [17]

Author Topic: [0.95.1a] Detailed Combat Results v5.3.0 (2022-10-25)  (Read 205526 times)

NuclearStudent

  • Ensign
  • *
  • Posts: 18
    • View Profile
Re: [0.95.1a] Detailed Combat Results v5.2.3 (2022-08-09)
« Reply #240 on: November 21, 2022, 11:09:57 AM »

Two real dumb questions:

Where/how does this mod export results to an external text file? There's toTsv methods so I assume that's done somewhere, but I'm smallbraining on where the results actually are.

Second, I'm trying to compile this mod on its own to modify it to autoprint the results of sims, but am having some trouble with the dependencies. Specifically I'm baffled by the following:

https://imgur.com/a/bIbCxTf

Damaging explosions is in starsectorobf and I dunno how to access it. I'm pretty sure I'm making an embarrassingly simple mistake. Same with my failure to import Pair. Everything else is importing fine. *** around with it in a public project here. https://github.com/CandyJanus/DetailedCombatResults_printout

Thanks!
« Last Edit: November 21, 2022, 11:27:04 AM by NuclearStudent »
Logged

Nick XR

  • Admiral
  • *****
  • Posts: 649
    • View Profile
Re: [0.95.1a] Detailed Combat Results v5.2.3 (2022-08-09)
« Reply #241 on: November 21, 2022, 12:47:08 PM »

Two real dumb questions:

Where/how does this mod export results to an external text file? There's toTsv methods so I assume that's done somewhere, but I'm smallbraining on where the results actually are.

Second, I'm trying to compile this mod on its own to modify it to autoprint the results of sims, but am having some trouble with the dependencies. Specifically I'm baffled by the following:

https://imgur.com/a/bIbCxTf

Damaging explosions is in starsectorobf and I dunno how to access it. I'm pretty sure I'm making an embarrassingly simple mistake. Same with my failure to import Pair. Everything else is importing fine. *** around with it in a public project here. https://github.com/CandyJanus/DetailedCombatResults_printout

Thanks!

No clue about your build issues.  I use IntelliJ and a bat file to do my final builds.  I tried for an hour once to get Gradle working but it was really frustrating and I don't do modding to deal with that class of irritation (that's stuff I have to get paid to endure).

Oddly enough DCR used to support missions and dumping data to TSV files, but no one used it for 3 years and it was a pain to maintain so I ripped it out.  I'll hit you up on discord to explain how I'd go about dealing with it now.

NuclearStudent

  • Ensign
  • *
  • Posts: 18
    • View Profile
Re: [0.95.1a] Detailed Combat Results v5.2.3 (2022-08-09)
« Reply #242 on: November 21, 2022, 12:48:49 PM »

Thanks!

Yeah fair I'll figure it out. I think bats don't do hotswaps, which is why I stick with gradle.
Logged

Nick XR

  • Admiral
  • *****
  • Posts: 649
    • View Profile
Re: [0.95.1a] Detailed Combat Results v5.3.0 (2022-10-25)
« Reply #243 on: November 25, 2022, 10:13:19 PM »

5.3.0 release, link in original post
  Configuration values can now be configured via Luna (Thanks Lukas04)
  Additional support for mods specifying damage or clarifying unknown damages
  Modification of vanilla on-hit effects to specify and clarify their damages
  Mod Authors to integrate (soft dependency), please look at the file: https://bitbucket.org/NickWWest/starsectorcombatanalytics/src/master/CombatAnalyticsMod/src/data/scripts/DCRIntegration.java

Liral

  • Admiral
  • *****
  • Posts: 529
  • Realistic Combat Mod Author
    • View Profile
Re: [0.95.1a] Detailed Combat Results v5.3.0 (2022-10-25)
« Reply #244 on: January 22, 2023, 04:25:41 PM »

hi liral, i wrote this in starship legends as well, but i suspect this mod conflicts with that mod since it's the only mod that overhauls damage percentages and the like

this is what i wrote in the last paragraph in the post: "none of the battles register, they happen but when i see the battle log it shows as if none of my ships did any damage or receive any, it only logs when a ship is destroyed and this is extremely annoying as i will quickly get insubordinate crews and negative buffs."

i may be completely wrong on this mod conflicting, but i mean it's my only suspect at the moment

Hey, Liral. I'm trying to resolve the issue turtlebacons recently brought to my attention (as described above). I was hoping your DamageReportManagerV1 class would be a good solution, but I'm having trouble getting getDamageReports to return anything other than an empty list. I suspect that I'm not using the class as intended. Would you be kind enough to explain the correct usage to me? Feel free to PM me here or on Discord (Sundog#3161) if you'd prefer to keep this thread clean.

NickXR of Detailed Combat Results wrote DamageReportManagerV1, which I slightly modified, for this purpose to establish compatibility with Realistic Combat, the source code of which uses the class in listeners/DamageModel.java, scripts/DamageReportManagerV1.java, and scripts/DamageReportV1.java.  We had thought that someone else might use the class one day, and I am happy to learn that you would like to.  Accordingly, you might not be the last, so perhaps the three of us should document how to use the class in its code.
Pages: 1 ... 15 16 [17]