Jump to content
  • 0

Problem in L2J Please help!!


Question

Posted

Hi.I have a problem with my server.I start my server and it starts normally.Now when I try to login from a local PC my ping is always 5.Server is live and for anyone who tries to login ping is 5 again.And after about 4-6 hours server stops working.It stucks.In the past I didn't have this problem.For example when I was logging from my local PC the ping was 0 or 1.And if another person was trying to log in his/her ping was different and server was working fine.Can anybody tell me how can I solve this problem?It came up when I added Scheme Buffer and some other NPCs.I removed them but nothing.Any help?My main question is : My problem is the ping (always 5) or something else?

 

Thanks a lot for your time.

9 answers to this question

Recommended Posts

  • 0
Posted

I think your problem is RAM.

 

You using l2j freya, right? I think you using bad java specs inside .bat files and your server crashes, because of RAM memory. Read the logs, there you will find the problem.

  • 0
Posted

usually, a personal computer isnt enough to run a l2jserver, moreover if you run any l2 client in such computer as well.

A probe of that is that local network should have 0 ping and is exhasuted enough to have a 5 ms delay

  • 0
Posted

First thanks a lot for your time guys.Now I don't think the problem is my RAM because I had my server online for a long time in the past and it never crashed.It start crashing when I add some custom NPCs...Like GrandBoss manager, scheme buffer, pvp-pk manager and noblesse master.I removed them but nothing.Do I need to start my server all over again ?I mean do I need to delete my current datapack sql database (after keeping a backup) and start all over again?And yes my server used L2J Freya.Thanks again guys.

  • 0
Posted

those scripts perform connections to database

 

example

Connection con = null;
try
{
con = L2DatabaseFactory.getInstance().getConnection();
// Do stuff...
}
catch(Exception e)
{
}

 

and, at the end they dont close the database like this:

finally
{
L2DatabaseFactory.close(con);
}

 

or like this

finally
{
try
{
	if(con != null)
		con.close();
}
catch(Exception e) {}
}

  • 0
Posted

Unclosed connections are automatically verified through ConnectionCloser (if you use reworked IL or post IL you should have it). Avoid to use Python buffers, or even Python, at all. You got 0 lisibility if it got errors.

 

If your server is reachable by anyone, verify about logs. It can be some packet floods.

  • 0
Posted

Unclosed connections are automatically verified through ConnectionCloser (if you use reworked IL or post IL you should have it). Avoid to use Python buffers, or even Python, at all. You got 0 lisibility if it got errors.

 

 

If your server is reachable by anyone, verify about logs. It can be some packet floods.

No I tried everything but no result.What should I do guys please.I deleted all of my files and set them up again but nothing.I am thinking of formating my PC and start all over again.Any ideas?

P.S : I am using Rind4s buffer.It is a scripted Scheme buffer.Should I upload it and see if there is a problem there?Now about "Unclosed connections are automatically verified through ConnectionCloser (if you use reworked IL or post IL you should have it" and "If your server is reachable by anyone, verify about logs. It can be some packet floods" What does this means and how can I found if the problem is there?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • DEVELOPMENT UPDATE #3   PLAYER SHOPS AND OFFLINE TRADING   Vaelor keeps trading in the hands of players while providing tools that make private stores easier to find and maintain. Search active player stores through Alt+B. Search by item name and view the available quantities and prices. Use Locate to mark the selected store on the map. Open a private store and continue selling while the game client is closed. Offline shops can remain active for up to 48 hours. A maximum of one offline shop can be active per device. Store information is saved after activation and updated as items are sold. Saved shops are restored following a server restart.   ━━━━━━━━━━━━━━━━━━━━━━   Open Beta is currently running.   Create account: https://l2vaelor.com/register Download: https://l2vaelor.com/#download Discord: https://discord.gg/qMgPxH2fd4
    • 🔒 Zero Password Required: 1-Click upgrade link gives you instant 5TB + Gemini Pro without sharing sensitive account credentials!     FINAL CALL: Google is Shutting This Down After October 2026! Google will NEVER bring back this window of opportunity again. Once this month ends, this massive backdoor upgrade is gone permanently!  BUY 2, GET 1 FREE IS STILL LIVE! Stock up now for yourself, your family, your business, and your friends! Think about it: Every single person you know uses a Gmail account, and everyone is running out of storage. Don't let your loved ones get trapped paying $20–$30 every single month when you can set them up with 5TB Cloud Storage + Gemini Advanced (12–18 Months) right now for only $15! Why Buy Bulk Activations Today? Instant Gift Value: Perfect lifetime-style gift for clients, family, or team members. 100% Private & Safe: Activates on personal Gmails—zero passwords or logins required. Global Access: Works worldwide with zero VPN hassles. Instant Automated Delivery: Receive your activation links in seconds 24/7! ‍ Time is running out fast—secure your extra free licenses before the October deadline hits! Order Your Bundle Now on the Website
  • Topics

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