• 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!

Fix/Patch [TFS 1.x] Monster Skulls

Sitrene

Member
Joined
Jul 25, 2022
Messages
4
Solutions
1
Reaction score
6
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:
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);
    }


skulls.PNG
 
Back
Top