fabiobragato
New Member
- Joined
- Aug 30, 2022
- Messages
- 6
- Reaction score
- 0
Hey guys, I'm trying to add new outfits to Nostalrius (Nostalrius by Ezzz).
I've already managed to put the new outfits with OB, as you can see:
I have no outfit.xml in Nostalrius files, but I found these lines on protocolgame.cpp:
If I change the value 134 to 267 (Assassin Outfit on the first image) then I can see it on my client (OTV8):
But when I press "Ok" button my outfit doesn't change in game.
Does anyone know how to implement those outfits in game correctly?
Thanks.
I've already managed to put the new outfits with OB, as you can see:
I have no outfit.xml in Nostalrius files, but I found these lines on protocolgame.cpp:
void ProtocolGame::sendOutfitWindow()
{
NetworkMessage msg;
msg.addByte(0xC8);
Outfit_t currentOutfit = player-> getDefaultOutfit();
AddOutfit(msg, currentOutfit);
if (player->getSex() == PLAYERSEX_MALE) {
msg.add<uint16_t>(128);
if (player->isPremium()) {
msg.add<uint16_t>(134);
} else {
msg.add<uint16_t>(131);
}
} else {
msg.add<uint16_t>(136);
if (player->isPremium()) {
msg.add<uint16_t>(142);
} else {
msg.add<uint16_t>(139);
}
}
writeToOutputBuffer(msg);
}
If I change the value 134 to 267 (Assassin Outfit on the first image) then I can see it on my client (OTV8):
But when I press "Ok" button my outfit doesn't change in game.
Does anyone know how to implement those outfits in game correctly?
Thanks.