L2-scripts Форум

L2-scripts Форум (http://l2-scripts.ru/forum/index.php)
-   Archive Classic (http://l2-scripts.ru/forum/forumdisplay.php?f=113)
-   -   Player.getClassId(Player.java:7253) (FIXED) (http://l2-scripts.ru/forum/showthread.php?t=8262)

l2gold 19.11.2017 12:22

Player.getClassId(Player.java:7253) (FIXED)
 
[19:59:47] INFO =================================================
[19:59:47] INFO Project Revision: ........ L2s [26812]
[19:59:47] INFO Build Revision: .......... 12025
[19:59:47] INFO Update: .................. Classic: Saviors (Zaken)
[19:59:47] INFO Build date: .............. 2017.11.12 16:05
[19:59:47] INFO Compiler version: ........ 1.8.0_151-b12 (Oracle Corporation)
[19:59:47] INFO ================================================='


Код:

[19:59:58]  INFO Registered on authserver as 34 [Cedric]
[19:59:58]  INFO SpawnManager: spawned 414 npc; spawns: 269; group: NIGHT
[19:59:58] ERROR Exception: RunnableImpl.run(): java.lang.ArrayIndexOutOfBoundsException: -1
java.lang.ArrayIndexOutOfBoundsException: -1
        at l2s.gameserver.model.Player.getClassId(Player.java:7253)
        at l2s.gameserver.model.actor.basestats.PlayerBaseStats.getCpMax(PlayerBaseStats.java:118)
        at l2s.gameserver.model.Creature.getMaxCp(Creature.java:2226)
        at l2s.gameserver.model.actor.recorder.PlayerStatsChangeRecorder.refreshStats(PlayerStatsChangeRecorder.java:74)
        at l2s.gameserver.model.actor.recorder.CharStatsChangeRecorder.sendChanges(CharStatsChangeRecorder.java:139)
        at l2s.gameserver.model.Creature.sendChanges(Creature.java:5154)
        at l2s.gameserver.model.Player.sendChanges(Player.java:4695)
        at l2s.gameserver.model.Player.checkDayNightMessages(Player.java:8356)
        at l2s.gameserver.GameTimeController$CheckSunState.runImpl(GameTimeController.java:40)
        at l2s.commons.threading.RunnableImpl.run(RunnableImpl.java:21)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
        at l2s.commons.threading.PriorityThreadFactory$1.run(PriorityThreadFactory.java:35)
[07:59:58]  INFO =================================================
[07:59:58]  INFO SGuard License


Core 06.12.2017 07:43

Fixed. Closed.


Часовой пояс GMT +4, время: 01:18.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd. Перевод: zCarot