Where exactly is the Act in the Diablo II/Diablo II: Lord of Destruction stats string?
It would help if you defined p.
Is it the first character in the statstring? Or the first after the name/realm?
Quote from: UserLoser. on December 06, 2003, 04:37 PM
examples:
if it returns 2, they're in act 3 normal
if it returns 13, they're in act 5 hell
Note that the difficulty is actscompleted / total_acts, and the act in that difficulty is actscompleted % total_acts, where total_acts is 4 for D2DV and 5 for D2XP. Assuming either 4 or 5 for all cases will result in wrong output for one of the two products.