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

Solved Aol TFS 0.3.6 PVP-Enfo doesn't work.

marszalikusowy

New Member
Joined
Jun 5, 2012
Messages
8
Reaction score
0
Hi all.
I've decided to change my server mode to pvp-e but I've got a little problem with the aol. It wont prevent the items to drop.
I've asked few people about this and they said that I must edit it in the source but they didnt say what i need to change and into what...
Can someone please help me?!
 
In file player.cpp in function (line 2116):
PHP:
bool Player::onDeath()
Change line:
PHP:
else if(skull < SKULL_RED && g_game.getWorldType() != WORLD_TYPE_PVP_ENFORCED)
With:
PHP:
else if(skull < SKULL_RED)
So for red skulls [normal pvp] AoL won't work, but AoL will work on 'enforced pvp'.
 
Hi, euhm.. where can I find player.cpp I'm searched it in my whole folder but no results. using cryingdamson 0.3.6 (8.60) V8.2.

Thx.

Nvm don't need it anymore sry :p
 
Last edited by a moderator:
Back
Top