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

You may not logout icon

Lopaskurwa

Active Member
Joined
Oct 6, 2017
Messages
873
Solutions
2
Reaction score
49
Hello,
When you go in fight with monster and you get that icon that you cant logout (You may not logout during a fight) but if you go in protection zone that icon instantly disappears how to make it not disappear in protection zone you still need to wait for 1min to make that icon disappear.
TFS 1.2
 
Solution
Hello,
When you go in fight with monster and you get that icon that you cant logout (You may not logout during a fight) but if you go in protection zone that icon instantly disappears how to make it not disappear in protection zone you still need to wait for 1min to make that icon disappear.
TFS 1.2
Untested so let me know how it goes.

Remove this if statement section:
In Fight Icon Within Protection Zone

Then replace this line:
Logout Protection Zone

With this:
C++:
if (player->hasCondition(CONDITION_INFIGHT)) {

If you only want the icon to remain but still allow players to logout in PZ then only do the first instruction.
Hello,
When you go in fight with monster and you get that icon that you cant logout (You may not logout during a fight) but if you go in protection zone that icon instantly disappears how to make it not disappear in protection zone you still need to wait for 1min to make that icon disappear.
TFS 1.2
Untested so let me know how it goes.

Remove this if statement section:
In Fight Icon Within Protection Zone

Then replace this line:
Logout Protection Zone

With this:
C++:
if (player->hasCondition(CONDITION_INFIGHT)) {

If you only want the icon to remain but still allow players to logout in PZ then only do the first instruction.
 
Solution
Back
Top