Something like:
int iWearCell = item->FindEquipCell(this);
if (iWearCell == WEAR_WEAPON && GetWear(WEAR_COSTUME_WEAPON))
{
return false;
}
in MoveItem() function, under:
if (Cell.IsEquipPosition())
{
if (!CanUnequipNow(item))
return false;
not tested
Sorry to revive an old topic...
I implemented the button functions and when I try to open the client, it closes without giving any sysser..
I've reviewed it at least 4 times and I didn't see anything wrong
everything works flawlessly (0 error) but when I select the box, I have no information on what to do to open it (ctrl + mouse). I have the emoji system installed (it works in other items)
#solved
Hello guys,
I added a weapon costume system and i have a visual bug. You can't unequip a weapon when you have a skin but you still can move it to the storekeeper and the skin remains until you relog. Its just visual but it is wrong. I think it should be a function in server source to block somehow moving the active equipment directly in the storage?
Thank you.
After a long time I tried to add armor and realized how annoying it is to use the
ShapeDataCount or the HairDataCount every time, so I did it “automatically” via Source
we open:
GameLib/RaceDataFile.cpp
replace the whole code with:
I think that should be clear and understandable. I have tested it and it works without any problems