Jump to content
  • 0

Problem at game server console Interlude


Question

Posted

 

Hello, I have a very big problem. This problem does not allow the server to start and if the server starts it will restart it automatically. What's the problem ?

 

Exception in a Runnable execution:java.lang.IndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.IndexOutOfBoundsException: Index 1 out of bounds for length 1
    at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
    at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
    at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
    at java.base/java.util.Objects.checkIndex(Objects.java:372)
    at java.base/java.util.ArrayList.remove(ArrayList.java:535)
    at net.sf.l2j.gameserver.eola.eventengine.EventManager.scheduleNextEvent(EventManager.java:74)
    at net.sf.l2j.gameserver.eola.eventengine.AbstractEvent.cleanUp(AbstractEvent.java:395)
    at net.sf.l2j.gameserver.eola.eventengine.AbstractEvent.abort(AbstractEvent.java:194)
    at net.sf.l2j.gameserver.eola.eventengine.events.DM.start(DM.java:55)
    at net.sf.l2j.gameserver.eola.eventengine.events.DM.lambda$run$0(DM.java:47)
    at net.sf.l2j.commons.concurrent.ThreadPool$TaskWrapper.run(ThreadPool.java:252)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:834)

 

 

12 answers to this question

Recommended Posts

  • 0
Posted
FATAL: Failed to open server socket. Reason: Address already in use
Address already in use
----------------------------------------------------=[ Under SIGTERM process ]
ThreadPool: Shutting down.

 

  • 0
Posted
18 minutes ago, TreVor said:

FATAL: Failed to open server socket. Reason: Address already in use
Address already in use
----------------------------------------------------=[ Under SIGTERM process ]
ThreadPool: Shutting down.

 

kai basika mias k exeis balei eola..8a exeis polla problimata 

  • 0
Posted (edited)

ok and this problem ?

Quote

Exception in a Runnable execution:java.lang.IndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.IndexOutOfBoundsException: Index 1 out of bounds for length 1
    at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
    at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
    at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
    at java.base/java.util.Objects.checkIndex(Objects.java:372)
    at java.base/java.util.ArrayList.remove(ArrayList.java:535)
    at net.sf.l2j.gameserver.eola.eventengine.EventManager.scheduleNextEvent(EventManager.java:74)
    at net.sf.l2j.gameserver.eola.eventengine.AbstractEvent.cleanUp(AbstractEvent.java:395)
    at net.sf.l2j.gameserver.eola.eventengine.AbstractEvent.abort(AbstractEvent.java:194)
    at net.sf.l2j.gameserver.eola.eventengine.events.DM.start(DM.java:55)
    at net.sf.l2j.gameserver.eola.eventengine.events.DM.lambda$run$0(DM.java:47)
    at net.sf.l2j.commons.concurrent.ThreadPool$TaskWrapper.run(ThreadPool.java:252)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:834)

 

Edited by TreVor
  • 0
Posted

something wrong with your events try to disable them

execution:java.lang.IndexOutOfBoundsException: Index 1 out of bounds for length 1

on your task of Death Match event something wrong there

  • 0
Posted (edited)
1 hour ago, TreVor said:

ok and this problem ?

 

You are trying to access a non-existent index, for example you have an array of size 4, and you are trying to access index 4 onwards, you must remember that the indexes start from number 0

Edited by TGSLineage2
  • 0
Posted
4 minutes ago, TreVor said:

Ok men , you can fix this problem for money?

 

Try to do it yourself, look in these lines for the index inconsistency that indicates.

 

net.sf.l2j.gameserver.eola.eventengine.EventManager.scheduleNextEvent(EventManager.java:74)
    at net.sf.l2j.gameserver.eola.eventengine.AbstractEvent.cleanUp(AbstractEvent.java:395)
    at net.sf.l2j.gameserver.eola.eventengine.AbstractEvent.abort(AbstractEvent.java:194)
    at net.sf.l2j.gameserver.eola.eventengine.events.DM.start(DM.java:55)
    at

  • 0
Posted

And i have second problem.

 

Client: [IP: 92.63.111.139] - Failed reading: [C] ProtocolVersion ; java.nio.BufferUnderflowException
null
java.nio.BufferUnderflowException
    at java.base/java.nio.Buffer.nextGetIndex(Buffer.java:647)
    at java.base/java.nio.HeapByteBuffer.getInt(HeapByteBuffer.java:388)
    at net.sf.l2j.commons.mmocore.ReceivablePacket.readD(ReceivablePacket.java:45)
    at net.sf.l2j.gameserver.network.clientpackets.ProtocolVersion.readImpl(ProtocolVersion.java:14)
    at net.sf.l2j.gameserver.network.clientpackets.L2GameClientPacket.read(L2GameClientPacket.java:30)
    at net.sf.l2j.commons.mmocore.SelectorThread.parseClientPacket(SelectorThread.java:430)
    at net.sf.l2j.commons.mmocore.SelectorThread.tryReadPacket(SelectorThread.java:367)
    at net.sf.l2j.commons.mmocore.SelectorThread.readPacket(SelectorThread.java:300)
    at net.sf.l2j.commons.mmocore.SelectorThread.run(SelectorThread.java:172)

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

    • Inventory restock: Premium business accounts are now available.   ✔ Wallester Business EU 🇪🇺|💳 Unlimited virtual cards, physical cards, 🏦 multi-currency IBAN, ₿ crypto & stablecoin deposits. ✔ Stripe Business UK 🇬🇧|💳 Instant virtual cards (Visa/Mastercard), high-conversion checkout, multi-currency payouts, ₿ crypto payments, no-code payment links. ✔ Mercury Business US 🇺🇸|🏦 US checking & savings, 💳 unlimited virtual cards, domestic & International wires, native stablecoin settlement. ✔ Payset Business EU 🇪🇺|🏦 Multiple IBANs, UK sort code, SEPA Instant, 💳 unlimited virtual cards, multi-currency accounts. ✔ Novo Business US 🇺🇸|🏦 Business checking account, ACH payments & invoicing, 💳 virtual & physical cards, novo boost.
    • Let me see if I understand correctly, older gentlemen, when a newcomer shows up to create modern things with the help of AI, doing what you charge them to do, you point the finger and laugh. I believe that's why everything is stagnant. The product isn't for programming experts, it's for newcomers. Don't buy from you if they can do it themselves using this base. You're going to deliver a similar product, maybe even worse than this one, so why are you complaining? PowerShell, as you well know, started with it, then came new platforms and new apps, new creation models, all with different languages; I chose the simplest one for my taste. This is about being organized and knowing how to choose the right words for each situation. It's not 100%, but it already gives a good impression. Nothing is 100%, so a topic written by AI, and all the code that you charge an absurd amount for to prohibit and sell hacks, could be open source so that everyone can create new practices, new models, new information for passing packets, prohibiting the use of cheats that cause server owners to break so much. Let's remember that the Admin doesn't always shut down the server; it's the players who find problems and take advantage by buying and reselling items, and they say that the GM shuts down the server every week, but that's a lie. What they do is duplicate items with packages and sell them, but perhaps this could give some future developers a starting point to create their own protection following the model in the initial documentation. Because none of you answer a question from a newbie, you think you're superior because you have knowledge, but with AI, people like that can have the same knowledge as you, but with less practice. And if they practice a lot, 10,000 hours, they can be as good as all of you older developers in the L2J field.
    • ✨ Exclusive Offer for Marketplace Growth 🔥 Elevate your performance with a premium bonus. 💲 Top up your balance with $100 or more and receive an additional $5 credit — seamlessly added to your account. ⭐️ Designed for those who value efficiency, scale, and results. ⚡️ Effortless. Refined. Effective. 💥 Enhance your strategy today 💥
  • 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..