CraftSim

CraftSim

2M Downloads

[Work Order] Work orders with all mats provided show a negative theta profit

KyrosKrane opened this issue ยท 0 comments

commented

Describe the bug
On occasion (probably about half the time), a work order with all mats provided and a fee shows a negative theta profit/craft. Also, reagent optimization shows no option to make it profitable. An order like this is guaranteed profitable (as there are no mat costs for the crafter to pay); the theta profit should be equal to the net fee plus the expected value of resourcefulness mat recovery.

To Reproduce
Steps to reproduce the behavior:
It's hard to reproduce this error, as it doesn't happen 100% of the time. But I've seen it happen most frequently when a player submits a work order (public, guild, or personal) with all mats provided. I don't recall it happening much with patron orders, but that might be because all-mats patron orders are super rare.

Expected behavior
The theta profit number should be positive in this situation.

Screenshots
Sample error situation:
Image

Addon Version:
19.8.5

Additional context
It's worth noting that the wrong theta profit being shown doesn't seem to be the mat cost. So it doesn't seem to be the case of CS assuming there are zero mats provided. Compare the same craft in simulation mode:

Image