Jump to content

AccessDenied

Banned
  • Posts

    2,105
  • 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...

Important Information

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..

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock