Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: celluloid on January 10, 2003, 10:19 AM

Title: [VB] War3 icons
Post by: celluloid on January 10, 2003, 10:19 AM
Has anyone actually done it so when a war3 user joins the channel it displays his current icon instead of just the war3 icon?
if so could ya point me in the right direction.
Title: Re: [VB] War3 icons
Post by: MiCrOz on January 10, 2003, 06:41 PM
I think u'd have to get every character icon things into a ImageList, and when the statstring is recieves saying which icon the user has, make it display the approprite icon.
Title: Re: [VB] War3 icons
Post by: RhiNo on January 10, 2003, 06:46 PM
http://www.battle.net/war3/ladder/war3-ladder-info-laddericons.aspx there are the war3 icons if you need them
Title: Re: [VB] War3 icons
Post by: UserLoser on January 10, 2003, 07:41 PM
Or if you have War3, just take screenshots of them ;-)
Title: Re: [VB] War3 icons
Post by: celluloid on January 10, 2003, 07:58 PM
well thanks for someone actually posting on the topic. i guess i forgot to mention, im confused on HOW to do this, all the images are in my imglist and now its actually displaying them which is my problem ;\
Title: Re: [VB] War3 icons
Post by: tA-Kane on January 10, 2003, 11:40 PM
I haven't ever parsed a Warcraft 3 statstring, but I would assume that the user-icon would be in the user's statstring.

Also, are the user-icons static, or are they stored in a downloadable file? I'd check myself, but I don't have a machine which can run WarCraft 3 with packet logs...
Title: Re: [VB] War3 icons
Post by: Noodlez on January 11, 2003, 06:55 AM
they're static, in the mpq
Title: Re: [VB] War3 icons
Post by: Yoni on January 11, 2003, 08:37 AM
IIRC, War3 downloads a special version of icons.bni, which it doesn't use at all
Title: Re: [VB] War3 icons
Post by: Soul Taker on January 12, 2003, 08:26 AM
Yea, it only ever seems to contain the byte 'Z'.