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

Bug with pvp zone

president vankk

Web Developer & AuraOT Owner
Joined
Jul 10, 2009
Messages
5,719
Solutions
9
Reaction score
339
Seems PvP Zone is bugged at last TFS. When you attack a player at pvp zone you get pz locked (http://2.1m.yt/rO0BHKBl.png). Normally pvp zone doesn't get pz locked, only battle.

Any fix for this? Thanks.
 
on player.cpp*
  • seach for that.
Code:
void Player::onAttackedCreature(Creature* target)
{
    Creature::onAttackedCreature(target);

  • add above it

Code:
// Fix avoid pz in pvp zones.
    if (target && target->getZone() == ZONE_PVP) {
        return;
    }

It's not tested tho.
 
@Slavi Dodo
0V-QoiF_3.png
 
Back
Top