Jump to content

edusz93

Members
  • Posts

    14
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

About edusz93

Profile Information

  • Gender
    Male
  • Country
    Brazil

Recent Profile Visitors

916 profile views

edusz93's Achievements

Newbie

Newbie (1/16)

  • First Post Rare
  • Collaborator Rare
  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

1

Reputation

  1. Fiz uma diff improvisada no NotePad ++. https://mega.nz/#!rUpSAKII!oSvZDnktnxHMiXjSn7O8oXC_BTOG0wP-kUX6qv25KXM
  2. Se quiser, te mando essa minha alteração e depois você posta tudo junto.
  3. Consegui!
  4. Estou tentando e tendo dificuldades em fazer com que o TVT fique com horário fixo. Exemplo na "events.properties": # Times TvT will occur (24h format). TvTEventInterval = 00:00,02:00,04:00,06:00,08:00,10:00,13:34,14:00,16:00,18:00,20:00,22:00
  5. ThreadPool.schedule(new Runnable() { @Override public void run() { "ACTION" } }, "TIME ACTION IN SECONDS"*1000);
  6. Tem um pequeno erro nesse código que faz com que somente o time ganhador seja teleportado de volta e removido do evento. Correção: // Check the winning team. TeamType teamWinner = TeamType.NONE; if (_state != EventState.INITIAL) { // Tied teams if (_blueTeamKills == _redTeamKills && !Config.REWARD_DIE) World.announceToOnlinePlayers("TvT Event: Event ended in a Tie. No rewards will be given!", true); else if (_blueTeamKills > _redTeamKills) teamWinner = TeamType.BLUE; else teamWinner = TeamType.RED; if (teamWinner == TeamType.NONE) World.announceToOnlinePlayers("TvT Event: The event ends in a draw!"); else { for (Player player : World.getInstance().getPlayers()) { if (player == null) continue; // Prizes are awarded to the winning team. if (player.getTeam() == teamWinner) { for (IntIntHolder reward : Config.TVT_REWARDS) player.addItem("TvTReward", reward.getId(), reward.getValue(), null, true); } } } for (Player player : World.getInstance().getPlayers()) { if (player.isDead()) player.doRevive(); removePlayer(player); player.teleToLocation(player.getOriginalCoordinates()); } } _blueTeam.clear(); _redTeam.clear(); _blueTeamKills = 0; _redTeamKills = 0; }
  7. Eu add este TVT na minha source e funcionou perfeitamente. Obrigado. Ficarei no aguardo por atualizações.
  8. Error Fixed. The problem was conflict with another mod. Thank you!
  9. All right, my friend. Thanks for answering me. Could someone besides him help me? aCis 374
  10. I noticed an error in the console: help-me?
  11. Name with black color, how do you leave it white? :/ aCis 374.
×
×
  • Create New...