We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Noobprotection only works for the set factor but not for the set limit (e.g. Noobprotection under 5000 points)
To fix this we need to change some code in the GeneralFunctions.php
Line 312 from ($TargetPlayer['total_points'] <= $config->noobprotectiontime) && // Default: 25.000 to ($TargetPlayer['total_points'] <= $config->noobprotectiontime) || // Default: 25.000
($TargetPlayer['total_points'] <= $config->noobprotectiontime) && // Default: 25.000
($TargetPlayer['total_points'] <= $config->noobprotectiontime) || // Default: 25.000
and
Line 320 from ($OwnerPlayer['total_points'] < $config->noobprotectiontime) && // Default: 5.000 to ($OwnerPlayer['total_points'] < $config->noobprotectiontime) || // Default: 5.000
($OwnerPlayer['total_points'] < $config->noobprotectiontime) && // Default: 5.000
($OwnerPlayer['total_points'] < $config->noobprotectiontime) || // Default: 5.000
I found this Bugfix in the 2moons-forum (Thanks to Mimikri!) and I tested it
The text was updated successfully, but these errors were encountered:
nop esto que pones esta mal
Sorry, something went wrong.
No branches or pull requests
The Noobprotection only works for the set factor but not for the set limit (e.g. Noobprotection under 5000 points)
To fix this we need to change some code in the GeneralFunctions.php
Line 312 from
($TargetPlayer['total_points'] <= $config->noobprotectiontime) && // Default: 25.000
to
($TargetPlayer['total_points'] <= $config->noobprotectiontime) || // Default: 25.000
and
Line 320 from
($OwnerPlayer['total_points'] < $config->noobprotectiontime) && // Default: 5.000
to
($OwnerPlayer['total_points'] < $config->noobprotectiontime) || // Default: 5.000
I found this Bugfix in the 2moons-forum (Thanks to Mimikri!) and I tested it
The text was updated successfully, but these errors were encountered: