Cursed Weapons drop in Gracia cause minimap Issue
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- ShinichiYao
- Advanced User
- Posts: 262
- Joined: Tue Jan 12, 2016 3:53 am
Cursed Weapons drop in Gracia cause minimap Issue
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.
-
- Advanced User
- Posts: 1440
- Joined: Wed Apr 15, 2009 10:07 am
Re: Cursed Weapons drop in Gracia cause minimap Issue
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.
The devs will see it faster if you report it on bitbucket.
- ShinichiYao
- Advanced User
- Posts: 262
- Joined: Tue Jan 12, 2016 3:53 am
Re: Cursed Weapons drop in Gracia cause minimap Issue
Its because ExCursedWeaponLocation packet send later then ExShowOwnthingPos packet.
I currently avoid this issue by make CW wont drop in Gracia
CursedWeaponsManager.java
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;
}
}
}