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

Using mount in PZ?

Marko999x

999x era
Premium User
Joined
Dec 14, 2017
Messages
2,874
Solutions
82
Reaction score
1,979
Location
Germany
How can I edit it like that peoples are able to use their mounts in protection zone?
Their mount does not disappear when they move in protection zone but if they unmount once, they are not possible to mount again ( in protection zone ).
How can I remove that ?
Screenshot - aa9e31f66130a6ca402cd6f768f603c9 - Gyazo

Im using tfs 0.4
 
How can I edit it like that peoples are able to use their mounts in protection zone?
Their mount does not disappear when they move in protection zone but if they unmount once, they are not possible to mount again ( in protection zone ).
How can I remove that ?
Screenshot - aa9e31f66130a6ca402cd6f768f603c9 - Gyazo

Im using tfs 0.4
You have to do some edits in source code of theforgottenserver.
 
can you send where you got your sources from so we can take a look?
note for future reference if what you're asking might require a source edit, it's a good idea to provide the sources of your tfs
 
I think TFS 0.4 doesn't even has mount (without changes).. Post your source code, or at least a link to the original one (with mount), so we can check it.
 
8. Removing Solved Content:
- If you solved your problem, post the solution, do not remove the content in your posts. Instead write the solution you found. This can help other users with the same problem.
- Threads with removed content are useless and are seen as spam.
- If you were able to solve the issue yourself, post the solution and report your own post so a moderator can tag it as the "Best Answer".
 
anybody know a fix to this issue?

TFS 1.4.2, 10.98

i was able to make the changes in source code so that you can walk into PZ with a mount, i cant seem to find where to make the changes so that you can summon a mount in PZ, like the post mentions.
 
anybody know a fix to this issue?

TFS 1.4.2, 10.98

i was able to make the changes in source code so that you can walk into PZ with a mount, i cant seem to find where to make the changes so that you can summon a mount in PZ, like the post mentions.

players.cpp, bool Player::toggleMount(bool mount)
C++:
if (!group->access && tile->hasFlag(TILESTATE_PROTECTIONZONE)) {
        sendCancelMessage(RETURNVALUE_ACTIONNOTPERMITTEDINPROTECTIONZONE);
        return false;
}
 
players.cpp, bool Player::toggleMount(bool mount)
C++:
if (!group->access && tile->hasFlag(TILESTATE_PROTECTIONZONE)) {
        sendCancelMessage(RETURNVALUE_ACTIONNOTPERMITTEDINPROTECTIONZONE);
        return false;
}


i just came back to write the solution!

hehe thanks anyway! and yep can confirm thats the solution.
 
Back
Top