• Welcome to Valhalla Legends Archive.
 

[VB] War3 icons

Started by celluloid, January 10, 2003, 10:19 AM

Previous topic - Next topic

celluloid

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.

MiCrOz

#1
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.

RhiNo

#2

UserLoser

#3
Or if you have War3, just take screenshots of them ;-)

celluloid

#4
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 ;\

tA-Kane

#5
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...
Macintosh programmer and enthusiast.
Battle.net Bot Programming: http://www.bash.org/?240059
I can write programs. Can you right them?

http://www.clan-mac.com
http://www.eve-online.com

Noodlez

#6
they're static, in the mpq

Yoni

#7
IIRC, War3 downloads a special version of icons.bni, which it doesn't use at all

Soul Taker

#8
Yea, it only ever seems to contain the byte 'Z'.