ArrayIndexOutOfBoundsException when running serverstart batch file

142 views
Skip to first unread message

Lew

unread,
Aug 7, 2023, 2:53:17 PM8/7/23
to l1j-en
I was able to compile everything with ANT, and I connect to the DB, however when I run the severstart batch file, it fails rather quickly with this error:

2023.08.07 13:49:05 L1WorldMap.<init> INFO: Loading Map...
2023.08.07 13:49:05 MapsTable.loadMapsFromDatabase INFO: Maps 545
2023.08.07 13:49:06 L1WorldMap.<init> SEVERE: Index 128 out of bounds for length 128
2023.08.07 13:49:06 java.lang.ArrayIndexOutOfBoundsException: Index 128 out of bounds for length 128
        at l1j.server.server.model.map.TextMapReader.read(TextMapReader.java:87)
        at l1j.server.server.model.map.TextMapReader.read(TextMapReader.java:113)
        at l1j.server.server.model.map.TextMapReader.read(TextMapReader.java:149)
        at l1j.server.server.model.map.L1WorldMap.<init>(L1WorldMap.java:46)
        at l1j.server.server.model.map.L1WorldMap.getInstance(L1WorldMap.java:36)
        at l1j.server.server.GameServerThread.<init>(GameServerThread.java:177)
        at l1j.server.server.GameServerThread.getInstance(GameServerThread.java:95)
        at l1j.server.server.GameServer.initialize(GameServer.java:139)
        at l1j.server.Server.main(Server.java:73)

I'm currently running MySQL 8.034, but have tried older version all the way back to 5.7.. no luck. Not much on this error as well after searching in this group.

Any help would be appreciated

Lew

unread,
Aug 9, 2023, 12:31:12 AM8/9/23
to l1j-en
Update** I resolved that aforementioned issue by running the update SQL query in the DB folder.. even though it said not to.. 

I then ran into a class cast exception, which I resolved by changing my Java connector to 8.0.22 & deleting the 5. version

Now I am getting a Client server mismatch..... 

I downloaded the 363 client from linfreeplay, but I guess its not the 363 version I need.. however that works, no idea.  Anyone know of a 363 client that will work with the 363 branch?

Lew

unread,
Aug 11, 2023, 9:35:21 AM8/11/23
to l1j-en
L1Justice worked 

Cory

unread,
Jul 17, 2024, 4:11:54 AM7/17/24
to l1j-en
hi there, i am running into this same error, what did you run? update_085.sql?

Peter Lindström

unread,
Sep 22, 2024, 4:12:26 PM9/22/24
to l1j-en
How did it go with the server + client Lew? 

I've got the server running now without any faulty messages but am having difficulty connecting with a client. Tried L1 Justice but got errors first with date (needed to set back time to 2007) and then got additional error messages leading up to the guardian application. Any hints? =) What launcher did you use? 

Peter Lindström

unread,
Sep 22, 2024, 5:43:07 PM9/22/24
to l1j-en
Update: Got it to work :)

Cory

unread,
Jan 10, 2025, 8:59:12 PMJan 10
to l1j-en
Hey Peter, could you share what you did with me? 

eric wong

unread,
Jul 15, 2025, 2:00:45 AMJul 15
to l1j-en
hey, can you share the L1Justice file?
Reply all
Reply to author
Forward
0 new messages