Jump to content

Recommended Posts

Posted

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

Posted (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 by SweeTs
Posted (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

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 by Attila
Posted

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)
Posted

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);
Posted
 

 

 

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 ^-^

 

  • 4 weeks later...
Posted (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 by tiguz
  • 2 months later...
Posted (edited)

Why 

-       protected final List<L2ItemInstance> _items;
+       public final List<L2ItemInstance> _items;

Instead of using getter getItems() ?

Edited by dzumara
Posted (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 by ^Wyatt
  • 3 weeks later...
  • 1 month later...
Posted (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 by martinpll
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




  • Posts

    • Interlude x15 –  No soy el administrador de este servidor, pero es un nuevo proyecto que está muy bien configurado — ¡solo necesita una comunidad! Si estás buscando una experiencia nueva, equilibrada y emocionante en Interlude, este es el lugar. ¡Participa! Únete al servidor Trae tu clan o equipo ¡Ayuda a que el servidor crezca!   Fecha de Apertura 16 de Mayo de 2025 Horario de Apertura 19:00 GMT-3 Versión del Juego Interlude Versión de la Interfaz Classic (protocolo 166) Rates de EXP y SP Dinámicos Niveles 1 al 19: EXP 15, SP 10 Niveles 20 al 39: EXP 13, SP 7 Niveles 40 al 51: EXP 11, SP 3 Niveles 52 al 60: EXP 9, SP 3 Niveles 61 al 75: EXP 7, SP 1.5 Niveles 76+: EXP 2, SP 1 Otros Rates Adena: x1 Chance de Drop: x1 Chance de Spoil: x1 Cantidad de SealStone: x2 RB XP/SP: x3 RB Drop: x2 Configuraciones Únicas Hasta 3 cuentas por PC (2 gratis + 1 paga) Sistema de Enchant skill desactivado Sistema de Augment weapon desactivado Mana potion: efecto de 2000, reutilización de 15 segundos Sin auto-learn skill SP y Book para aprender skills Quests 1ª y 2ª Transferencia de Clase por Adena 3ª Transferencia de Clase por 700 Halisha Marks Subclase custom: solo hablar con las cajas de los 4 jefes Nobles Retail Recompensa de Transferencia de Profesión Recibe un ticket de 1ª profesión (artículos del starter pack) Recibe un ticket de 2ª profesión (Montura de Clase) Mejoras en el Auto-farm Hemos reestructurado la IA del auto-farm Corregida la zona de caza Configuraciones de alcance de la caza automática Clanes y Alianzas Máximo de miembros por clan: 25 miembros Máximo de clanes por alianza: 1 clan El clan ya inicia nivel 8, sin reputación y sin skills Comandos Dentro del Juego .cfg - Para ajustar configuraciones del juego .instancezone - Verificar el tiempo de instancias .sellbuff - Para comenzar a vender buffs .topclan - Para verificar el top clan .acp - Para usar el sistema de auto potion Bono de EXP Extra en la Party 6 miembros: 20% 7 miembros: 30% 8 miembros: 40% 9 miembros: 50% NPC Buff Duración: 1 hora Total de buffs: 24 + 4 (Divine Inspiration) Buffs básicos sin protección y sin profecías   Join  >> DISCORD <<    
    • 🚀 MoMoProxy Static Residential Proxies For Sale!     🔹 Stable, secure & high-anonymity 🔹 >10Mbps speed, <10ms latency 🔹 99.99% uptime & static IPs 🔹 Unlimited traffic & connections 🌍 30M+ clean residential IPs ✅ Whitelist & user/pass auth 💳 Flexible plans (7/30/90 days) 💰 From $3/IP (Pay-per-IP) 🔥 Perfect for: ✔️ Ad verification ✔️ E-commerce/social media ✔️ Data scraping ✔️ Anti-detect browsers 🆓 Start free trial today! 🔗 [Insert Link] #Proxy #ResidentialProxies #WebScraping #DigitalMarketing   1/ Why Choose MoMoProxy? ✅ Global ISP network (30M+ IPs) ✅ Dedicated dashboard for easy management ✅ 24/7 stable operation ✅ HTTP(S)/SOCKS5 support 2/ Use Cases: 📊 Ad fraud detection 🛒 Sneaker copping & e-com 📱 Social media automation 🌐 Travel aggregation & more! 3/ Get Started in 4 Steps: A. Pick MoMoProxy B. Grab your IP credentials C. Configure your tool D. Enjoy unlimited sessions!   https://momoproxy.com/static-residential-proxies https://momoproxy.com/static-residential-proxies https://momoproxy.com/static-residential-proxies    
    • ➡ Discount for your purchase: MAY2025 (10% discount) ➡ Our Online Shop: https://socnet.store  ➡ Our SMM-Boosting Panel: https://socnet.pro  ➡ Telegram Shop Bot: https://socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
    • ➡ Discount for your purchase: MAY2025 (10% discount) ➡ Our Online Shop: https://socnet.store  ➡ Our SMM-Boosting Panel: https://socnet.pro  ➡ Telegram Shop Bot: https://socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
    • Special offer until end of the month, don't lose it. 250  include datapack and patch latest.
  • Topics

×
×
  • Create New...