Hello guys
I added four outfits in my sprits, if i set looktype id in database it's work, but i can´t see my outfits in game.
I searched in the forum and i understood that i must change protocolgame.cpp and something in otlcient (i use otclient).
In my protocolgame.cpp i did this change:
if ((player->getSex() == PLAYERSEX_FEMALE &&
lookType >= 238 && i change this number for the last female outfit
lookType <= lastFemaleOutfit) ||
(player->getSex() == PLAYERSEX_MALE &&
lookType >= 234 && i change this number for the last male outfit
lookType <= lastMaleOutfit))
{
but don´t work, somebody can help me?
Thanks!
I added four outfits in my sprits, if i set looktype id in database it's work, but i can´t see my outfits in game.
I searched in the forum and i understood that i must change protocolgame.cpp and something in otlcient (i use otclient).
In my protocolgame.cpp i did this change:
if ((player->getSex() == PLAYERSEX_FEMALE &&
lookType >= 238 && i change this number for the last female outfit
lookType <= lastFemaleOutfit) ||
(player->getSex() == PLAYERSEX_MALE &&
lookType >= 234 && i change this number for the last male outfit
lookType <= lastMaleOutfit))
{
but don´t work, somebody can help me?
Thanks!