Page 1 of 1
Cursed Weapons drop in Gracia cause minimap Issue
Posted: Fri Aug 11, 2017 11:55 am
by ShinichiYao
If Cursed Weapons dropped in Gracia Area, all players online open map will auto display Gracia Area even they're at Aden Area and unable to change to Aden map.
Re: Cursed Weapons drop in Gracia cause minimap Issue
Posted: Fri Aug 11, 2017 1:49 pm
by JMD
I would advice to make bug reports here:
https://bitbucket.org/l2jserver/l2j_ser ... tatus=open
The devs will see it faster if you report it on bitbucket.
Re: Cursed Weapons drop in Gracia cause minimap Issue
Posted: Mon Aug 14, 2017 10:20 am
by ShinichiYao
Its because ExCursedWeaponLocation packet send later then ExShowOwnthingPos packet.
I currently avoid this issue by make CW wont drop in Gracia
CursedWeaponsManager.java
Code: Select all
public synchronized void checkDrop(L2Attackable attackable, L2PcInstance player)
{
// Cursed weapons cannot drop in instance
if (attackable.getInstanceId() != 0)
{
return;
}
// Don't allow Cursed weapons drop in Gracia
if (attackable.getX() < L2World.GRACIA_MAX_X)
{
return;
}
if ((attackable instanceof L2DefenderInstance) || (attackable instanceof L2RiftInvaderInstance) || (attackable instanceof L2FestivalMonsterInstance) || (attackable instanceof L2GuardInstance) || (attackable instanceof L2GrandBossInstance) || (attackable instanceof L2FeedableBeastInstance)
|| (attackable instanceof L2FortCommanderInstance))
{
return;
}
for (CursedWeapon cw : _cursedWeapons.values())
{
if (cw.isActive())
{
continue;
}
if (cw.checkDrop(attackable, player))
{
break;
}
}
}