ffxiv-craft-opt-web icon indicating copy to clipboard operation
ffxiv-craft-opt-web copied to clipboard

Add support for entering initial parameters for all fields (Durability, etc)

Open zjturner opened this issue 5 years ago • 5 comments

Currently it does not appear that there is any way to simulate failure on a step, or Good/Excellent locations. My use case is that I want to Put in my stats and recipe that I'm making and have the solver tell me what the optimal sequence is. When I choose the first action, there's a chance it fails, or there's a chance that the item status turns into Good or Excellent. It would be nice if there was a way to edit these parameters on the Simulator page. For example, I should be able to say "Solve assuming that Progress is M, Quality is N, I have X CP remaining, and the status is currently Excellent". This way, each time I actually perform the action in game, I can re-solve based on what actually happened.

zjturner avatar Aug 18 '19 06:08 zjturner

Thanks, it's a good idea!

doxxx avatar Aug 18 '19 14:08 doxxx

What's the process like for adding new features such as this? Does it depend on user contributions or can I expect that this might actually happen someday without me doing it? :D

I can write code, but I've more of a native code person, never really done any js or web stuff. So I can try, but might need some hand-holding.

zjturner avatar Aug 18 '19 17:08 zjturner

I generally only have time for small bugfixes and features these days. I don't play FFXIV anymore, so I'm reliant on contributions for data gathering and formula updates. Something like this is a fairly significant modification. With the way the solver and model are setup, it's probably doable without rewriting. Achieving a good UX will be tricky though.

doxxx avatar Aug 18 '19 21:08 doxxx

For the UX I was thinking that on the Solver page on the right side under Attributes, you just add one new box for Durability, one for Progress, and an exclusive checkbox for Synthesis State (Good/Poor/Excellent/Normal).

That should be pretty much all that's needed. Since you can presumably already feed in Start Quality to the solver, maybe it should be straightforward to also feed in Start Durability, progress, and synthesis state.

Would that be a less significant modification?

zjturner avatar Aug 18 '19 22:08 zjturner

You will want to be able to input the following properties:

  • Synthesis State: (Good/Poor/Excellent/Normal)
  • Progress
  • Durability Remaining
  • Quality
  • CP remaining
  • Crafter State: What modifiers are currently applied and how many turns do they have left.

I can look into what it would take later.

noshlag avatar Jan 03 '20 21:01 noshlag