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

[TFS 1.2] ORTS-walking through players

dudiguru

New Member
Joined
May 27, 2015
Messages
19
Reaction score
0
Hello, I have this problem. I don't know how to allow players to walk through each other as it is possible in pz.
Just like in Opt-PvP
 
What is TFS 1.2 that you are saying? 1.2 was not released yet, so I guess you are talking about bleeding edge from GitHub, right?
 
It's in the sources, player.cpp to be more exact. You can just put the function to always return true an voila
Don't do that, ever.

Go to that function and remove those lines:
Code:
if (!playerTile || !playerTile->hasFlag(TILESTATE_PROTECTIONZONE)) {
    return false;
}

For me it's around line 833.

Then recompile and you're good to go.
 
Back
Top