Examples of sendChanges()


Examples of lineage2.gameserver.model.Player.sendChanges()

    {
      activeChar.getInventory().addItem(comp.getItemId(), comp.getCount() * _count);
    }
    activeChar.sendPacket(new ExBR_GamePoint(activeChar));
    activeChar.sendPacket(new ExBR_BuyProduct(ExBR_BuyProduct.RESULT_OK));
    activeChar.sendChanges();
  }
}
View Full Code Here

Examples of lineage2.gameserver.model.Player.sendChanges()

    }
    else
    {
      activeChar.sendPacket(SystemMessage2.removeItems(item.getItemId(), count));
    }
    activeChar.sendChanges();
  }
}
View Full Code Here

Examples of lineage2.gameserver.model.Player.sendChanges()

          if (target.isPlayer())
          {
            player = (Player) target;
            player.setTitle(val);
            player.sendMessage("Your title has been changed by a GM");
            player.sendChanges();
          }
          else if (target.isNpc())
          {
            ((NpcInstance) target).setTitle(val);
            target.decayMe();
View Full Code Here

Examples of lineage2.gameserver.model.Player.sendChanges()

    {
      sendPacket(Msg.YOU_HAVE_EXCEEDED_THE_QUANTITY_THAT_CAN_BE_INPUTTED);
      return;
    }
    sendPacket(new ExBuySellList.SellRefundList(activeChar, true));
    activeChar.sendChanges();
  }
}
View Full Code Here

Examples of lineage2.gameserver.model.Player.sendChanges()

    }
    finally
    {
      activeChar.getInventory().writeUnlock();
    }
    activeChar.sendChanges();
  }
}
View Full Code Here

Examples of lineage2.gameserver.model.Player.sendChanges()

      sendPacket(Msg.YOUR_INVENTORY_IS_FULL);
      return;
    }
    playerInventory.addItem(petInventory.removeItemByObjectId(_objectId, _amount));
    pet.sendChanges();
    activeChar.sendChanges();
  }
}
View Full Code Here

Examples of lineage2.gameserver.model.Player.sendChanges()

    finally
    {
      warehouse.writeUnlock();
      inventory.writeUnlock();
    }
    activeChar.sendChanges();
    activeChar.sendPacket(Msg.THE_TRANSACTION_IS_COMPLETE);
  }
}
View Full Code Here

Examples of lineage2.gameserver.model.Player.sendChanges()

    finally
    {
      activeChar.getInventory().writeUnlock();
    }
    activeChar.sendPacket(new ExBuySellList.SellRefundList(activeChar, true));
    activeChar.sendChanges();
  }
}
View Full Code Here

Examples of lineage2.gameserver.model.Player.sendChanges()

    finally
    {
      activeChar.getInventory().writeUnlock();
    }
    activeChar.sendPacket(new ExBuySellList.SellRefundList(activeChar, true));
    activeChar.sendChanges();
  }
}
View Full Code Here

Examples of lineage2.gameserver.model.instances.NpcInstance.sendChanges()

              actor.addStatFunc(new FuncMul(Stats.MAGIC_ATTACK_SPEED, 0x40, actor, 5));
              actor.addStatFunc(new FuncMul(Stats.MAGIC_DAMAGE, 0x40, actor, 10));
              actor.addStatFunc(new FuncMul(Stats.PHYSICAL_DAMAGE, 0x40, actor, 10));
              actor.addStatFunc(new FuncMul(Stats.RUN_SPEED, 0x40, actor, 3));
              actor.addSkill(SkillTable.getInstance().getInfo(1467, 1));
              actor.sendChanges();
              step_stage2 = 4;
              return true;
            case 4:
              setIntention(CtrlIntention.AI_INTENTION_ATTACK, null);
              return true;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.