Jump to content

AccessDenied

Banned
  • Posts

    2,105
  • Credits

  • Joined

  • Last visited

  • Days Won

    8
  • Feedback

    100%

Community Answers

  1. AccessDenied's post in Best Way For Randomly Split was marked as the answer   
    You can use the 
    Collections.shuffle(list) to suffle the list.
    After you add the elements onto the list use it to suffle it.
  2. AccessDenied's post in L2Jhellas Compile Error was marked as the answer   
    Go at eclipse TOOLS -> Install new software  and find the  Tigris Subeclipse 1.8x on google (link) copy it and paste it inside the box of eclipse
    and click next -> Tik both boxes and install. 
  3. AccessDenied's post in Olympiad Period For Acis was marked as the answer   
    Honey you mean this code:
    public void olympiadEnd(L2PcInstance player) { long milliToEnd; if(_period == 0) { milliToEnd = getMillisToOlympiadEnd(); } else { milliToEnd = getMillisToValidationEnd(); } double numSecs = milliToEnd / 1000 % 60; double countDown = (milliToEnd / 1000 - numSecs) / 60; int numMins = (int) Math.floor(countDown % 60); countDown = (countDown - numMins) / 60; int numHours = (int) Math.floor(countDown % 24); int numDays = (int) Math.floor((countDown - numHours) / 24); CreatureSay cs = new CreatureSay(0, Say2.ANNOUNCEMENT, "", "Olympiad period ends in " + numDays + " days, " + numHours + " hours and " + numMins + " mins."); player.sendPacket(cs); } No working?
×
×
  • Create New...