-
Posts
273 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Posts posted by GoldenNightmare
-
-
i want to buy retail like knownlist for l2jserver develop
-
hello im using l2j h5 version and im wondering how i can transfer my server to god client like l2 asterios
-
-
@Override
public boolean doDie(L2Character killer)
{
// Kill the L2NpcInstance (the corpse disappeared after 7 seconds)
if (!super.doDie(killer) || (getCastle() == null) || !TerritoryWarManager.getInstance().isTWInProgress())
{
return false;
}
if (killer instanceof L2PcInstance)
{
if ((((L2PcInstance) killer).getSiegeSide() > 0) && !((L2PcInstance) killer).isCombatFlagEquipped())
{
((L2PcInstance) killer).addItem("Pickup", getId() - 23012, 1, null, false);
}
else
{
TerritoryWarManager.getInstance().getTerritoryWard(getId() - 36491).spawnMe();
}
SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.THE_S1_WARD_HAS_BEEN_DESTROYED_C2_HAS_THE_WARD);
HERE IS THE LINE 154 ---> sm.addString(getName().replaceAll(" Ward", ""));
sm.addPcName((L2PcInstance) killer);
TerritoryWarManager.getInstance().announceToParticipants(sm, 0, 0);
}
else
{
TerritoryWarManager.getInstance().getTerritoryWard(getId() - 36491).spawnMe();
}
decayMe();
return true;
}
-
hello i need help when im on territory war and kill the flag to take it in my character arms got this npe i cant understand what cause this
Exception in thread "AISTPool-5" java.lang.NullPointerException at com.l2jserver.gameserver.model.actor.instance.L2TerritoryWardInstance.doDie(L2TerritoryWardInstance.java:154) at com.l2jserver.gameserver.model.actor.status.CharStatus.reduceHp(CharStatus.java:181) at com.l2jserver.gameserver.model.actor.status.NpcStatus.reduceHp(NpcStatus.java:59) at com.l2jserver.gameserver.model.actor.status.AttackableStatus.reduceHp(AttackableStatus.java:61) at com.l2jserver.gameserver.model.actor.L2Character.reduceCurrentHp(L2Character.java:6460) at com.l2jserver.gameserver.model.actor.L2Attackable.reduceCurrentHp(L2Attackable.java:311) at com.l2jserver.gameserver.model.actor.instance.L2TerritoryWardInstance.reduceCurrentHp(L2TerritoryWardInstance.java:125) at com.l2jserver.gameserver.model.actor.L2Attackable.reduceCurrentHp(L2Attackable.java:244) at com.l2jserver.gameserver.model.actor.L2Character.onHitTimer(L2Character.java:4866) at com.l2jserver.gameserver.model.actor.tasks.character.HitTask.run(HitTask.java:60) at com.l2jserver.gameserver.ThreadPoolManager$RunnableWrapper.run(ThreadPoolManager.java:89) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
-
any help ?
-
yes this video is from retail and show the feature i want to make
-
hi i want help for a feature i want to make when you summon your servitor to take buffs from the character and remove the others and also
im using latest l2j server high five
example video:
here is summon.java which handle the skill
/* * Copyright (C) 2004-2016 L2J DataPack * * This file is part of L2J DataPack. * * L2J DataPack is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * L2J DataPack is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ package handlers.effecthandlers; import com.l2jserver.Config; import com.l2jserver.gameserver.data.json.ExperienceData; import com.l2jserver.gameserver.data.xml.impl.NpcData; import com.l2jserver.gameserver.enums.Race; import com.l2jserver.gameserver.model.StatsSet; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; import com.l2jserver.gameserver.model.actor.instance.L2ServitorInstance; import com.l2jserver.gameserver.model.actor.templates.L2NpcTemplate; import com.l2jserver.gameserver.model.conditions.Condition; import com.l2jserver.gameserver.model.effects.AbstractEffect; import com.l2jserver.gameserver.model.holders.ItemHolder; import com.l2jserver.gameserver.model.skills.BuffInfo; /** * Summon effect implementation. * @author UnAfraid */ public final class Summon extends AbstractEffect { private final int _npcId; private final float _expMultiplier; private final ItemHolder _consumeItem; private final int _lifeTime; private final int _consumeItemInterval; public Summon(Condition attachCond, Condition applyCond, StatsSet set, StatsSet params) { super(attachCond, applyCond, set, params); if (params.isEmpty()) { throw new IllegalArgumentException("Summon effect without parameters!"); } _npcId = params.getInt("npcId"); _expMultiplier = params.getFloat("expMultiplier", 1); _consumeItem = new ItemHolder(params.getInt("consumeItemId", 0), params.getInt("consumeItemCount", 1)); _consumeItemInterval = params.getInt("consumeItemInterval", 0); _lifeTime = params.getInt("lifeTime", 3600) * 1000; } @Override public boolean isInstant() { return true; } @Override public void onStart(BuffInfo info) { if (!info.getEffected().isPlayer() || info.getEffected().hasSummon()) { return; } final L2PcInstance player = info.getEffected().getActingPlayer(); final L2NpcTemplate template = NpcData.getInstance().getTemplate(_npcId); final L2ServitorInstance summon = new L2ServitorInstance(template, player); final int consumeItemInterval = (_consumeItemInterval > 0 ? _consumeItemInterval : (template.getRace() != Race.SIEGE_WEAPON ? 240 : 60)) * 1000; summon.setName(template.getName()); summon.setTitle(info.getEffected().getName()); summon.setReferenceSkill(info.getSkill().getId()); summon.setExpMultiplier(_expMultiplier); summon.setLifeTime(_lifeTime); summon.setItemConsume(_consumeItem); summon.setItemConsumeInterval(consumeItemInterval); if (summon.getLevel() >= Config.MAX_PET_LEVEL) { summon.getStat().setExp(ExperienceData.getInstance().getExpForLevel(Config.MAX_PET_LEVEL - 1)); _log.warning(Summon.class.getSimpleName() + ": (" + summon.getName() + ") NpcID: " + summon.getId() + " has a level above " + Config.MAX_PET_LEVEL + ". Please rectify."); } else { summon.getStat().setExp(ExperienceData.getInstance().getExpForLevel(summon.getLevel() % Config.MAX_PET_LEVEL)); } summon.setCurrentHp(summon.getMaxHp()); summon.setCurrentMp(summon.getMaxMp()); summon.setHeading(player.getHeading()); player.setPet(summon); summon.setRunning(); summon.spawnMe(); } }
-
name: FinalDestination
class: Othell Wind Rider
level: 85
official eu server: core
price: 25 euro
skype: tzortzoglou2
-
its server side you as player cant do anything if only admin enable the config
-
yes indeed this stupid buged pack is new fashion now on most servers because they dont know how to create a pack with events etc they buy this shit and they just open it this was begin from l2tales what a fail servers and too boring
-
price updated 15 euro
-
For those who dont know the server : www.l2dragon.net
vesper noble set 120 attri
zaken cloak
shirt s grade
vesper jewels 7/4/4/4/4
skills +25/30
vesper shaper critical damage passive augment pvp p atk
active augment c staff pvp p atk active
also staff with refresh item skill active
vesper dual daggers +5
200kk adena
Adventurer 3 subclass + Nobless
Ceritification skills: Haste, Celestial, Evasion
olympiad ring 15% crit dmg
price 15 euro
Skype: tzortzoglou2
-
vesper shaper +0
tallum a heavy
jewels s grade
140 festival adena
+13 skills
male adventurer
price 10 euro
-
I got pack already i need private work
-
-
looking for profession develop java based l2jserver for many works please contract me skype: tzortzoglou2 or pm here
-
price is 10 euro
-
RPG CLUB x3 wts soultaker 82 lvl cheap
no items
-
vesper caster updated to +4
-
Archmage 85lvl + 3 subs and Nobless
vesper noble set full attri +4
vesper caster 4 + acumen 300 fire
vesper shield +4
vesper Jewels +4
1vorpal ring
holy spirit cloak
1b adena
22 enchant weapon s
1 beas
skype: tzortzoglou2
or pm here
price 10 euro
-
skype: tzortzoglou2
-
lf developer which can fix this bug using l2jserver latest rev
https://www.youtube.com/watch?v=Nsm_g95ZTkI&feature=youtu.be&hd=1
-
ok thanks for info if possible to help me to avoid L2world stuff im using latest l2jserver version
Developer to fix error (NPE)
in Request Server Development Help [L2J]
Posted
lf developer for fix a error in OlympiadGameTask.java project l2jserver develop version
payment via paypal