Hiya, everyone. Can someone help me sort my problem out.
It's the about the costume items made by Greenbox.
Here's the code for pc_unequipitem
if (sd->status.inventory[n].equip & EQP_HEAD_LOW_C)
{
int getLowLook = 0;
sd->status.costume_low = 0;
if (sd->equip_index[EQI_HEAD_LOW] > 0)
{
int d = sd->equip_index[EQI_HEAD_LOW];
getLowLook = sd->inventory_data[d]->look;
}
clif_changelook(&sd->bl, LOOK_HEAD_BOTTOM, getLowLook);
}
if (sd->status.inventory[n].equip & EQP_HEAD_LOW)
{
int getLowLook = 0;
if (sd->status.costume_low > 0)
getLowLook = sd->status.costume_low;
clif_changelook(&sd->bl, LOOK_HEAD_BOTTOM, getLowLook);
}
When I equip the costume items and then reconnect, unequip the costume items and then reconnect, the costume items are still equipped on my character while they are not. I think it has something to do with the code I posted above. [it was posted/made by r99t]
Question
Legato
Hiya, everyone. Can someone help me sort my problem out.
It's the about the costume items made by Greenbox.
Here's the code for pc_unequipitem
When I equip the costume items and then reconnect, unequip the costume items and then reconnect, the costume items are still equipped on my character while they are not. I think it has something to do with the code I posted above. [it was posted/made by r99t]
Here's the code for pc_equipitem.
Tia and Happy Holidays to everyone!
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.