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

 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

Posted

 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



  • Posts

    • Don’t miss the new Telegram gifts with our Telegram Stars purchasing bot! A great opportunity to invest in a stable digital asset at an early stage while the market is still forming. Buy other existing gifts in the official store using Telegram Stars, pay for subscriptions, donate to games and projects, pay for Premium subscriptions, and react to messages in channels! Low prices, multiple payment options, and other cool unique features! ⚡ Try it today — SOCNET STARS BOT ⚡ Active links to SOCNET stores: Digital Goods Store (Website): Go Store Telegram Bot: Go – convenient access to the store via Telegram messenger. ⭐ Telegram Stars Purchase Bot: Go – fast and profitable way to buy stars in Telegram. SMM Panel: Go – promote your social media accounts. We present to you the current list of promotions and special offers for purchasing our products and services: 1️⃣ Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, bot) in October! You can also use the promo code SOCNET (15% discount) for your first purchase. 2️⃣ Get $1 on your store balance or a 10–20% discount — just write your username after registration on our website using the template: "SEND ME BONUS, MY USERNAME IS..." — post it in our forum thread! 3️⃣ Get $1 for your first SMM Panel trial — simply open a ticket titled “Get Trial Bonus” on our website (Support). 4️⃣ Weekly ⭐ Telegram Stars giveaways in our Telegram channel and in our Telegram Stars bot! News: ➡ Telegram Channel: https://t.me/accsforyou_shop ➡ WhatsApp Channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord Server: https://discord.gg/y9AStFFsrh Contacts and Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Don’t miss the new Telegram gifts with our Telegram Stars purchasing bot! A great opportunity to invest in a stable digital asset at an early stage while the market is still forming. Buy other existing gifts in the official store using Telegram Stars, pay for subscriptions, donate to games and projects, pay for Premium subscriptions, and react to messages in channels! Low prices, multiple payment options, and other cool unique features! ⚡ Try it today — SOCNET STARS BOT ⚡ Active links to SOCNET stores: Digital Goods Store (Website): Go Store Telegram Bot: Go – convenient access to the store via Telegram messenger. ⭐ Telegram Stars Purchase Bot: Go – fast and profitable way to buy stars in Telegram. SMM Panel: Go – promote your social media accounts. We present to you the current list of promotions and special offers for purchasing our products and services: 1️⃣ Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, bot) in October! You can also use the promo code SOCNET (15% discount) for your first purchase. 2️⃣ Get $1 on your store balance or a 10–20% discount — just write your username after registration on our website using the template: "SEND ME BONUS, MY USERNAME IS..." — post it in our forum thread! 3️⃣ Get $1 for your first SMM Panel trial — simply open a ticket titled “Get Trial Bonus” on our website (Support). 4️⃣ Weekly ⭐ Telegram Stars giveaways in our Telegram channel and in our Telegram Stars bot! News: ➡ Telegram Channel: https://t.me/accsforyou_shop ➡ WhatsApp Channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord Server: https://discord.gg/y9AStFFsrh Contacts and Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Don’t miss the new Telegram gifts with our Telegram Stars purchasing bot! A great opportunity to invest in a stable digital asset at an early stage while the market is still forming. Buy other existing gifts in the official store using Telegram Stars, pay for subscriptions, donate to games and projects, pay for Premium subscriptions, and react to messages in channels! Low prices, multiple payment options, and other cool unique features! ⚡ Try it today — SOCNET STARS BOT ⚡ Active links to SOCNET stores: Digital Goods Store (Website): Go Store Telegram Bot: Go – convenient access to the store via Telegram messenger. ⭐ Telegram Stars Purchase Bot: Go – fast and profitable way to buy stars in Telegram. SMM Panel: Go – promote your social media accounts. We present to you the current list of promotions and special offers for purchasing our products and services: 1️⃣ Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, bot) in October! You can also use the promo code SOCNET (15% discount) for your first purchase. 2️⃣ Get $1 on your store balance or a 10–20% discount — just write your username after registration on our website using the template: "SEND ME BONUS, MY USERNAME IS..." — post it in our forum thread! 3️⃣ Get $1 for your first SMM Panel trial — simply open a ticket titled “Get Trial Bonus” on our website (Support). 4️⃣ Weekly ⭐ Telegram Stars giveaways in our Telegram channel and in our Telegram Stars bot! News: ➡ Telegram Channel: https://t.me/accsforyou_shop ➡ WhatsApp Channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord Server: https://discord.gg/y9AStFFsrh Contacts and Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Yes, just keep this post=)
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock