![]() |
#1 |
L2-scripts клиент Classic 1.5 + ГЕО до 1 июля
Регистрация: 23.09.2013
Сообщений: 437
|
![]()
After this error appears, not instant but in few hours all players AND MONSTERS freez, cannot move , just chat in game
i also checked creature.java and at line 4900+ there are things about movement, so please check, i suspect this is caused when some skill is casted upon mobs or many mobs at same time, because server freez happens random nowadays more and more times, rly need fix Код:
[24.10.13 06:16:08:521] ERROR threading.RunnableImpl: Exception: RunnableImpl.run(): java.util.ConcurrentModificationException java.util.ConcurrentModificationException at gnu.trove.impl.hash.THashPrimitiveIterator.nextIndex(THashPrimitiveIterator.java:83) at gnu.trove.impl.hash.THashPrimitiveIterator.moveToNextIndex(THashPrimitiveIterator.java:137) at gnu.trove.set.hash.TIntHashSet$TIntHashIterator.next(TIntHashSet.java:484) at gnu.trove.set.hash.TIntHashSet.addAll(TIntHashSet.java:276) at gnu.trove.set.hash.TIntHashSet.<init>(TIntHashSet.java:137) at l2s.gameserver.model.Creature.getAbnormalEffects(Creature.java:1780) at l2s.gameserver.model.actor.recorder.CharStatsChangeRecorder.refreshStats(CharStatsChangeRecorder.java:114) at l2s.gameserver.model.actor.recorder.PlayerStatsChangeRecorder.refreshStats(PlayerStatsChangeRecorder.java:61) at l2s.gameserver.model.actor.recorder.CharStatsChangeRecorder.sendChanges(CharStatsChangeRecorder.java:121) at l2s.gameserver.model.Creature.sendChanges(Creature.java:4790) at l2s.gameserver.model.Player.sendChanges(Player.java:4751) at l2s.gameserver.model.Creature.setCurrentHp(Creature.java:3571) at l2s.gameserver.model.Creature.setCurrentHp(Creature.java:3580) at l2s.gameserver.model.Creature.onReduceCurrentHp(Creature.java:3345) at l2s.gameserver.model.Player.onReduceCurrentHp(Player.java:3581) at l2s.gameserver.model.Creature.reduceCurrentHp(Creature.java:3315) at l2s.gameserver.model.Playable.reduceCurrentHp(Playable.java:344) at l2s.gameserver.model.Player.reduceCurrentHp(Player.java:3518) at l2s.gameserver.model.Creature.onHitTimer(Creature.java:3053) at l2s.gameserver.model.GameObjectTasks$HitTask.runImpl(GameObjectTasks.java:316) at l2s.commons.threading.RunnableImpl.run(RunnableImpl.java:21) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) creature.java Код:
public void setLoc(Location loc) { setXYZ(loc.x, loc.y, loc.z); } public void setLoc(Location loc, boolean MoveTask) { setXYZ(loc.x, loc.y, loc.z, MoveTask); } public void setXYZ(int x, int y, int z) { setXYZ(x, y, z, false); } public void setXYZ(int x, int y, int z, boolean MoveTask) { if (!MoveTask) { stopMove(); } this.moveLock.lock(); try { super.setXYZ(x, y, z); } finally { this.moveLock.unlock(); } updateZones(); } |
![]() |
![]() |
#2 |
Модератор
Регистрация: 03.06.2012
Сообщений: 4,624
|
![]()
Fixed. Closed.
__________________
Техническая поддержка L2-Scripts Внимание: с 1 мая 2015 г. скайп технической поддержки будет: L2-scripts старый скайп тех поддержки обслуживаться не будет ! |
![]() |