Clothes Color.

This section is created for developers and non-developers who think that he/she has a good (and realistic) idea that might contribute to the OpenKore community.

Moderator: Moderators

Message
Author
Mushroom
Perl Monk
Perl Monk
Posts: 427
Joined: 04 Apr 2008, 14:04
Noob?: No
Location: Brazil

Clothes Color.

#1 Post by Mushroom »

It would be nice if we could know the color of everybody without using xkore.
In Receive.pm I found this:

Code: Select all

'0078' => ['actor_display', 'a4 v14 a4 x7 C1 a3 x2 C1 v1', [qw(ID walk_speed param1 param2 param3 type hair_style weapon lowhead shield tophead midhead hair_color clothes_color head_dir guildID sex coords act lv)]],
As you can see, there is a clothes_color, but I tried using it in macros and didn't work. I used this:

Code: Select all

do eval foreach my Actor::Player $_player (@{$::playersList->getItems()}) {$::Macro::Data::varStack{clothes} = ($_player->{clothes_color});}
But the variable returned nothing.

So I think we'll need create a file in tables.txt with all the colors, like haircolors.txt.
What about it?
Quit.