Valhalla Legends Forums Archive | Battle.net Bot Development | D2 Stats String

AuthorMessageTime
LoRd
Where exactly is the Act in the Diablo II/Diablo II: Lord of Destruction stats string?
December 6, 2003, 9:37 PM
iago
It would help if you defined p.

Is it the first character in the statstring? Or the first after the name/realm?
December 6, 2003, 10:51 PM
Kp
[quote author=UserLoser. link=board=17;threadid=4114;start=0#msg34005 date=1070750246]
examples:
if it returns 2, they're in act 3 normal
if it returns 13, they're in act 5 hell[/quote]

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.
December 7, 2003, 1:01 AM

Search