Hai everyone, could anyone help me to make thats after you enter to kamaloka it won't cancel your buffs iv searching in forum but i couldnt find.
Ty for help
Kamaloka Cancel Buffs on Enter
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- Tan
- L2j Veteran
- Posts: 873
- Joined: Wed Jun 10, 2009 10:31 pm
- Location: Poland
Kamaloka Cancel Buffs on Enter
Some people believe in God... i believe in Music... some people pray..... I turn on Winamp
http://www.last.fm/user/L2jTan
http://www.last.fm/user/L2jTan
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Kamaloka Cancel Buffs on Enter
you should check the script, not the forums
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: Kamaloka Cancel Buffs on Enter
Kamaloka.java -> removeBuffs method -> called in enterInstance method
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
-
- Posts: 88
- Joined: Tue Jun 30, 2009 7:43 am
Re: Kamaloka Cancel Buffs on Enter
it should let you keep "adventurer guide" buffs
- Tan
- L2j Veteran
- Posts: 873
- Joined: Wed Jun 10, 2009 10:31 pm
- Location: Poland
Re: Kamaloka Cancel Buffs on Enter
Thank you so much janiii you again saved me xDjaniii wrote:Kamaloka.java -> removeBuffs method -> called in enterInstance method

Some people believe in God... i believe in Music... some people pray..... I turn on Winamp
http://www.last.fm/user/L2jTan
http://www.last.fm/user/L2jTan
-
- Posts: 332
- Joined: Wed Mar 17, 2010 10:33 am
- Location: Greece
- Contact:
Re: Kamaloka Cancel Buffs on Enter
i dont get it how i disable the removebuffs from my kamaloka instance...any help here??

-
- Posts: 99
- Joined: Wed Jan 04, 2006 12:51 am
Re: Kamaloka Cancel Buffs on Enter
Maybe something like
Code: Select all
Index: datapack_development/data/scripts/instances/Kamaloka/Kamaloka.java===================================================================--- datapack_development/data/scripts/instances/Kamaloka/Kamaloka.java (revision 7319)+++ datapack_development/data/scripts/instances/Kamaloka/Kamaloka.java (working copy)@@ -561,7 +561,7 @@ Instance inst = InstanceManager.getInstance().getInstance(world.instanceId); if (inst != null) {- removeBuffs(player);+ //removeBuffs(player); teleportPlayer(player, TELEPORTS[index], world.instanceId); } return;@@ -605,7 +605,7 @@ newQuestState(partyMember); world.allowed.add(partyMember.getObjectId()); - removeBuffs(partyMember);+ //removeBuffs(partyMember); teleportPlayer(partyMember, TELEPORTS[index], instanceId); } return;@@ -930,4 +930,4 @@ { new Kamaloka(-1, qn, "instances"); }-}\ No newline at end of file+}
- LasTravel
- Posts: 888
- Joined: Tue Jan 05, 2010 12:08 am
- Location: Spain
Re: Kamaloka Cancel Buffs on Enter
PoRnosJH wrote:i dont get it how i disable the removebuffs from my kamaloka instance...any help here??
Code: Select all
for (L2Effect e : ch.getAllEffects()) { if (e == null) continue; L2Skill skill = e.getSkill(); if (skill.isDebuff() || skill.isStayAfterDeath()) continue; if (Arrays.binarySearch(BUFFS_WHITELIST, skill.getId()) >= 0) continue; e.exit(); } if (ch.getPet() != null) { for (L2Effect e : ch.getPet().getAllEffects()) { if (e == null) continue; L2Skill skill = e.getSkill(); if (skill.isDebuff() || skill.isStayAfterDeath()) continue; if (Arrays.binarySearch(BUFFS_WHITELIST, skill.getId()) >= 0) continue; e.exit(); } }