Examples of ExFishingStart


Examples of com.l2jfrozen.gameserver.network.serverpackets.ExFishingStart

    // Use a copy constructor else the fish data may be over-written below
    _fish = new FishData(fishs.get(check));
    fishs.clear();
    fishs = null;
    sendPacket(new SystemMessage(SystemMessageId.CAST_LINE_AND_START_FISHING));
    ExFishingStart efs = null;

    if(!GameTimeController.getInstance().isNowNight() && _lure.isNightLure())
    {
      _fish.setType(-1);
    }

    //sendMessage("Hook x,y: " + _x + "," + _y + " - Water Z, Player Z:" + _z + ", " + getZ()); //debug line, uncoment to show coordinates used in fishing.
    efs = new ExFishingStart(this, _fish.getType(), _x, _y, _z, _lure.isNightLure());
    broadcastPacket(efs);
    efs = null;
    StartLookingForFishTask();
  }
View Full Code Here

Examples of l2p.gameserver.serverpackets.ExFishingStart

    player.setImobilised(true);
    player.setFishing(true);
    player.setFish(fish);
    player.setLure(lure);
    player.broadcastUserInfo(true);
    player.broadcastPacket(new ExFishingStart(player, fish.getType(), player.getFishLoc(), lure.isNightLure()));
    player.sendPacket(Msg.STARTS_FISHING);
    player.startLookingForFishTask();
  }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.ExFishingStart

    {
      return;
    }
    _fisher.setFishing(true);
    _fisher.broadcastCharInfo();
    _fisher.broadcastPacket(new ExFishingStart(_fisher, _fish.getType(), _fisher.getFishLoc(), isNightLure(_lureId)));
    _fisher.sendPacket(Msg.STARTS_FISHING);
    startLookingForFishTask();
  }
View Full Code Here

Examples of net.sf.l2j.gameserver.serverpackets.ExFishingStart

    // Use a copy constructor else the fish data may be over-written below
    _fish = new FishData(fishs.get(check));
    fishs.clear();
    fishs = null;
    sendPacket(new SystemMessage(SystemMessageId.CAST_LINE_AND_START_FISHING));
    ExFishingStart efs = null;
    if (!GameTimeController.getInstance().isNowNight() && _lure.isNightLure())
    {
      _fish.setType(-1);
    }
    // sendMessage("Hook x,y: " + _x + "," + _y + " - Water Z, Player Z:" + _z + ", " + getZ()); //debug line, uncoment to show coordinates used in fishing.
    efs = new ExFishingStart(this, _fish.getType(), _x, _y, _z, _lure.isNightLure());
    broadcastPacket(efs);
    StartLookingForFishTask();
  }
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.