Attila Posted May 5, 2015 Posted May 5, 2015 onExit() if (give_noblesse) removeBuff(activeChar, activeChar, noblesse); IF the pack you are using has method removeBuff, else search for it. Sorry don't no what you mean were i need to look to put this can you tell me where i need to put this please thanks
SweeTs Posted May 5, 2015 Posted May 5, 2015 (edited) I already told you, onExit() , use godamn search mode, there is ONLY ONE such method. Find the method, you will find out where to put it. Edited May 5, 2015 by SweeTs
Attila Posted May 5, 2015 Posted May 5, 2015 (edited) I already told you, onExit() , use godamn search mode, there is ONLY ONE such method. Find the method, you will find out where to put it. omg Thanks because you want to help me I'm just a noob that asks something because he does not understand what you try to tell me. Hi5 code is: http://pastebin.com/ZxKTTsBm Multifuntionzone.java code: http://pastebin.com/x7HDMjc4 So where do I look- do i need to look at code that I used or i need to look at Eclipse com.l2jserver ? so please tell me in noob language and sorry that I upset you :-\ Edited May 5, 2015 by Attila
SweeTs Posted May 5, 2015 Posted May 5, 2015 Multifuntionzone.java code: http://pastebin.com/x7HDMjc4 Ctrl + F -> " onExit "
Attila Posted May 6, 2015 Posted May 6, 2015 Ctrl + F -> " onExit " thanks but i try to put this there i got errror at eclipse if (give_noblesse) removeBuff(activeChar, activeChar, noblesse); can you tell me where i need to put it protected void onExit(L2Character character) { character.setInsideZone(ZoneId.NO_SUMMON_FRIEND, false); character.setInsideZone(ZoneId.MULTI_FUNCTION, false); if (!store_zone) { character.setInsideZone(ZoneId.NO_STORE, false); } if (character instanceof L2PcInstance) { L2PcInstance activeChar = ((L2PcInstance) character); activeChar.sendMessage("You left from a MultiFunction zone."); if (pvp_enabled) { activeChar.stopPvPFlag(); } } } @Override public void onDieInside(final L2Character character)
SweeTs Posted May 6, 2015 Posted May 6, 2015 Put it under place where activeChar is oparating. You have similar check there, about pvp flag. Add it after it. And the correct line would be. activeChar.stopSkillEffects(true, 1323);
Attila Posted May 7, 2015 Posted May 7, 2015 Put it under place where activeChar is oparating. You have similar check there, about pvp flag. Add it after it. And the correct line would be. activeChar.stopSkillEffects(true, 1323); Yes thanks man it works now and thanks for the patience with me ^-^
tiguz Posted June 3, 2015 Posted June 3, 2015 (edited) Sweets or some1 else.. I need help with these 2 errors: [javac] C:\Users\TiG\Desktop\workspacecorrect\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:8119: error: cannot find symbol [javac] L2MultiFunctionZone.givereward(this); [javac] ^ [javac] symbol: method givereward(L2PcInstance) [javac] location: class L2MultiFunctionZone ===================================================== [javac] C:\Users\TiG\Desktop\workspacecorrect\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\network\serverpackets\Die.java:63: error: cannot find symbol [javac] _canTeleport = !((TvT.is_started() && player._inEventTvT) || (DM.is_started() && player._inEventDM) || (CTF.is_started() && player._inEventCTF) || player.isInFunEvent() || player.isPendingRevive() || (player.isInsideZone(L2Character.ZONE_MULTIFUNCTION) && L2MultiFunctionZone.revive)); ^ [javac] symbol: variable L2MultiFunctionZone [javac] location: class Die Thanks in advance!! Edited June 3, 2015 by tiguz
dzumara Posted August 14, 2015 Posted August 14, 2015 (edited) Why - protected final List<L2ItemInstance> _items; + public final List<L2ItemInstance> _items; Instead of using getter getItems() ? Edited August 14, 2015 by dzumara
^Wyatt Posted August 14, 2015 Author Posted August 14, 2015 (edited) Why would you discuss about how is it coded if it's an old code, l2 dev is kinda dead, and I do not update this for ages... Simply, it was done in a bad way and there are a lot of things that could've been done way better, but they weren't. P.S: Sweets if you read it gimme your skype in a PM you nerd :D Best Regards, Edited August 14, 2015 by ^Wyatt
kaif Posted August 17, 2015 Posted August 17, 2015 Wyatt good job. you give more updates? you can help me? i need for aCis 345 pls update code
valentin Posted September 6, 2015 Posted September 6, 2015 (edited) It works perfectly gj Edited September 6, 2015 by valentin
iPwned Posted October 12, 2015 Posted October 12, 2015 (edited) Hey, i got problem on gameserver console. "ZoneData: No such zone type: MultiFunctionZone in file: peace_zones.xml" Any know how fix it? l2jserver Freya. @Edit Problem Fixed Edited October 12, 2015 by martinpll
Attila Posted November 30, 2015 Posted November 30, 2015 i got problem on gameserver console. "ZoneData: No such zone type: MultiFunctionZone in file: peace_zones.xml" Any know how fix it? I got HI5 thanks
Attila Posted December 1, 2015 Posted December 1, 2015 i got problem on gameserver console. "ZoneData: No such zone type: MultiFunctionZone in file: peace_zones.xml" Any know how fix it? I got HI5 thanks solved
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 accountSign in
Already have an account? Sign in here.
Sign In Now