This fixes skulls not appearing on monsters for some versions of TFS. (Nekiro's Downgrade personally). I saw many threads about this with no fixes.
Credits @zbizu for walking me through this.
In protocolgame.cpp AddCreature() method:
Replace with:
In player.cpp getSkullClient method:
Replace with:
Credits @zbizu for walking me through this.
In protocolgame.cpp AddCreature() method:
C++:
msg.addByte(player->getSkullClient(otherPlayer));
Replace with:
C++:
msg.addByte(creature->getSkullClient(creature));
In player.cpp getSkullClient method:
Code:
if (!player || player->getSkull() != SKULL_NONE) {
return Creature::getSkullClient(creature);
}
Replace with:
Code:
if (!player || creature->getSkull() != SKULL_NONE) {
return Creature::getSkullClient(creature);
}