• 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.
Resource icon

Added Tile Check for 11069, 11060, and Walkthrough in PVP within Protection Zone (PZ)

alexxxxxxx

Active Member
Joined
Aug 16, 2015
Messages
22
Reaction score
35
Location
Brasil
GitHub
l3k0t
YouTube
UCMP25Br519j7dD1FF
alexxxxxxx submitted a new resource:

Added Tile Check for 11069, 11060, and Walkthrough in PVP within Protection Zone (PZ) - tfs 0.4

I modified the canWalkthrough function to prevent crossing specific tiles (like 11059 and 11060) if a player is already standing on them, ensuring that no one enters the same depot, which is common in PVP. So, we will remove this.

Check the world type (PVP / non-PVP / etc.) and protection zones.

In PVP, players can cross if they are outside a protection zone or when neither is in combat.

Here are the changes:

Go to Player.cpp and find:


LUA:
bool Player::canWalkthrough(const...

Read more about this resource...
 
Back
Top