Summon problem?
Page 1 of 1 • Share
Summon problem?
Welcome. Immediately apologize for my bad english ^^
There is a problem with summon's. If called multiple summon, and if one of them to kill or expel,
disappears status window (health, mana, buffs) both. Fixed this packet sending a packet PetInfo
and PetStatusUpdate in the method onDelete (model.Summon) for each of summon's
/**
* Method onDelete.
*/
@Override
protected void onDelete()
{
Player owner = getPlayer();
Party party = owner.getParty();
if (party != null)
{
party.broadcastToPartyMembers(owner, new ExPartyPetWindowDelete(this));
}
owner.sendPacket(new PetDelete(getSummonType(), getObjectId()));
owner.getSummonList().removeSummon(this);
for(Summon summon : owner.getSummonList().getServitors())
{
owner.sendPacket(new PetInfo(summon));
owner.sendPacket(new PetStatusUpdate(summon));
}
stopDecay();
super.onDelete();
}
Now there is another problem, when you kill summon, is not triggered animation death,
he's just standing there with 0 health and then disappears.. How to fix? Thank You
There is a problem with summon's. If called multiple summon, and if one of them to kill or expel,
disappears status window (health, mana, buffs) both. Fixed this packet sending a packet PetInfo
and PetStatusUpdate in the method onDelete (model.Summon) for each of summon's
/**
* Method onDelete.
*/
@Override
protected void onDelete()
{
Player owner = getPlayer();
Party party = owner.getParty();
if (party != null)
{
party.broadcastToPartyMembers(owner, new ExPartyPetWindowDelete(this));
}
owner.sendPacket(new PetDelete(getSummonType(), getObjectId()));
owner.getSummonList().removeSummon(this);
for(Summon summon : owner.getSummonList().getServitors())
{
owner.sendPacket(new PetInfo(summon));
owner.sendPacket(new PetStatusUpdate(summon));
}
stopDecay();
super.onDelete();
}
Now there is another problem, when you kill summon, is not triggered animation death,
he's just standing there with 0 health and then disappears.. How to fix? Thank You
stas51447- Vassal
- Posts : 1
Join date : 2014-08-02
Similar topics
» External IP Problem
» Problem with gameserver
» Eclipse problem
» problem community shop
» MultiSellEntry.java have problem
» Problem with gameserver
» Eclipse problem
» problem community shop
» MultiSellEntry.java have problem
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|