This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
Question
sherlockholmes
public static String calculateRewards()
{
TreeSet<DMPlayer> players = orderPosition(_dmPlayer.values());
String _htmlPrefix = null;
for (int j = 0; j < Config.DM_REWARD_FIRST_PLAYERS; j++)
{
if (players.isEmpty())
break;
DMPlayer player = players.first();
if (player.getPoints() == 0)
break;
rewardPlayer(player, j + 1);
players.remove(player);
{
for (L2PcInstance Player : L2World.getInstance().getAllPlayers().values())
Player.sendPacket(new ExShowScreenMessage("The Hunter Killer is " + player.getPlayer().getName() + " whit " + player.getPoints()+ " kills.", 12000));
}
int playerPointPrev = player.getPoints();
if (!Config.DM_REWARD_PLAYERS_TIE)
continue;
while (!players.isEmpty())
{
player = players.first();
if (player.getPoints() != playerPointPrev)
break;
rewardPlayer(player, j + 1);
players.remove(player);
}
}
{
// Set state REWARDING so nobody can point anymore
setState(EventState.REWARDING);
return "";
}
}
hi, wanted to know if you can help me with this ....
I want the last line that says this:
{
/ / Set state point rewarding dog anymore so nobody
setState (EventState.REWARDING)
return "";
}
not exit in the form of general notice. I want to eliminate this form or directly that it is not announced anything.
return true removing fails me!
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now