• Welcome to Valhalla Legends Archive.
 

D2 Stats String

Started by Eric, December 06, 2003, 03:37 PM

Previous topic - Next topic

Eric

Where exactly is the Act in the Diablo II/Diablo II: Lord of Destruction stats string?

iago

It would help if you defined p.

Is it the first character in the statstring?  Or the first after the name/realm?
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Kp

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.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!