Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Refining probability testing done to see why the success rate seems so off.
- // TL;DR: Seems like the success estimate has an error in the calc causing it to be way off, and the
- // calculation for determining if the refine succeeds or not had an int overflow in the numerator.
- //
- // Results:
- // Item: Item Name
- // Current In Game Success Rate: The success rate shown in the game client with that Lisent.
- // Estimated Success Rate: The original code for estimating success rate
- // Actual Success Rate: The % of times succeeding with the original code run 100,000 times
- // Fixed Estimated Success Rate: The success rate with the "fixed" calculation
- // Fixed Success Rate: The % of times succeeding with the "fixed" code run 100,000 times
- //
- // Results are ordered using Hg, Na, and Cr
- // Tests done with:
- // Holy Staid Gentleman Shoes (7) 115 dura (quality 76)
- // Gachapin Hat (4) 98 dura (quality 55)
- // Redfield Chairman Suit (7) 94 dura (quality 67)
- // Stunna Shades (8) 120 dura (quality 100)
- // Astarot Wings of Corruption (8) 120 dura (quality 16)
- REFINES PROBABILITY TEST
- Item: Holy Staid Gentleman Shoes
- Current In Game Success Rate: 21%
- Estimated Success Rate: 21%
- Actual Success Rate: 55.983%
- Fixed Estimated Success Rate: 40%
- Fixed Success Rate: 40%
- REFINES PROBABILITY TEST
- Item: Holy Staid Gentleman Shoes
- Current In Game Success Rate: 27%
- Estimated Success Rate: 27%
- Actual Success Rate: 62.945%
- Fixed Estimated Success Rate: 47%
- Fixed Success Rate: 48%
- REFINES PROBABILITY TEST
- Item: Holy Staid Gentleman Shoes
- Current In Game Success Rate: 32%
- Estimated Success Rate: 32%
- Actual Success Rate: 70.108%
- Fixed Estimated Success Rate: 54%
- Fixed Success Rate: 54%
- REFINES PROBABILITY TEST
- Item: Gachapin Hat
- Current In Game Success Rate: 99%
- Estimated Success Rate: 99%
- Actual Success Rate: 100%
- Fixed Estimated Success Rate: 99%
- Fixed Success Rate: 100%
- REFINES PROBABILITY TEST
- Item: Gachapin Hat
- Current In Game Success Rate: 99%
- Estimated Success Rate: 99%
- Actual Success Rate: 100%
- Fixed Estimated Success Rate: 99%
- Fixed Success Rate: 100%
- REFINES PROBABILITY TEST
- Item: Gachapin Hat
- Current In Game Success Rate: 99%
- Estimated Success Rate: 99%
- Actual Success Rate: 100%
- Fixed Estimated Success Rate: 99%
- Fixed Success Rate: 100%
- REFINES PROBABILITY TEST
- Item: Redfield Chairman Suit
- Current In Game Success Rate: 19%
- Estimated Success Rate: 19%
- Actual Success Rate: 46.134%
- Fixed Estimated Success Rate: 38%
- Fixed Success Rate: 39%
- REFINES PROBABILITY TEST
- Item: Redfield Chairman Suit
- Current In Game Success Rate: 25%
- Estimated Success Rate: 25%
- Actual Success Rate: 53.156%
- Fixed Estimated Success Rate: 45%
- Fixed Success Rate: 45%
- REFINES PROBABILITY TEST
- Item: Redfield Chairman Suit
- Current In Game Success Rate: 30%
- Estimated Success Rate: 30%
- Actual Success Rate: 60.054%
- Fixed Estimated Success Rate: 52%
- Fixed Success Rate: 52%
- REFINES PROBABILITY TEST
- Item: Stunna Shades
- Current In Game Success Rate: 0%
- Estimated Success Rate: 1%
- Actual Success Rate: 70.152%
- Fixed Estimated Success Rate: 12%
- Fixed Success Rate: 12%
- REFINES PROBABILITY TEST
- Item: Stunna Shades
- Current In Game Success Rate: 0%
- Estimated Success Rate: 3%
- Actual Success Rate: 74.923%
- Fixed Estimated Success Rate: 17%
- Fixed Success Rate: 18%
- REFINES PROBABILITY TEST
- Item: Stunna Shades
- Current In Game Success Rate: 0%
- Estimated Success Rate: 7%
- Actual Success Rate: 80.232%
- Fixed Estimated Success Rate: 22%
- Fixed Success Rate: 23%
- REFINES PROBABILITY TEST
- Item: Astarot Wings of Corruption
- Current In Game Success Rate: 0%
- Estimated Success Rate: 42%
- Actual Success Rate: 68.177%
- Fixed Estimated Success Rate: 67%
- Fixed Success Rate: 67%
- REFINES PROBABILITY TEST
- Item: Astarot Wings of Corruption
- Current In Game Success Rate: 0%
- Estimated Success Rate: 50%
- Actual Success Rate: 77.109%
- Fixed Estimated Success Rate: 76%
- Fixed Success Rate: 77%
- REFINES PROBABILITY TEST
- Item: Astarot Wings of Corruption
- Current In Game Success Rate: 0%
- Estimated Success Rate: 57%
- Actual Success Rate: 86.123%
- Fixed Estimated Success Rate: 85%
- Fixed Success Rate: 86%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement