• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Unlimated Aol

Please remove Hama threads from C++ section. Who need codes for engine made 4 years ago...
 
Lolz

Lol thats not for Tfs XD Here is TFS Code ( from 0.2 think its pretty much same at all )

Search For:

void Player::dropLoot(Container* corpse)

iside it you will see some code looking about as below just it deletes the item, replace it with this:
Code:
if(inventory[SLOT_NECKLACE] && inventory[SLOT_NECKLACE]->getID() == ITEM_AMULETOFLOSS && getSkull() != SKULL_RED && g_game.getWorldType() != WORLD_TYPE_PVP_ENFORCED)
		{
                // Do Nothing
                }
 
Back
Top