Проблема с ГЕО

Ne1s

Прославленный
Местный
За заслуги перед форумом
За веру и верность форуму
Сообщения
314
Розыгрыши
0
Репутация
354
Реакции
142
Баллы
1 435
Вот такая ошибка пишется при установке любой геодаты, если убрать квадраты на которые начинает ругаться, то ругается на любой другой, может есть знающие добрые люди. 32 ГБ оперы, процессор 2х8 ядер, 15к рпм
Код:
INFO GeoEngine: File 27_21.l2j was not loaded!!!
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 16
    at ITGround.gameserver.geodata.GeoEngine.LoadGeodata(GeoEngine.java:1171)
    at ITGround.gameserver.geodata.GeoEngine.load(GeoEngine.java:1130)
    at ITGround.gameserver.GameServer.<init>(GameServer.java:124)
    at ITGround.gameserver.GameServer.main(GameServer.java:275)
 

насколько понял из мануалов, то стоят недопустимые значения аргументов, хотя я могу и ошибаться
 
Выход за границы массива :/ Какие еще аргументы? Смотрите по коду, что и откуда выходит, тем более, что стек весь расписан.
 
Насколько я помню, с загрузкой геодаты проблем не было, может эта сборка использует только оф-вараинт .dat гео?
То что ошибка - выход индекса за границу массива - это понятно. Может еще быть что "эдакая" геодата - попробовать другую.
 
Насколько я помню, с загрузкой геодаты проблем не было, может эта сборка использует только оф-вараинт .dat гео?
То что ошибка - выход индекса за границу массива - это понятно. Может еще быть что "эдакая" геодата - попробовать другую.
Пробовал все геодаты с этого форума, мне тут подсказали что это из-за того что сурс который я мучаю оверовский, а вся геодата которая тут для лыжеподобных

Вот
 
Исходя из кода в геодвиге, можно предположить что используется геоадата других хроник, или кривые настройки размера мира.
 
Код:
  final int ix = rx - Config.GEO_X_FIRST;
  final int iy = ry - Config.GEO_Y_FIRST;
Настраиваем конфиги. А так же проверяем размеры мира:
Код:
  rawgeo = new MappedByteBuffer[World.WORLD_SIZE_X][World.WORLD_SIZE_Y];

И да. Это все очень похоже на правленый декомпил.
 
Код:
  final int ix = rx - Config.GEO_X_FIRST;
  final int iy = ry - Config.GEO_Y_FIRST;
Настраиваем конфиги. А так же проверяем размеры мира:
Код:
  rawgeo = new MappedByteBuffer[World.WORLD_SIZE_X][World.WORLD_SIZE_Y];

И да. Это все очень похоже на правленый декомпил.

80% что это и есть декомпил, по этому могут быть и косяки. Лучше пеерписать(взять с опенсорса) геодвиг, чем разгребать где может быть ошибка.
 
Код:
  final int ix = rx - Config.GEO_X_FIRST;
  final int iy = ry - Config.GEO_Y_FIRST;
Настраиваем конфиги. А так же проверяем размеры мира:
Код:
  rawgeo = new MappedByteBuffer[World.WORLD_SIZE_X][World.WORLD_SIZE_Y];

И да. Это все очень похоже на правленый декомпил.
Может и декомпил, нашел в интернете, по функционалу мне подошло, вот и решил заняться ею. Правда знаний пока нет, все очень-очень поверхностно
 
Может и декомпил, нашел в интернете, по функционалу мне подошло, вот и решил заняться ею. Правда знаний пока нет, все очень-очень поверхностно
"По функционалу"? Это слова "функционал", а на деле проблемы начинаются еще на стадии загрузки - вот вам реальный "пофункционал".
Тут гео-движок пытаются разные люди, иногда знающие дорабатывать, и не все устраивает еще.
 
проблем нет, ну кроме геодаты

Слезно прошу помощи, и прощения за назойливость. Посмотрите правильно ли указан размер мира
После того как подгрузил гео полезли ошибки:
Код:
[22:27:12]  INFO GeoEngine: Loading Geodata...
[22:27:12]  INFO GeoEngine: Loading: 23_15.l2j
[22:27:12]  INFO GeoEngine: Loading: 25_12.l2j
[22:27:12]  INFO GeoEngine: Loading: 17_13.l2j
[22:27:12]  INFO GeoEngine: Loading: 20_17.l2j
[22:27:12]  INFO GeoEngine: Loading: 17_21.l2j
[22:27:12]  INFO GeoEngine: Loading: 20_15.l2j
[22:27:12]  INFO GeoEngine: Loading: 17_15.l2j
[22:27:12]  INFO GeoEngine: Loading: 22_13.l2j
[22:27:12]  INFO GeoEngine: Loading: 19_19.l2j
[22:27:12]  INFO GeoEngine: Loading: 15_23.l2j
[22:27:12]  INFO GeoEngine: Loading: 16_11.l2j
[22:27:12]  INFO GeoEngine: Loading: 15_21.l2j
[22:27:12]  INFO GeoEngine: Loading: 13_21.l2j
[22:27:12]  INFO GeoEngine: Loading: 26_12.l2j
[22:27:12]  INFO GeoEngine: Loading: 26_18.l2j
[22:27:13]  INFO GeoEngine: Loading: 11_25.l2j
[22:27:13]  INFO GeoEngine: Loading: 14_23.l2j
[22:27:13]  INFO GeoEngine: Loading: 24_16.l2j
[22:27:13]  INFO GeoEngine: Loading: 12_23.l2j
[22:27:13]  INFO GeoEngine: Loading: 24_14.l2j
[22:27:13]  INFO GeoEngine: Loading: 26_19.l2j
[22:27:13]  INFO GeoEngine: Loading: 25_19.l2j
[22:27:13]  INFO GeoEngine: Loading: 20_12.l2j
[22:27:13]  INFO GeoEngine: Loading: 26_15.l2j
[22:27:13]  INFO GeoEngine: Loading: 15_19.l2j
[22:27:13]  INFO GeoEngine: Loading: 21_25.l2j
[22:27:13]  INFO GeoEngine: Loading: 19_10.l2j
[22:27:13]  INFO GeoEngine: Loading: 23_13.l2j
[22:27:13]  INFO GeoEngine: Loading: 20_26.l2j
[22:27:13]  INFO GeoEngine: Loading: 19_21.l2j
[22:27:13]  INFO GeoEngine: Loading: 17_18.l2j
[22:27:13]  INFO GeoEngine: Loading: 21_18.l2j
[22:27:13]  INFO GeoEngine: Loading: 13_26.l2j
[22:27:13]  INFO GeoEngine: Loading: 23_18.l2j
[22:27:13]  INFO GeoEngine: Loading: 21_12.l2j
[22:27:13]  INFO GeoEngine: Loading: 25_16.l2j
[22:27:13]  INFO GeoEngine: Loading: 22_18.l2j
[22:27:13]  INFO GeoEngine: Loading: 15_10.l2j
[22:27:13]  INFO GeoEngine: Loading: 19_18.l2j
[22:27:13]  INFO GeoEngine: Loading: 26_22.l2j
[22:27:13]  INFO GeoEngine: Loading: 17_16.l2j
[22:27:13]  INFO GeoEngine: Loading: 19_13.l2j
[22:27:13]  INFO GeoEngine: Loading: 27_21.l2j
[22:27:13]  INFO GeoEngine: Loading: 23_12.l2j
[22:27:13]  INFO GeoEngine: Loading: 18_10.l2j
[22:27:13]  INFO GeoEngine: Loading: 19_14.l2j
[22:27:13]  INFO GeoEngine: Loading: 18_18.l2j
[22:27:13]  INFO GeoEngine: Loading: 22_16.l2j
[22:27:13]  INFO GeoEngine: Loading: 18_15.l2j
[22:27:13]  INFO GeoEngine: Loading: 19_26.l2j
[22:27:13]  INFO GeoEngine: Loading: 24_15.l2j
[22:27:13]  INFO GeoEngine: Loading: 15_22.l2j
[22:27:13]  INFO GeoEngine: Loading: 24_11.l2j
[22:27:13]  INFO GeoEngine: Loading: 23_10.l2j
[22:27:13]  INFO GeoEngine: Loading: 18_25.l2j
[22:27:13]  INFO GeoEngine: Loading: 24_21.l2j
[22:27:13]  INFO GeoEngine: Loading: 23_14.l2j
[22:27:13]  INFO GeoEngine: Loading: 20_16.l2j
[22:27:13]  INFO GeoEngine: Loading: 16_17.l2j
[22:27:13]  INFO GeoEngine: Loading: 23_22.l2j
[22:27:13]  INFO GeoEngine: Loading: 20_23.l2j
[22:27:13]  INFO GeoEngine: Loading: 24_25.l2j
[22:27:13]  INFO GeoEngine: Loading: 23_24.l2j
[22:27:13]  INFO GeoEngine: Loading: 16_21.l2j
[22:27:13]  INFO GeoEngine: Loading: 23_23.l2j
[22:27:13]  INFO GeoEngine: Loading: 19_25.l2j
[22:27:13]  INFO GeoEngine: Loading: 17_26.l2j
[22:27:13]  INFO GeoEngine: Loading: 25_15.l2j
[22:27:14]  INFO GeoEngine: Loading: 23_21.l2j
[22:27:14]  INFO GeoEngine: Loading: 24_17.l2j
[22:27:14]  INFO GeoEngine: Loading: 21_10.l2j
[22:27:14]  INFO GeoEngine: Loading: 13_23.l2j
[22:27:14]  INFO GeoEngine: Loading: 24_19.l2j
[22:27:14]  INFO GeoEngine: Loading: 25_22.l2j
[22:27:14]  INFO GeoEngine: Loading: 16_23.l2j
[22:27:14]  INFO GeoEngine: Loading: 21_13.l2j
[22:27:14]  INFO GeoEngine: Loading: 21_19.l2j
[22:27:14]  INFO GeoEngine: Loading: 15_20.l2j
[22:27:14]  INFO GeoEngine: Loading: 16_15.l2j
[22:27:14]  INFO GeoEngine: Loading: 17_12.l2j
[22:27:14]  INFO GeoEngine: Loading: 20_19.l2j
[22:27:14]  INFO GeoEngine: Loading: 15_26.l2j
[22:27:14]  INFO GeoEngine: Loading: 22_11.l2j
[22:27:14]  INFO GeoEngine: Loading: 18_22.l2j
[22:27:14]  INFO GeoEngine: Loading: 20_21.l2j
[22:27:14]  INFO GeoEngine: Loading: 11_24.l2j
[22:27:14]  INFO GeoEngine: Loading: 16_10.l2j
[22:27:14]  INFO GeoEngine: Loading: 18_11.l2j
[22:27:14]  INFO GeoEngine: Loading: 22_26.l2j
[22:27:14]  INFO GeoEngine: Loading: 17_10.l2j
[22:27:14]  INFO GeoEngine: Loading: 23_20.l2j
[22:27:14]  INFO GeoEngine: Loading: 24_12.l2j
[22:27:14]  INFO GeoEngine: Loading: 17_11.l2j
[22:27:14]  INFO GeoEngine: Loading: 24_23.l2j
[22:27:14]  INFO GeoEngine: Loading: 23_17.l2j
[22:27:14]  INFO GeoEngine: Loading: 15_11.l2j
[22:27:14]  INFO GeoEngine: Loading: 12_26.l2j
[22:27:14]  INFO GeoEngine: Loading: 18_21.l2j
[22:27:14]  INFO GeoEngine: Loading: 15_25.l2j
[22:27:14]  INFO GeoEngine: Loading: 23_19.l2j
[22:27:14]  INFO GeoEngine: Loading: 19_16.l2j
[22:27:14]  INFO GeoEngine: Loading: 25_20.l2j
[22:27:14]  INFO GeoEngine: Loading: 21_22.l2j
[22:27:14]  INFO GeoEngine: Loading: 19_23.l2j
[22:27:14]  INFO GeoEngine: Loading: 23_26.l2j
[22:27:14]  INFO GeoEngine: Loading: 16_14.l2j
[22:27:14]  INFO GeoEngine: Loading: 23_11.l2j
[22:27:14]  INFO GeoEngine: Loading: 23_16.l2j
[22:27:14]  INFO GeoEngine: Loading: 22_22.l2j
[22:27:14]  INFO GeoEngine: Loading: 18_20.l2j
[22:27:14]  INFO GeoEngine: Loading: 18_17.l2j
[22:27:14]  INFO GeoEngine: Loading: 23_25.l2j
[22:27:14]  INFO GeoEngine: Loading: 20_25.l2j
[22:27:14]  INFO GeoEngine: Loading: 19_20.l2j
[22:27:14]  INFO GeoEngine: Loading: 16_24.l2j
[22:27:15]  INFO GeoEngine: Loading: 24_26.l2j
[22:27:15]  INFO GeoEngine: Loading: 14_22.l2j
[22:27:15]  INFO GeoEngine: Loading: 14_26.l2j
[22:27:15]  INFO GeoEngine: Loading: 21_21.l2j
[22:27:15]  INFO GeoEngine: Loading: 22_24.l2j
[22:27:15]  INFO GeoEngine: Loading: 18_16.l2j
[22:27:15]  INFO GeoEngine: Loading: 20_11.l2j
[22:27:15]  INFO GeoEngine: Loading: 21_24.l2j
[22:27:15]  INFO GeoEngine: Loading: 17_20.l2j
[22:27:15]  INFO GeoEngine: Loading: 21_23.l2j
[22:27:15]  INFO GeoEngine: Loading: 22_17.l2j
[22:27:15]  INFO GeoEngine: Loading: 20_22.l2j
[22:27:15]  INFO GeoEngine: Loading: 21_16.l2j
[22:27:15]  INFO GeoEngine: Loading: 16_20.l2j
[22:27:15]  INFO GeoEngine: Loading: 17_24.l2j
[22:27:15]  INFO GeoEngine: Loading: 20_13.l2j
[22:27:15]  INFO GeoEngine: Loading: 21_15.l2j
[22:27:15]  INFO GeoEngine: Loading: 24_24.l2j
[22:27:15]  INFO GeoEngine: Loading: 17_19.l2j
[22:27:15]  INFO GeoEngine: Loading: 16_19.l2j
[22:27:15]  INFO GeoEngine: Loading: 16_18.l2j
[22:27:15]  INFO GeoEngine: Loading: 16_26.l2j
[22:27:15]  INFO GeoEngine: Loading: 25_17.l2j
[22:27:15]  INFO GeoEngine: Loading: 20_10.l2j
[22:27:15]  INFO GeoEngine: Loading: 11_26.l2j
[22:27:15]  INFO GeoEngine: Loading: 24_13.l2j
[22:27:15]  INFO GeoEngine: Loading: 21_11.l2j
[22:27:15]  INFO GeoEngine: Loading: 21_17.l2j
[22:27:15]  INFO GeoEngine: Loading: 28_20.l2j
[22:27:15]  INFO GeoEngine: Loading: 25_11.l2j
[22:27:15]  INFO GeoEngine: Loading: 27_20.l2j
[22:27:15]  INFO GeoEngine: Loading: 16_22.l2j
[22:27:15]  INFO GeoEngine: Loading: 15_24.l2j
[22:27:15]  INFO GeoEngine: Loading: 24_22.l2j
[22:27:15]  INFO GeoEngine: Loading: 21_20.l2j
[22:27:15]  INFO GeoEngine: Loading: 26_11.l2j
[22:27:15]  INFO GeoEngine: Loading: 22_10.l2j
[22:27:15]  INFO GeoEngine: Loading: 19_11.l2j
[22:27:15]  INFO GeoEngine: Loading: 19_12.l2j
[22:27:15]  INFO GeoEngine: Loading: 19_24.l2j
[22:27:15]  INFO GeoEngine: Loading: 21_14.l2j
[22:27:15]  INFO GeoEngine: Loading: 13_22.l2j
[22:27:15]  INFO GeoEngine: Loading: 19_15.l2j
[22:27:16]  INFO GeoEngine: Loading: 18_23.l2j
[22:27:16]  INFO GeoEngine: Loading: 27_19.l2j
[22:27:16]  INFO GeoEngine: Loading: 25_21.l2j
[22:27:16]  INFO GeoEngine: Loading: 11_23.l2j
[22:27:16]  INFO GeoEngine: Loading: 18_14.l2j
[22:27:16]  INFO GeoEngine: Loading: 22_20.l2j
[22:27:16]  INFO GeoEngine: Loading: 22_14.l2j
[22:27:16]  INFO GeoEngine: Loading: 17_25.l2j
[22:27:16]  INFO GeoEngine: Loading: 17_23.l2j
[22:27:16]  INFO GeoEngine: Loading: 22_12.l2j
[22:27:16]  INFO GeoEngine: Loading: 20_14.l2j
[22:27:16]  INFO GeoEngine: Loading: 17_22.l2j
[22:27:16]  INFO GeoEngine: Loading: 26_14.l2j
[22:27:16]  INFO GeoEngine: Loading: 15_18.l2j
[22:27:16]  INFO GeoEngine: Loading: 18_19.l2j
[22:27:16]  INFO GeoEngine: Loading: 22_15.l2j
[22:27:16]  INFO GeoEngine: Loading: 22_21.l2j
[22:27:16]  INFO GeoEngine: Loading: 15_12.l2j
[22:27:16]  INFO GeoEngine: Loading: 24_10.l2j
[22:27:16]  INFO GeoEngine: Loading: 12_24.l2j
[22:27:16]  INFO GeoEngine: Loading: 20_20.l2j
[22:27:16]  INFO GeoEngine: Loading: 12_25.l2j
[22:27:16]  INFO GeoEngine: Loading: 19_22.l2j
[22:27:17]  INFO GeoEngine: Loading: 19_17.l2j
[22:27:17]  INFO GeoEngine: Loading: 25_18.l2j
[22:27:17]  INFO GeoEngine: Loading: 26_21.l2j
[22:27:17]  INFO GeoEngine: Loading: 18_13.l2j
[22:27:17]  INFO GeoEngine: Loading: 22_19.l2j
[22:27:17]  INFO GeoEngine: Loading: 25_23.l2j
[22:27:17]  INFO GeoEngine: Loading: 14_21.l2j
[22:27:17]  INFO GeoEngine: Loading: 24_20.l2j
[22:27:17]  INFO GeoEngine: Loading: 24_18.l2j
[22:27:17]  INFO GeoEngine: Loading: 18_26.l2j
[22:27:17]  INFO GeoEngine: Loading: 17_14.l2j
[22:27:17]  INFO GeoEngine: Loading: 17_17.l2j
[22:27:17]  INFO GeoEngine: Loading: 22_23.l2j
[22:27:17]  INFO GeoEngine: Loading: 14_25.l2j
[22:27:17]  INFO GeoEngine: Loading: 28_19.l2j
[22:27:17]  INFO GeoEngine: Loading: 26_20.l2j
[22:27:17]  INFO GeoEngine: Loading: 25_10.l2j
[22:27:17]  INFO GeoEngine: Loading: 13_25.l2j
[22:27:17]  INFO GeoEngine: Loading: 25_24.l2j
[22:27:17]  INFO GeoEngine: Loading: 13_24.l2j
[22:27:17]  INFO GeoEngine: Loading: 14_24.l2j
[22:27:17]  INFO GeoEngine: Loading: 20_24.l2j
[22:27:17]  INFO GeoEngine: Loading: 16_16.l2j
[22:27:17]  INFO GeoEngine: Loading: 18_12.l2j
[22:27:17]  INFO GeoEngine: Loading: 22_25.l2j
[22:27:17]  INFO GeoEngine: Loading: 25_14.l2j
[22:27:17]  INFO GeoEngine: Loading: 16_25.l2j
[22:27:17]  INFO GeoEngine: Loading: 16_12.l2j
[22:27:17]  INFO GeoEngine: Loading: 18_24.l2j
[22:27:17]  INFO GeoEngine: Loading: 20_18.l2j
[22:27:17]  INFO GeoEngine: Loading: 26_16.l2j
[22:27:17]  INFO GeoEngine: Loading: 16_13.l2j
[22:27:17]  INFO GeoEngine: Loading: 28_21.l2j
[22:27:17]  INFO GeoEngine: Loaded 214 map(s), max layers: 21

Код:
[22:28:03] ERROR Exception: RunnableImpl.run(): java.lang.ArrayIndexOutOfBoundsException: 22
java.lang.ArrayIndexOutOfBoundsException: 22
    at ITGround.gameserver.geodata.GeoEngine.NGetLayers(GeoEngine.java:806)
    at ITGround.gameserver.geodata.GeoEngine.MoveList(GeoEngine.java:573)
    at ITGround.gameserver.model.Creature.buildPathTo(Creature.java:1920)
    at ITGround.gameserver.model.Creature.buildPathTo(Creature.java:1873)
    at ITGround.gameserver.model.Creature.moveToLocation(Creature.java:2040)
    at ITGround.gameserver.model.Creature.moveToLocation(Creature.java:2018)
    at ITGround.gameserver.ai.DefaultAI.maybeMoveToHome(DefaultAI.java:763)
    at ITGround.gameserver.ai.DefaultAI.randomWalk(DefaultAI.java:293)
    at ITGround.gameserver.ai.DefaultAI.thinkActive(DefaultAI.java:337)
    at ITGround.gameserver.ai.Mystic.thinkActive(Mystic.java:13)
    at ITGround.gameserver.ai.DefaultAI.onEvtThink(DefaultAI.java:635)
    at ITGround.gameserver.ai.DefaultAI.onIntentionActive(DefaultAI.java:360)
    at ITGround.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:61)
    at ITGround.gameserver.ai.DefaultAI.setIntention(DefaultAI.java:152)
    at ITGround.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:36)
    at ITGround.gameserver.ai.DefaultAI.onEvtSpawn(DefaultAI.java:434)
    at ITGround.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:171)
    at ITGround.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:104)
    at ITGround.gameserver.model.GameObjectTasks$NotifyAITask.runImpl(GameObjectTasks.java:364)
    at ITGround.commons.threading.RunnableImpl.run(RunnableImpl.java:14)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
[22:28:03] ERROR Exception: RunnableImpl.run(): java.lang.ArrayIndexOutOfBoundsException: 142
java.lang.ArrayIndexOutOfBoundsException: 142
    at ITGround.gameserver.geodata.GeoEngine.NGetLayers(GeoEngine.java:815)
    at ITGround.gameserver.geodata.GeoEngine.MoveList(GeoEngine.java:573)
    at ITGround.gameserver.model.Creature.buildPathTo(Creature.java:1920)
    at ITGround.gameserver.model.Creature.buildPathTo(Creature.java:1873)
    at ITGround.gameserver.model.Creature.moveToLocation(Creature.java:2040)
    at ITGround.gameserver.model.Creature.moveToLocation(Creature.java:2018)
    at ITGround.gameserver.ai.DefaultAI.maybeMoveToHome(DefaultAI.java:763)
    at ITGround.gameserver.ai.DefaultAI.randomWalk(DefaultAI.java:293)
    at ITGround.gameserver.ai.DefaultAI.thinkActive(DefaultAI.java:337)
    at ITGround.gameserver.ai.Fighter.thinkActive(Fighter.java:13)
    at ITGround.gameserver.ai.DefaultAI.onEvtThink(DefaultAI.java:635)
    at ITGround.gameserver.ai.DefaultAI.onIntentionActive(DefaultAI.java:360)
    at ITGround.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:61)
    at ITGround.gameserver.ai.DefaultAI.setIntention(DefaultAI.java:152)
    at ITGround.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:36)
    at ITGround.gameserver.ai.DefaultAI.onEvtSpawn(DefaultAI.java:434)
    at ITGround.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:171)
    at ITGround.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:104)
    at ITGround.gameserver.model.GameObjectTasks$NotifyAITask.runImpl(GameObjectTasks.java:364)
    at ITGround.commons.threading.RunnableImpl.run(RunnableImpl.java:14)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
[22:28:03] ERROR Exception: RunnableImpl.run(): java.lang.ArrayIndexOutOfBoundsException: -3
java.lang.ArrayIndexOutOfBoundsException: -3
    at ITGround.gameserver.geodata.GeoEngine.NGetLayers(GeoEngine.java:815)
    at ITGround.gameserver.geodata.GeoEngine.MoveList(GeoEngine.java:573)
    at ITGround.gameserver.model.Creature.buildPathTo(Creature.java:1920)
    at ITGround.gameserver.model.Creature.buildPathTo(Creature.java:1873)
    at ITGround.gameserver.model.Creature.moveToLocation(Creature.java:2040)
    at ITGround.gameserver.model.Creature.moveToLocation(Creature.java:2018)
    at ITGround.gameserver.ai.DefaultAI.maybeMoveToHome(DefaultAI.java:763)
    at ITGround.gameserver.ai.DefaultAI.randomWalk(DefaultAI.java:293)
    at ITGround.gameserver.ai.DefaultAI.thinkActive(DefaultAI.java:337)
    at ITGround.gameserver.ai.Fighter.thinkActive(Fighter.java:13)
    at ITGround.gameserver.ai.DefaultAI.onEvtThink(DefaultAI.java:635)
    at ITGround.gameserver.ai.DefaultAI.onIntentionActive(DefaultAI.java:360)
    at ITGround.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:61)
    at ITGround.gameserver.ai.DefaultAI.setIntention(DefaultAI.java:152)
    at ITGround.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:36)
    at ITGround.gameserver.ai.DefaultAI.onEvtSpawn(DefaultAI.java:434)
    at ITGround.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:171)
    at ITGround.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:104)
    at ITGround.gameserver.model.GameObjectTasks$NotifyAITask.runImpl(GameObjectTasks.java:364)
    at ITGround.commons.threading.RunnableImpl.run(RunnableImpl.java:14)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
[22:28:03] ERROR Exception: RunnableImpl.run(): java.lang.ArrayIndexOutOfBoundsException: 172
java.lang.ArrayIndexOutOfBoundsException: 172
    at ITGround.gameserver.geodata.GeoEngine.NGetLayers(GeoEngine.java:815)
    at ITGround.gameserver.geodata.GeoEngine.MoveList(GeoEngine.java:573)
    at ITGround.gameserver.model.Creature.buildPathTo(Creature.java:1920)
    at ITGround.gameserver.model.Creature.buildPathTo(Creature.java:1873)
    at ITGround.gameserver.model.Creature.moveToLocation(Creature.java:2040)
    at ITGround.gameserver.model.Creature.moveToLocation(Creature.java:2018)
    at ITGround.gameserver.ai.DefaultAI.maybeMoveToHome(DefaultAI.java:763)
    at ITGround.gameserver.ai.DefaultAI.randomWalk(DefaultAI.java:293)
    at ITGround.gameserver.ai.DefaultAI.thinkActive(DefaultAI.java:337)
    at ITGround.gameserver.ai.Fighter.thinkActive(Fighter.java:13)
    at ITGround.gameserver.ai.DefaultAI.onEvtThink(DefaultAI.java:635)
    at ITGround.gameserver.ai.DefaultAI.onIntentionActive(DefaultAI.java:360)
    at ITGround.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:61)
    at ITGround.gameserver.ai.DefaultAI.setIntention(DefaultAI.java:152)
    at ITGround.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:36)
    at ITGround.gameserver.ai.DefaultAI.onEvtSpawn(DefaultAI.java:434)
    at ITGround.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:171)
    at ITGround.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:104)
    at ITGround.gameserver.model.GameObjectTasks$NotifyAITask.runImpl(GameObjectTasks.java:364)
    at ITGround.commons.threading.RunnableImpl.run(RunnableImpl.java:14)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
[22:28:03]  INFO SpawnManager: spawned 1000 npc for group: NONE
[22:28:03] ERROR Exception: RunnableImpl.run(): java.lang.ArrayIndexOutOfBoundsException: 4
java.lang.ArrayIndexOutOfBoundsException: 4
    at ITGround.gameserver.geodata.GeoEngine.NGetLayers(GeoEngine.java:806)
    at ITGround.gameserver.geodata.GeoEngine.MoveList(GeoEngine.java:586)
    at ITGround.gameserver.model.Creature.buildPathTo(Creature.java:1920)
    at ITGround.gameserver.model.Creature.buildPathTo(Creature.java:1873)
    at ITGround.gameserver.model.Creature.moveToLocation(Creature.java:2040)
    at ITGround.gameserver.model.Creature.moveToLocation(Creature.java:2018)
    at ITGround.gameserver.ai.DefaultAI.maybeMoveToHome(DefaultAI.java:763)
    at ITGround.gameserver.ai.DefaultAI.randomWalk(DefaultAI.java:293)
    at ITGround.gameserver.ai.DefaultAI.thinkActive(DefaultAI.java:337)
    at ITGround.gameserver.ai.Fighter.thinkActive(Fighter.java:13)
    at ITGround.gameserver.ai.DefaultAI.onEvtThink(DefaultAI.java:635)
    at ITGround.gameserver.ai.DefaultAI.onIntentionActive(DefaultAI.java:360)
    at ITGround.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:61)
    at ITGround.gameserver.ai.DefaultAI.setIntention(DefaultAI.java:152)
    at ITGround.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:36)
    at ITGround.gameserver.ai.DefaultAI.onEvtSpawn(DefaultAI.java:434)
    at ITGround.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:171)
    at ITGround.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:104)
    at ITGround.gameserver.model.GameObjectTasks$NotifyAITask.runImpl(GameObjectTasks.java:364)
    at ITGround.commons.threading.RunnableImpl.run(RunnableImpl.java:14)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
[22:28:03] ERROR Exception: RunnableImpl.run(): java.lang.ArrayIndexOutOfBoundsException: 100
java.lang.ArrayIndexOutOfBoundsException: 100
    at ITGround.gameserver.geodata.GeoEngine.NGetLayers(GeoEngine.java:806)
    at ITGround.gameserver.geodata.GeoEngine.MoveList(GeoEngine.java:573)
    at ITGround.gameserver.model.Creature.buildPathTo(Creature.java:1920)
    at ITGround.gameserver.model.Creature.buildPathTo(Creature.java:1873)
    at ITGround.gameserver.model.Creature.moveToLocation(Creature.java:2040)
    at ITGround.gameserver.model.Creature.moveToLocation(Creature.java:2018)
    at ITGround.gameserver.ai.DefaultAI.maybeMoveToHome(DefaultAI.java:763)
    at ITGround.gameserver.ai.DefaultAI.randomWalk(DefaultAI.java:293)
    at ITGround.gameserver.ai.DefaultAI.thinkActive(DefaultAI.java:337)
    at ITGround.gameserver.ai.Fighter.thinkActive(Fighter.java:13)
    at ITGround.gameserver.ai.DefaultAI.onEvtThink(DefaultAI.java:635)
    at ITGround.gameserver.ai.DefaultAI.onIntentionActive(DefaultAI.java:360)
    at ITGround.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:61)
    at ITGround.gameserver.ai.DefaultAI.setIntention(DefaultAI.java:152)
    at ITGround.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:36)
    at ITGround.gameserver.ai.DefaultAI.onEvtSpawn(DefaultAI.java:434)
    at ITGround.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:171)
    at ITGround.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:104)
    at ITGround.gameserver.model.GameObjectTasks$NotifyAITask.runImpl(GameObjectTasks.java:364)
    at ITGround.commons.threading.RunnableImpl.run(RunnableImpl.java:14)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
[22:28:03] ERROR Exception: RunnableImpl.run(): java.lang.ArrayIndexOutOfBoundsException: 76
java.lang.ArrayIndexOutOfBoundsException: 76
    at ITGround.gameserver.geodata.GeoEngine.NGetLayers(GeoEngine.java:806)
    at ITGround.gameserver.geodata.GeoEngine.MoveList(GeoEngine.java:573)
    at ITGround.gameserver.model.Creature.buildPathTo(Creature.java:1920)
    at ITGround.gameserver.model.Creature.buildPathTo(Creature.java:1873)
    at ITGround.gameserver.model.Creature.moveToLocation(Creature.java:2040)
    at ITGround.gameserver.model.Creature.moveToLocation(Creature.java:2018)
    at ITGround.gameserver.ai.DefaultAI.maybeMoveToHome(DefaultAI.java:763)
    at ITGround.gameserver.ai.DefaultAI.randomWalk(DefaultAI.java:293)
    at ITGround.gameserver.ai.DefaultAI.thinkActive(DefaultAI.java:337)
    at ITGround.gameserver.ai.Fighter.thinkActive(Fighter.java:13)
    at ITGround.gameserver.ai.DefaultAI.onEvtThink(DefaultAI.java:635)
    at ITGround.gameserver.ai.DefaultAI.onIntentionActive(DefaultAI.java:360)
    at ITGround.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:61)
    at ITGround.gameserver.ai.DefaultAI.setIntention(DefaultAI.java:152)
    at ITGround.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:36)
    at ITGround.gameserver.ai.DefaultAI.onEvtSpawn(DefaultAI.java:434)
    at ITGround.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:171)
    at ITGround.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:104)
    at ITGround.gameserver.model.GameObjectTasks$NotifyAITask.runImpl(GameObjectTasks.java:364)
    at ITGround.commons.threading.RunnableImpl.run(RunnableImpl.java:14)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
[22:28:03] ERROR Exception: RunnableImpl.run(): java.lang.ArrayIndexOutOfBoundsException: 34
java.lang.ArrayIndexOutOfBoundsException: 34
    at ITGround.gameserver.geodata.GeoEngine.NGetLayers(GeoEngine.java:806)
    at ITGround.gameserver.geodata.GeoEngine.MoveList(GeoEngine.java:573)
    at ITGround.gameserver.model.Creature.buildPathTo(Creature.java:1920)
    at ITGround.gameserver.model.Creature.buildPathTo(Creature.java:1873)
    at ITGround.gameserver.model.Creature.moveToLocation(Creature.java:2040)
    at ITGround.gameserver.model.Creature.moveToLocation(Creature.java:2018)
    at ITGround.gameserver.ai.DefaultAI.maybeMoveToHome(DefaultAI.java:763)
    at ITGround.gameserver.ai.DefaultAI.randomWalk(DefaultAI.java:293)
    at ITGround.gameserver.ai.DefaultAI.thinkActive(DefaultAI.java:337)
    at ITGround.gameserver.ai.Fighter.thinkActive(Fighter.java:13)
    at ITGround.gameserver.ai.DefaultAI.onEvtThink(DefaultAI.java:635)
    at ITGround.gameserver.ai.DefaultAI.onIntentionActive(DefaultAI.java:360)
    at ITGround.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:61)
    at ITGround.gameserver.ai.DefaultAI.setIntention(DefaultAI.java:152)
    at ITGround.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:36)
    at ITGround.gameserver.ai.DefaultAI.onEvtSpawn(DefaultAI.java:434)
    at ITGround.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:171)
    at ITGround.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:104)
    at ITGround.gameserver.model.GameObjectTasks$NotifyAITask.runImpl(GameObjectTasks.java:364)
    at ITGround.commons.threading.RunnableImpl.run(RunnableImpl.java:14)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
[22:28:03] ERROR Exception: RunnableImpl.run(): java.lang.ArrayIndexOutOfBoundsException: 104
java.lang.ArrayIndexOutOfBoundsException: 104
    at ITGround.gameserver.geodata.GeoEngine.NGetLayers(GeoEngine.java:806)
    at ITGround.gameserver.geodata.GeoEngine.MoveList(GeoEngine.java:573)
    at ITGround.gameserver.model.Creature.buildPathTo(Creature.java:1920)
    at ITGround.gameserver.model.Creature.buildPathTo(Creature.java:1873)
    at ITGround.gameserver.model.Creature.moveToLocation(Creature.java:2040)
    at ITGround.gameserver.model.Creature.moveToLocation(Creature.java:2018)
    at ITGround.gameserver.ai.DefaultAI.maybeMoveToHome(DefaultAI.java:763)
    at ITGround.gameserver.ai.DefaultAI.randomWalk(DefaultAI.java:293)
    at ITGround.gameserver.ai.DefaultAI.thinkActive(DefaultAI.java:337)
    at ITGround.gameserver.ai.Mystic.thinkActive(Mystic.java:13)
    at ITGround.gameserver.ai.DefaultAI.onEvtThink(DefaultAI.java:635)
    at ITGround.gameserver.ai.DefaultAI.onIntentionActive(DefaultAI.java:360)
    at ITGround.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:61)
    at ITGround.gameserver.ai.DefaultAI.setIntention(DefaultAI.java:152)
    at ITGround.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:36)
    at ITGround.gameserver.ai.DefaultAI.onEvtSpawn(DefaultAI.java:434)
    at ITGround.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:171)
    at ITGround.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:104)
    at ITGround.gameserver.model.GameObjectTasks$NotifyAITask.runImpl(GameObjectTasks.java:364)
    at ITGround.commons.threading.RunnableImpl.run(RunnableImpl.java:14)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
[22:28:03] ERROR GeoEngine: Unknown block type
[22:28:03] ERROR GeoEngine: Unknown block type
Неизвестных блоков больше 400 000
 
Говорю для интерлюда.

Гео размер мира должен быть таким:
Код:
  public static int WORLD_X_MIN = 15;
   public static int WORLD_X_MAX = 26;
   public static int WORLD_Y_MIN = 10;
   public static int WORLD_Y_MAX = 26;
Этим значениям должны быть равны ваши GEO_FIRST & GEO_LAST

Размер мира:
Код:
  public final static int MAP_MIN_X = -163840;
   public final static int MAP_MAX_X = 229375;
   public final static int MAP_MIN_Y = -262144;
   public final static int MAP_MAX_Y = 294911;
   public final static int MAP_MIN_Z = -32768;
   public final static int MAP_MAX_Z = 32767;
 
Так ничего и не решил с этой проблемой, а есть те кто могут другой геодвижок привязать за пару $ сборка похожа из которой можно взять геодвиг или любой другой который вам удобно.
 
Так ничего и не решил с этой проблемой, а есть те кто могут другой геодвижок привязать за пару $ сборка похожа из которой можно взять геодвиг или любой другой который вам удобно.
У Вас весь эмулятор, это декомпил, и Вы предлагаете менять там геодвижек? Вы понимаете, что нужно будет, как минимум менять все вызовы?
 
Все классы, которые выкладывались тут, есть декомпил (l2world, geoengine).

Почему не использовать средства рефакторинга? Потому-что есть высокая вероятность, что все нахрен отвалится после такого, поэтому потребуется ручками править все вызовы, если API хоть немного различается.
 
Все классы, которые выкладывались тут, есть декомпил (l2world, geoengine).

Почему не использовать средства рефакторинга? Потому-что есть высокая вероятность, что все нахрен отвалится после такого, поэтому потребуется ручками править все вызовы, если API хоть немного различается.
Я не смотрел, но не думал что у него исходники - декомпил
 
Вообщем я так понял это шлак.
 
Назад
Сверху Снизу