luizadauto / aionxemu

Automatically exported from code.google.com/p/aionxemu
6 stars 6 forks source link

Equiped item Breathe Cap, you can not enter the world #499

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Issues must affect Aion X Emu Files ONLY. Any revisions or altercations of
core files will not be supported here.

Core revision: r342

Bug description:
Equiped item Breathe Cap, you can not enter the world

What steps will reproduce the problem?:
Enter the game, add item Breathe Cap (item id 125040108)
equipe this item and relog
now you can not enter the world.

What is the expected output?:
Player freeze in loading screen

Please copy/paste errors below:
[ERROR 2011-07-16 07:46:06] gameserver.network.aion.AionClientPacket:71 - Error 
handling client (test1) message :[C] 0xFA CM_ENTER_WORLD
java.lang.NullPointerException
    at gameserver.model.templates.item.ItemTemplate.isArmor(ItemTemplate.java:478)
    at gameserver.model.gameobjects.stats.listeners.ItemEquipmentListener.onItemEquipment(ItemEquipmentListener.java:168)
    at gameserver.model.gameobjects.player.Equipment.onLoadApplyEquipmentStats(Equipment.java:596)
    at gameserver.services.PlayerService.getPlayer(PlayerService.java:217)
    at gameserver.network.aion.clientpackets.CM_ENTER_WORLD.enterWorld(CM_ENTER_WORLD.java:155)
    at gameserver.network.aion.clientpackets.CM_ENTER_WORLD.runImpl(CM_ENTER_WORLD.java:143)
    at gameserver.network.aion.AionClientPacket.run(AionClientPacket.java:64)
    at com.aionemu.commons.utils.concurrent.ExecuteWrapper.execute(ExecuteWrapper.java:54)
    at gameserver.taskmanager.FIFORunnableQueue.removeAndExecuteFirst(FIFORunnableQueue.java:28)
    at gameserver.taskmanager.FIFOExecutableQueue.run(FIFOExecutableQueue.java:65)
    at com.aionemu.commons.utils.concurrent.ExecuteWrapper.execute(ExecuteWrapper.java:54)
    at com.aionemu.commons.utils.concurrent.ExecuteWrapper.run(ExecuteWrapper.java:39)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
[ERROR 2011-07-16 07:55:05] gameserver.network.aion.AionClientPacket:71 - Error 
handling client (test1) message :[C] 0x94 CM_EQUIP_ITEM
java.lang.NullPointerException
    at gameserver.model.templates.item.ItemTemplate.isArmor(ItemTemplate.java:478)
    at gameserver.model.gameobjects.stats.listeners.ItemEquipmentListener.onItemEquipment(ItemEquipmentListener.java:168)
    at gameserver.model.gameobjects.player.Equipment.equip(Equipment.java:211)
    at gameserver.model.gameobjects.player.Equipment.equipItem(Equipment.java:159)
    at gameserver.network.aion.clientpackets.CM_EQUIP_ITEM.runImpl(CM_EQUIP_ITEM.java:59)
    at gameserver.network.aion.AionClientPacket.run(AionClientPacket.java:64)
    at com.aionemu.commons.utils.concurrent.ExecuteWrapper.execute(ExecuteWrapper.java:54)
    at gameserver.taskmanager.FIFORunnableQueue.removeAndExecuteFirst(FIFORunnableQueue.java:28)
    at gameserver.taskmanager.FIFOExecutableQueue.run(FIFOExecutableQueue.java:65)
    at com.aionemu.commons.utils.concurrent.ExecuteWrapper.execute(ExecuteWrapper.java:54)
    at com.aionemu.commons.utils.concurrent.ExecuteWrapper.run(ExecuteWrapper.java:39)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

Original issue reported on code.google.com by fb...@gmx.de on 16 Jul 2011 at 6:09

GoogleCodeExporter commented 8 years ago
here the fix..
already tested and work.

THX

Original comment by freiya_d...@hotmail.com on 16 Jul 2011 at 12:03

Attachments: