Jump to content

Elfo

Legendary Member
  • Posts

    2,009
  • Credits

  • Joined

  • Last visited

  • Days Won

    54
  • Feedback

    0%

Community Answers

  1. Elfo's post in JDT Core was marked as the answer   
    This one is only guaranteed if you're using try-with-resources btw. In some cases they will eventually close because they will get forced by the GC (even though they are unmanaged, the JVM will try to close when possible before disposing) but it's not guaranteed and they can cause socket exhaustion.
  2. Elfo's post in ExServerPrimitive was marked as the answer   
    So here is what happens and trust me it took me a fuck ton of time to figure this out when I originally used it in L2BattleRoyale. This is also unique to Interlude and I don't think in happens in future chronicles which means they fixed it. 
     
    If both players spawned near the area where the initial creation of the packet happens then they can both see it fine because I am assuming you are using current location as the ExServerPrimitive initial center point. However, if you spawned away from where the packet is created then you cannot see it.
     
    In order to fix that you have to store the original Location (x, y, z) of the player when they EnterWorld.
    When you create an ExServerPrimitive package you need to provide a name, an x, a y and a z. These values NEED to be the X of the spawn location and the Y of the spawn location. The Z can be -65535 to ensure that the icon will be below the ground.
     
    Once you do that this will stop happening.
     
    Here is how I handle it in Autobots:
    Create Circle Packet method
    Using EnterWorld location to initialize the package
    Storing the EnterWorld location
  3. Elfo's post in Password Encryption was marked as the answer   
    Pare ta bytes apo to string mesw ASCII encoding kai kane combine hash se SHA1.
    Meta olo auto se Base64 kai exeis to hashing to l2j.
     
    Parola auta na shmeiwthei edw oti einai para ma para polu evaloto hashing method kai den tha eprepe na xreisimopoihte.
×
×
  • Create New...