Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Mangix on June 15, 2005, 11:17 PM

Title: WCG
Post by: Mangix on June 15, 2005, 11:17 PM
can anyone give me the WCG Statstring for W3XP?
Title: Re: WCG
Post by: Hdx on June 15, 2005, 11:42 PM
(http://hdx.no-ip.org/WCG/WCPG.gif) WCPG
(http://hdx.no-ip.org/WCG/WCPL.gif) WCPL
(http://hdx.no-ip.org/WCG/WCRF.gif) WCRF
(http://hdx.no-ip.org/WCG/WCSI.gif) WCSI
(http://hdx.no-ip.org/WCG/WCBR.gif) WCBR
(http://hdx.no-ip.org/WCG/WCGO.gif) WCGO

These will be reversed in the statstirng. And will be the last thing in the statstirng I beleave.
But jsut checking if it's anywhere in it usualy works, I've never had a mixup.
~-~(HDX)~-~
Title: Re: WCG
Post by: Mangix on June 15, 2005, 11:46 PM
...what do you mean the last thing in the statstring? isnt that for the name of a Clan or the level(if user doesnt have a clan).
Title: Re: WCG
Post by: Hdx on June 16, 2005, 12:00 AM
What I mean? That if you check the last 4 didgets of the SS. Then you can figure ut if it is WCG:
    Select Case UCase(Right(Space(4) & Statstring, 4))
        Case "FRCW": GetIcon = Icon_WCRF
        Case "LPCW": GetIcon = Icon_WCPL
        Case "OGCW": GetIcon = Icon_WCGO
        Case "ISCW": GetIcon = Icon_WCSI
        Case "RBCW": GetIcon = Icon_WCBR
        Case "GPCW": GetIcon = Icon_WCPG
    End Select

~-~(HDX)~-~