Forkz
Well-Known Member
- Joined
- Jun 29, 2020
- Messages
- 304
- Solutions
- 1
- Reaction score
- 61
Hi otlanders,
Source: GitHub - nekiro/TFS-1.5-Downgrades at 7.72 (https://github.com/nekiro/TFS-1.5-Downgrades/tree/7.72)
I'm using nekiro downgrade in version 7.72, and I would like to activate the outfit.xml to use with OTclient. In version 7.72 there was no outfit.xml it was directly in the source.
Can someone help me?
protocolgame.cpp
Source: GitHub - nekiro/TFS-1.5-Downgrades at 7.72 (https://github.com/nekiro/TFS-1.5-Downgrades/tree/7.72)
I'm using nekiro downgrade in version 7.72, and I would like to activate the outfit.xml to use with OTclient. In version 7.72 there was no outfit.xml it was directly in the source.
Can someone help me?
protocolgame.cpp
C++:
switch (player->getSex()) {
case PLAYERSEX_FEMALE: {
msg.add<uint16_t>(136);
if (player->isPremium()) {
msg.add<uint16_t>(142);
} else {
msg.add<uint16_t>(139);
}
break;
}
case PLAYERSEX_MALE: {
msg.add<uint16_t>(128);
if (player->isPremium()) {
msg.add<uint16_t>(134);
} else {
msg.add<uint16_t>(131);
}
break;
}
default: {
msg.add<uint16_t>(128);
msg.add<uint16_t>(134);
}
}
writeToOutputBuffer(msg);
}