StarCraft® II

Any way to get Version # out of S2Protocol ?

Posts: 135
Just wondering if you guys know how to get a nice version number out of the API, like 2.0.11.

I know there is a m_baseBuildNum in the API that gives you a number like 26490 just not sure if there is a way to convert that over.

Thanks for the help !
Reply Quote
Posts: 28
It's in the replay header, m_version structure.

Example:
2.0.8.25604

m_major: 2
m_minor: 0
m_revision: 8
m_build: 25604
Reply Quote
Posts: 28
I think i misunderstood your question.

One base build might be for multiple versions, so there is no bijection between them (maybe a range of version, but that's defined only for "past" base builds).
Edited by SCIIGears on 8/21/2013 3:00 PM PDT
Reply Quote
Posts: 135
no you answered what i was hoping for.

What i was missing was the --header so i was not seeing the m_major, m_minor and so on

Thanks for clearing that up
Reply Quote

Please report any Code of Conduct violations, including:

Threats of violence. We take these seriously and will alert the proper authorities.

Posts containing personal information about other players. This includes physical addresses, e-mail addresses, phone numbers, and inappropriate photos and/or videos.

Harassing or discriminatory language. This will not be tolerated.

Forums Code of Conduct

Report Post # written by

Reason
Explain (256 characters max)

Reported!

[Close]