thanks but i couldn't see it(100 posts).Anyway i made a map for everything i want to save and loaded the real values after the event ended.Can be locked
I'm trying to change player's appearence(name/title) while on death match event but without luck.I changed getVisibleName method in PcAppearance like this
public final String getVisibleName()
{
if( DMEvent.isPlayerParticipant(_owner.getObjectId()) && DMEvent.isStarted())
{
return "Player";
}
if (_visibleName == null)
{
_visibleName = getOwner().getName();
}
return _visibleName;
}
but when the event ends name "Player" and title "Death Match" remain and even stored at db.Any ideas?(I'm using freya)
@aλonε™ you just make a variable named speed,you don't set it as player speed.
@hoangnhan no problem,just forgot to mention you have to add it on L2PeaceZone.java and not in PlayableStat.java cuz you will get spammed with this message :)
if (getActiveChar().isInsideZone(L2Character.ZONE_WATER))
val /= 2;
so this one won't return back to normal speed.and will keep divide your speed by 2."bug my ass".
φαντάζομαι φάση:
"ThumaMeHalisha: re file dwse na sou kanw enchant
"EpidoksosScammer:ma nai fusika parto
"ThumaMeHalisha: opa sorry re lathos koumpi
"EpidoksosScammer:dn peirazei man alla min bazeis tosa kena dn mporw na ta dw ola panw apo to kefali sou sto sunnefo
ΜΠΟΥΥΥΥΥΥΡΛΟΤΟ!
Smart code.You could add something like
player.sendMessage("You can feel the x2 speed boost as you enter peace zone");
right after your code,just to let the player know where did this come from.But that's just to be eye-appealing:)
Good simple but smart job
Hello.I try to make a timer that holds the time until the TvT event ends.I don't want the announcement timer(5 minutes until event finish bla bla).I want something like below
5:35 minutes remain until event finish.
How can i do that?
Hello one more :) I've coded my own death match event.But i got a problem,when the register npc spawns it says "I have nothing to say to you".I used pure java and some html files at proper directory.How can i solve this one?I'm using L2J freya.
Μέσα στον κώδικα υπάρχει αυτό
312.
+ if(command.startsWith("CVS_Regist"))
313.
+ ClanLeaderEvent.register(player);
314.
+ else if(command.startsWith("CVS_UnRegist"))
315.
+ ClanLeaderEvent.unRegister(player);
Οπότε τα commands είναι προφανή.
Πολύ καλή ιδέα για το event!Και δίνει και ιδέες για επόμενα ;D
Hello.I want to delete the spawns of most npcs/mobs so i can add only the one i need and speed things up a bit.I repeat the spawns NOT the npcs themselves.How can i do that?
thanks that will do the trick for skills.now i need the place for normal aoe attacks.An example:
Player A is below 76 level and flagged(below 76 players can hit other players of their level).Player B is a warlord above 76 level and he is farming.Player A gets in Player's B target area and get hit by pole normal attack.I want to disable that.
Thanks but i don't want to edit the type or something else from the .xml
Since i'm not clear enough i'll re-explain with an example.
Earthquake skill is an aoe skill.The type of this skill is TARGET_AURA.I want to make all TARGET_AURA skills not to hit players above 76.
I want to make the same for simple pole attacks.Which java files i have to edit?(and which methods if it's possible)