Jump to content
  • 0

Kamikaze Client


Question

Posted

Hello, i have a problem with my kamikaze weapons client, can someone help! ty!

 

item_begin object_id=9130 object_name=[] body_part={lrhand} animation=4 drop_type=1 drop_anim_type=1 drop_radius=17 drop_height=2 projectile=[none] curvature=1000 drop_mesh={[LineageWeapons.scythe_m00_wp];[LineageWeaponsTex.scythe_t00_wp]} drop_texture={[none]} icon={[icon.weapon_scythe_i00]} mesh={[LineageWeapons.scythe_m00_wp]} texture={[LineageWeaponsTex.scythe_t00_wp]} crystallizable=1 item_sound={[itemSound.sword_mid_7];[itemSound.sword_big_9];[itemSound.axe_3];[itemSound.sword_mid_9]} drop_sound=[itemSound.itemdrop_spear] equip_sound=[itemSound.itemequip_spear] weight=1800 soulshot_count=1 spiritshot_count=1 material_type=adamantaite crystal_type=s physical_damage=334 random_damage=10 weapon_type=pole critical=8 hit_modify=-3 avoid_modify=0 shield_defense=0 shield_defense_rate=0 attack_speed=325 mp_consume=0 magical_damage=152 durability=95 effect_c={[LineageEffect.LineageEffect.w_vari_r4_007_a]} effect_c_s=5.00 c3_attr1=-1 c3_attr2=0.00 c3_attr3=0.00 c3_attr4=2.50 c3_attr5=1 range_s={[LineageWeapons.rangesample]} c3_attr6=1.40 c3_attr7=1.40 c3_attr8=1.40 c3_attr9=23.00 c3_attr10=5.00 range2_s=0.00 range2_arg={} c4_attr1=[none] c4_attr2=[none] c4_attr5=0 c4_attr6=0 c4_attr7=0 item_end

item_begin object_id=9131 object_name=[] body_part={rhand} animation=1 drop_type=1 drop_anim_type=1 drop_radius=7 drop_height=10 projectile=[none] curvature=1000 drop_mesh={[LineageWeapons.katana_m00_wp];[LineageWeaponsTex.old_samurai_longsword_t00_wp]} drop_texture={[none]} icon={[icon.weapon_katana_i00]} mesh={[LineageWeapons.katana_m00_wp]} texture={[LineageWeaponsTex.old_samurai_longsword_t00_wp]} crystallizable=1 item_sound={[itemSound.sword_big_1];[itemSound.sword_big_3];[itemSound.spear_5];[itemSound.public_sword_shing_4]} drop_sound=[itemSound.itemdrop_sword] equip_sound=[itemSound.itemequip_sword] weight=1350 soulshot_count=1 spiritshot_count=1 material_type=damascus crystal_type=s physical_damage=325 random_damage=10 weapon_type=sword critical=8 hit_modify=0 avoid_modify=0 shield_defense=0 shield_defense_rate=0 attack_speed=379 mp_consume=0 magical_damage=152 durability=95 effect_c={[LineageEffect.it_zariche_sword_c]} effect_c_s=-15.00 c3_attr1=0 c3_attr2=-4.00 c3_attr3=0.00 c3_attr4=0.8 c3_attr5=1 range_s={[LineageWeapons.rangesample]} c3_attr6=1.20 c3_attr7=0.70 c3_attr8=0.70 c3_attr9=9.00 c3_attr10=0.00 range2_s=0.00 range2_arg={} c4_attr1=[none] c4_attr2=[none] c4_attr5=0 c4_attr6=0 c4_attr7=0 item_end

item_begin object_id=9132 object_name=[] body_part={rhand} animation=1 drop_type=1 drop_anim_type=1 drop_radius=7 drop_height=10 projectile=[none] curvature=1000 drop_mesh={[LineageWeapons.dagger_of_magicflame_m00_wp];[LineageWeaponsTex.dagger_of_magicflame_t00_wp]} drop_texture={[none]} icon={[icon.weapon_dagger_of_magicflame_i00]} mesh={[LineageWeapons.dagger_of_magicflame_m00_wp]} texture={[LineageWeaponsTex.dagger_of_magicflame_t00_wp]} crystallizable=1 item_sound={[itemSound.sword_small_2];[itemSound.public_sword_shing_6];[itemSound.sword_small_7];[itemSound.dagger_4]} drop_sound=[itemSound.itemdrop_dagger] equip_sound=[itemSound.itemequip_dagger] weight=1010 soulshot_count=3 spiritshot_count=3 material_type=fine_steel crystal_type=s physical_damage=271 random_damage=5 weapon_type=dagger critical=12 hit_modify=-3 avoid_modify=0 shield_defense=0 shield_defense_rate=0 attack_speed=433 mp_consume=0 magical_damage=148 durability=95 effect_c={[LineageEffect.w_vari_r4_002_a]} effect_c_s=0.30 c3_attr1=0 c3_attr2=0 c3_attr3=0 c3_attr4=2 c3_attr5=2 range_s={[LineageWeapons.rangesample]} c3_attr6=0.90 c3_attr7=0.60 c3_attr8=0.60 c3_attr9=8.00 c3_attr10=0.00 range2_s=0.00 range2_arg={} c4_attr1=[none] c4_attr2=[none] c4_attr5=0 c4_attr6=0 c4_attr7=0 item_end

item_begin object_id=9133 object_name=[] body_part={rhand} animation=1 drop_type=3 drop_anim_type=1 drop_radius=15 drop_height=5 projectile=[none] curvature=1000 drop_mesh={[LineageWeapons.eclipse_axe_m00_wp];[LineageWeaponsTex.eclipse_axe_t00_wp]} drop_texture={[none]} icon={[icon.weapon_eclipse_axe_i00]} mesh={[LineageWeapons.eclipse_axe_m00_wp]} texture={[LineageWeaponsTex.eclipse_axe_t00_wp]} crystallizable=1 item_sound={[itemSound.spear_3];[itemSound.staff_2];[itemSound.spear_6];[itemSound.spear_9]} drop_sound=[itemSound.itemdrop_spear] equip_sound=[itemSound.itemequip_spear] weight=1640 soulshot_count=3 spiritshot_count=3 material_type=fine_steel crystal_type=s physical_damage=316 random_damage=20 weapon_type=blunt critical=4 hit_modify=4 avoid_modify=0 shield_defense=0 shield_defense_rate=0 attack_speed=379 mp_consume=0 magical_damage=149 durability=95 effect_c={[LineageEffect.w_vari_r4_005_a]} effect_c_s=-15.00 c3_attr1=0 c3_attr2=0.00 c3_attr3=0.00 c3_attr4=1.5 c3_attr5=0 range_s={[LineageWeapons.rangesample]} c3_attr6=1.20 c3_attr7=1.20 c3_attr8=1.20 c3_attr9=10.00 c3_attr10=0.50 range2_s=0.00 range2_arg={} c4_attr1=[none] c4_attr2=[none] c4_attr5=0 c4_attr6=0 c4_attr7=0 item_end

item_begin object_id=9134 object_name=[] body_part={lrhand} animation=2 drop_type=3 drop_anim_type=1 drop_radius=15 drop_height=5 projectile=[none] curvature=1000 drop_mesh={[LineageWeapons.doom_crusher_m00_wp];[LineageWeaponsTex.doom_crusher_t00_wp]} drop_texture={[none]} icon={[icon.weapon_doom_crusher_i00]} mesh={[LineageWeapons.doom_crusher_m00_wp]} texture={[LineageWeaponsTex.doom_crusher_t00_wp]} crystallizable=1 item_sound={[itemSound.hammer_3];[itemSound.sword_mid_9];[itemSound.sword_big_7];[itemSound.spear_6]} drop_sound=[itemSound.itemdrop_spear] equip_sound=[itemSound.itemequip_spear] weight=1900 soulshot_count=1 spiritshot_count=1 material_type=fine_steel crystal_type=s physical_damage=381 random_damage=20 weapon_type=blunt critical=4 hit_modify=4 avoid_modify=0 shield_defense=0 shield_defense_rate=0 attack_speed=325 mp_consume=0 magical_damage=151 durability=85 effect_c={[LineageEffect.w_vari_r4_005_a]} effect_c_s=-7.50 c3_attr1=0 c3_attr2=0.00 c3_attr3=0.00 c3_attr4=1.5 c3_attr5=1 range_s={[LineageWeapons.rangesample]} c3_attr6=1.30 c3_attr7=1.30 c3_attr8=1.30 c3_attr9=18.00 c3_attr10=0.00 range2_s=0.00 range2_arg={} c4_attr1=[none] c4_attr2=[none] c4_attr5=0 c4_attr6=0 c4_attr7=0 item_end

item_begin object_id=9135 object_name=[] body_part={lrhand} animation=5 drop_type=1 drop_anim_type=1 drop_radius=15 drop_height=2 projectile=[none] curvature=1000 drop_mesh={[LineageWeapons.noble_elven_bow_m00_wp];[LineageWeaponsTex.noble_elven_bow_t00_wp]} drop_texture={[none]} icon={[icon.weapon_noble_elven_bow_i00]} mesh={[LineageWeapons.noble_elven_bow_m00_wp]} texture={[LineageWeaponsTex.noble_elven_bow_t00_wp]} crystallizable=1 item_sound={[itemSound.bow_big_3];[itemSound.bow_small_3];[itemSound.bow_small_6];[itemSound.bow_big_2]} drop_sound=[itemSound.itemdrop_bow] equip_sound=[itemSound.itemequip_bow] weight=1760 soulshot_count=8 spiritshot_count=2 material_type=mithril crystal_type=s physical_damage=624 random_damage=5 weapon_type=bow critical=12 hit_modify=-3 avoid_modify=0 shield_defense=0 shield_defense_rate=0 attack_speed=293 mp_consume=7 magical_damage=147 durability=97 effect_c={[LineageEffect.w_vari_r4_003_a]} effect_c_s=-2 c3_attr1=0 c3_attr2=-3 c3_attr3=0.00 c3_attr4=2 c3_attr5=1.00 range_s={[LineageWeapons.rangesample]} c3_attr6=1.60 c3_attr7=1.10 c3_attr8=1.10 c3_attr9=-1.00 c3_attr10=0.00 range2_s=0.00 range2_arg={} c4_attr1=[none] c4_attr2=[none] c4_attr5=0 c4_attr6=0 c4_attr7=0 item_end

item_begin object_id=9136 object_name=[] body_part={rhand} animation=1 drop_type=3 drop_anim_type=1 drop_radius=15 drop_height=5 projectile=[none] curvature=1000 drop_mesh={[LineageWeapons.eye_of_soul_m00_wp];[LineageWeaponsTex.eye_of_soul_t00_wp]} drop_texture={[none]} icon={[icon.weapon_eye_of_soul_i00]} mesh={[LineageWeapons.eye_of_soul_m00_wp]} texture={[LineageWeaponsTex.eye_of_soul_t00_wp]} crystallizable=0 item_sound={[itemSound.sword_mid_8];[itemSound.sword_great_3];[itemSound.spear_6];[itemSound.mace_2]} drop_sound=[none] equip_sound=[itemSound.itemequip_weapon_blunt] weight=1300 soulshot_count=1 spiritshot_count=1 material_type=adamantaite crystal_type=s physical_damage=285 random_damage=20 weapon_type=blunt critical=4 hit_modify=4 avoid_modify=0 shield_defense=0 shield_defense_rate=0 attack_speed=379 mp_consume=0 magical_damage=202 durability=100 effect_c={[LineageEffect.w_vari_r4_005_a]} effect_c_s=-13.00 c3_attr1=0 c3_attr2=0.00 c3_attr3=0.00 c3_attr4=1 c3_attr5=1 range_s={[LineageWeapons.rangesample]} c3_attr6=1.00 c3_attr7=1.00 c3_attr8=1.00 c3_attr9=18.00 c3_attr10=0.00 range2_s=0.00 range2_arg={} c4_attr1=[none] c4_attr2=[none] c4_attr5=0 c4_attr6=0 c4_attr7=0 item_end

item_begin object_id=9137 object_name=[] body_part={lrhand} animation=7 drop_type=0 drop_anim_type=3 drop_radius=2 drop_height=8 projectile=[none] curvature=1000 drop_mesh={[LineageWeapons.foxs_nail_m00_wp];[LineageWeaponsTex.foxs_nail_t00_wp]} drop_texture={[LineageWeapons.foxs_nail_m00_wp];[LineageWeaponsTex.foxs_nail_t00_wp]} icon={[icon.weapon_foxs_nail_i00]} mesh={[LineageWeapons.foxs_nail_m00_wp];[LineageWeapons.foxs_nail_m00_wp]} texture={[LineageWeaponsTex.foxs_nail_t00_wp];[LineageWeaponsTex.foxs_nail_t00_wp]} crystallizable=1 item_sound={[itemSound.dagger_6];[itemSound.sword_small_2];[itemSound.sword_mid_2];[itemSound.sword_big_8]} drop_sound=[itemSound.itemdrop_fist] equip_sound=[itemSound.itemequip_fist] weight=1420 soulshot_count=1 spiritshot_count=1 material_type=blood_steel crystal_type=s physical_damage=374 random_damage=5 weapon_type=dualfist critical=4 hit_modify=4 avoid_modify=0 shield_defense=0 shield_defense_rate=0 attack_speed=325 mp_consume=0 magical_damage=152 durability=90 effect_c={[LineageEffect.w_vari_r4_005_a]} effect_c_s={[LineageEffect.w_vari_r4_005_a]} c3_attr1=0 c3_attr2=-31.00 c3_attr3=0 c3_attr4=0 c3_attr5=-31.00 range_s={[]} c3_attr6=0.00 c3_attr7=1.5 c3_attr8=1.5 c3_attr9=0 c3_attr10=0 range2_s={[LineageWeapons.rangesample];[LineageWeapons.rangesample]} range2_arg={1;1;1;1;1;1;0.00;1.00;0.00;0.00;1.00;0.00} c4_attr1=[none] c4_attr2=[none] c4_attr5=0 c4_attr6=0 c4_attr7=0 item_end

item_begin object_id=9138 object_name=[] body_part={lrhand} animation=4 drop_type=3 drop_anim_type=1 drop_radius=15 drop_height=5 projectile=[none] curvature=1000 drop_mesh={[LineageWeapons.demons_staff_m00_wp];[LineageWeaponsTex.demons_staff_t00_wp]} drop_texture={[none]} icon={[icon.weapon_demons_staff_i00]} mesh={[LineageWeapons.demons_staff_m00_wp]} texture={[LineageWeaponsTex.demons_staff_t00_wp]} crystallizable=1 item_sound={[itemSound.sword_great_2];[itemSound.spear_6];[itemSound.staff_2];[itemsound.spear_7]} drop_sound=[itemSound.itemdrop_staff] equip_sound=[itemSound.itemequip_staff] weight=910 soulshot_count=1 spiritshot_count=1 material_type=adamantaite crystal_type=s physical_damage=294 random_damage=20 weapon_type=blunt critical=4 hit_modify=4 avoid_modify=0 shield_defense=0 shield_defense_rate=0 attack_speed=325 mp_consume=0 magical_damage=208 durability=100 effect_c={[LineageEffect.w_vari_r4_005_a]} effect_c_s=-4 c3_attr1=0 c3_attr2=0.00 c3_attr3=0.00 c3_attr4=1.5 c3_attr5=1.1 range_s={[LineageWeapons.rangesample]} c3_attr6=1.30 c3_attr7=1.10 c3_attr8=1.10 c3_attr9=22.50 c3_attr10=0.00 range2_s=0.00 range2_arg={} c4_attr1=[none] c4_attr2=[none] c4_attr5=0 c4_attr6=0 c4_attr7=0 item_end

item_begin object_id=9139 object_name=[] body_part={lrhand} animation=3 drop_type=1 drop_anim_type=1 drop_radius=6 drop_height=1 projectile=[none] curvature=1000 drop_mesh={[LineageWeapons.katana_m00_wp];[LineageWeaponsTex.old_samurai_longsword_t00_wp]} drop_texture={[LineageWeapons.katana_m00_wp];[LineageWeaponsTex.old_samurai_longsword_t00_wp]} icon={[icon.weapon_dual_sword_i00]} mesh={[LineageWeapons.katana_m00_wp];[LineageWeapons.katana_m00_wp]} texture={[LineageWeaponsTex.old_samurai_longsword_t00_wp];[LineageWeaponsTex.old_samurai_longsword_t00_wp]} crystallizable=1 item_sound={[itemSound.sword_mid_4];[itemSound.sword_small_9];[itemSound.sword_mid_2];[itemSound.public_sword_shing_10]} drop_sound=[itemSound.itemdrop_dualsword] equip_sound=[itemSound.itemequip_dualsword] weight=2080 soulshot_count=1 spiritshot_count=1 material_type=adamantaite crystal_type=s physical_damage=382 random_damage=10 weapon_type=dual critical=8 hit_modify=0 avoid_modify=0 shield_defense=0 shield_defense_rate=0 attack_speed=325 mp_consume=0 magical_damage=159 durability=95 effect_c={[LineageEffect.w_vari_r4_004_a]} effect_c_s={[LineageEffect.w_vari_r4_004_a]} c3_attr1=0 c3_attr2=0.70 c3_attr3=-0.5 c3_attr4=0.70 c3_attr5=0.70 range_s=-0.5 c3_attr6=0.00 c3_attr7=1.90 c3_attr8=1.90 c3_attr9=0.70 c3_attr10=0.70 range2_s={[LineageWeapons.rangesample];[LineageWeapons.rangesample]} range2_arg={1.45;1.25;1.25;1.45;1.25;1.25;10.00;2.00;0.00;10.00;2.00;0.00} c4_attr1=[icon.weapon_katana_i00] c4_attr2=[icon.weapon_katana_i00] c4_attr5=0 c4_attr6=0 c4_attr7=0 item_end

item_begin object_id=9140 object_name=[] body_part={lrhand} animation=3 drop_type=1 drop_anim_type=1 drop_radius=6 drop_height=1 projectile=[none] curvature=1000 drop_mesh={[LineageWeapons.sickle_m00_wp];[LineageWeaponsTex.sickle_t00_wp]} drop_texture={[LineageWeapons.sickle_m00_wp];[LineageWeaponsTex.sickle_t00_wp]} icon={[icon.weapon_dual_sword_i00]} mesh={[LineageWeapons.sickle_m00_wp];[LineageWeapons.sickle_m00_wp]} texture={[LineageWeaponsTex.sickle_t00_wp];[LineageWeaponsTex.sickle_t00_wp]} crystallizable=1 item_sound={[itemSound.sword_mid_4];[itemSound.sword_small_9];[itemSound.sword_mid_2];[itemSound.public_sword_shing_10]} drop_sound=[itemSound.itemdrop_dualsword] equip_sound=[itemSound.itemequip_dualsword] weight=2080 soulshot_count=1 spiritshot_count=1 material_type=adamantaite crystal_type=s physical_damage=382 random_damage=10 weapon_type=dual critical=8 hit_modify=0 avoid_modify=0 shield_defense=0 shield_defense_rate=0 attack_speed=325 mp_consume=0 magical_damage=159 durability=95 effect_c={[LineageEffect.w_vari_r4_005_a]} effect_c_s={[LineageEffect.w_vari_r4_005_a]} c3_attr1=0 c3_attr2=-18 c3_attr3=0 c3_attr4=0 c3_attr5=-18 range_s=0 c3_attr6=0 c3_attr7=1 c3_attr8=1 c3_attr9=1 c3_attr10=1 range2_s={[LineageWeapons.rangesample];[LineageWeapons.rangesample]} range2_arg={1;1;1;1;1;1;15.00;1.00;0.00;15.00;1.00;0.00} c4_attr1=[icon.weapon_sickle_i00] c4_attr2=[icon.weapon_sickle_i00] c4_attr5=0 c4_attr6=0 c4_attr7=0 item_end

 

 

 

how to add it to client ty, gtg!

4 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • what pack you use  send me on discord for it
    • package custom.events.RandomZoneEvent; import java.io.File; import java.util.ArrayList; import java.util.List; import java.util.Random; import java.util.concurrent.ScheduledFuture; import org.w3c.dom.Document; import org.w3c.dom.Node; import org.l2jmobius.commons.threads.ThreadPool; import org.l2jmobius.commons.time.SchedulingPattern; import org.l2jmobius.commons.time.TimeUtil; import org.l2jmobius.commons.util.IXmlReader; import org.l2jmobius.gameserver.managers.ZoneManager; import org.l2jmobius.gameserver.model.StatSet; import org.l2jmobius.gameserver.model.actor.Creature; import org.l2jmobius.gameserver.model.actor.Npc; import org.l2jmobius.gameserver.model.actor.Player; import org.l2jmobius.gameserver.model.quest.Event; import org.l2jmobius.gameserver.model.zone.ZoneId; import org.l2jmobius.gameserver.model.zone.ZoneType; import org.l2jmobius.gameserver.model.zone.type.RandomZone; import org.l2jmobius.gameserver.util.Broadcast; /** * Random Zone Event - Activates one random PvP zone temporarily. No modifica la clase de la zona: usa flags PvP en runtime. * @author Juan */ public class RandomZoneEvent extends Event { private static final String CONFIG_FILE = "data/scripts/custom/events/RandomZoneEvent/config.xml"; private static int EVENT_DURATION_MINUTES = 15; private static boolean _isActive = false; private ScheduledFuture<?> _eventTask = null; private final List<ZoneType> _availableZones = new ArrayList<>(); private ZoneType _activeZone = null; public RandomZoneEvent() { loadConfig(); loadZones(); registerZoneListeners(); } /** * Registra listeners a TODAS LAS ZONAS random */ private void registerZoneListeners() { for (ZoneType zone : _availableZones) { addEnterZoneId(zone.getId()); addExitZoneId(zone.getId()); LOGGER.info("[RandomZoneEvent] Registered listener for zone: " + zone.getName()); } } private void loadConfig() { new IXmlReader() { @Override public void load() { parseDatapackFile(CONFIG_FILE); } @Override public void parseDocument(Document doc, File file) { forEach(doc, "event", eventNode -> { final StatSet att = new StatSet(parseAttributes(eventNode)); final String name = att.getString("name"); for (Node node = eventNode.getFirstChild(); node != null; node = node.getNextSibling()) { if ("schedule".equals(node.getNodeName())) { final StatSet attributes = new StatSet(parseAttributes(node)); final String pattern = attributes.getString("pattern"); final SchedulingPattern schedulingPattern = new SchedulingPattern(pattern); final StatSet params = new StatSet(); params.set("Name", name); params.set("SchedulingPattern", pattern); final long delay = schedulingPattern.getDelayToNextFromNow(); getTimers().addTimer("Schedule_" + name, params, delay + 5000, null, null); LOGGER.info("[RandomZoneEvent] Event " + name + " scheduled at " + TimeUtil.getDateTimeString(System.currentTimeMillis() + delay)); } } }); } }.load(); } private void loadZones() { for (ZoneType zone : ZoneManager.getInstance().getAllZones(RandomZone.class)) { if ((zone.getName() != null) && zone.getName().toLowerCase().startsWith("random_zone")) { _availableZones.add(zone); LOGGER.info("[RandomZoneEvent] Loaded zone: " + zone.getName() + " (id=" + zone.getId() + ")"); } } LOGGER.info("[RandomZoneEvent] Total random zones loaded: " + _availableZones.size()); } @Override public void onTimerEvent(String event, StatSet params, Npc npc, Player player) { if (event.startsWith("Schedule_")) { eventStart(null); final SchedulingPattern schedulingPattern = new SchedulingPattern(params.getString("SchedulingPattern")); final long delay = schedulingPattern.getDelayToNextFromNow(); getTimers().addTimer(event, params, delay + 5000, null, null); LOGGER.info("[RandomZoneEvent] Rescheduled for " + TimeUtil.getDateTimeString(System.currentTimeMillis() + delay)); } } @Override public boolean eventStart(Player eventMaker) { if (_isActive) { if (eventMaker != null) { eventMaker.sendMessage("RandomZoneEvent already active."); } return false; } if (_availableZones.isEmpty()) { Broadcast.toAllOnlinePlayers("[RandomZoneEvent] No zones configured."); return false; } _isActive = true; Broadcast.toAllOnlinePlayers("⚔️ Random Zone Event has started!"); _eventTask = ThreadPool.schedule(this::activateRandomZone, 5_000); return true; } private void activateRandomZone() { _activeZone = _availableZones.get(new Random().nextInt(_availableZones.size())); _activeZone.setEnabled(true); Broadcast.toAllOnlinePlayers("🔥 Random Zone Event: " + _activeZone.getName() + " is now PvP for " + EVENT_DURATION_MINUTES + " minutes!"); _eventTask = ThreadPool.schedule(this::eventStop, EVENT_DURATION_MINUTES * 60 * 1000L); } @Override public boolean eventStop() { if (!_isActive) { return false; } _isActive = false; if (_eventTask != null) { _eventTask.cancel(true); _eventTask = null; } if (_activeZone != null) { _activeZone.setEnabled(false); Broadcast.toAllOnlinePlayers("🏁 Random Zone Event ended. " + _activeZone.getName() + " is back to normal."); _activeZone = null; } else { Broadcast.toAllOnlinePlayers("🏁 Random Zone Event ended."); } return true; } @Override public void onEnterZone(Creature creature, ZoneType zone) { if (!_isActive || (_activeZone == null)) { return; } if ((zone == _activeZone) && creature.isPlayable()) { creature.setInsideZone(ZoneId.PVP, true); if (creature.isPlayer()) { creature.sendMessage("Esta zona está en modo PvP temporalmente."); } } } @Override public void onExitZone(Creature creature, ZoneType zone) { if (!_isActive || (_activeZone == null)) { return; } if ((zone == _activeZone) && creature.isPlayable()) { creature.setInsideZone(ZoneId.PVP, false); if (creature.isPlayer()) { creature.sendMessage("Abandonaste la zona PvP temporal."); } } } @Override public boolean eventBypass(Player player, String bypass) { return true; } @Override public String onEvent(String event, Npc npc, Player player) { return super.onEvent(event, npc, player); } @Override public String onFirstTalk(Npc npc, Player player) { return null; } public static void main(String[] args) { new RandomZoneEvent(); } } i have this but its not working
    • ZonePvPSpawnBossRadio=0 ZonePvPSpawnBossBarakiel=0 at the Customs.ini in L2Server folder. Im prety sure this is it because i had the same problem with you in cruma 1 floor for example and i couldn't fix it but i fixed it finally by changing these 2 lines
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock