Problem with worldmap.<init> -

125 views
Skip to first unread message

Ignacio BM

unread,
Sep 26, 2021, 7:31:45 AM9/26/21
to l1j-en
Hello,

I have got a new problem, seems a code problem:

2021.09.26 13:25:42 L1WorldMap.<init> SEVERE: Index 128 out of bounds for length 128
2021.09.26 13:25:42 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 have been checking online, and seems it's a problem cause the index number is outside of the numbers permited or somethink similar, but I can't see where is the problem.

Any ideas?

Thank you


Rob Abbott

unread,
Jul 29, 2022, 9:51:45 PM7/29/22
to l1j-en
Hey all - thanks for your efforts on this project!  Long time lineage player here from the Ken server days.

I'm having the same issue as above with the 3.63 server.  I'm a software engineer by trade, but with little Java experience.  Looks like the loop here is trying to load an index that doesn't exist?  I tried modifying / removing this method and re-running the "ant" command to build the project, but to no avail.  Any suggestions would be appreciated!

I was able to get the classic server running no problem, but can't seem to get the classic client running on Windows 10.

Thanks!!
Rob

Rob Abbott

unread,
Jul 29, 2022, 10:39:04 PM7/29/22
to l1j-en
Was able to solve this by applying the latest SQL update "update_085.sql".  Sorry for the extra posts!
Reply all
Reply to author
Forward
Message has been deleted
0 new messages