• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Nostalrius New Outfits

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:
1663276602548.png

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):
1663277206133.png

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.
 

here's the answer
 
Back
Top