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

    • What does ‘half-finished’ even mean? Most projects based on L2Off use essentially the same files made for gold-style servers, and they’re fully functional. As for the L2J branches, calling them ‘half-finished’ couldn’t be further from the truth, they’re not only complete in the sense of gold-style projects but are actually extended with even more features.
    • Discord         :  utchiha_market Telegram        : https://t.me/utchiha_market Auto Buy Store  : https://utchiha-market.mysellauth.com/ Not sure if we’re legit? Check Our server — real reviews, real buyers https://discord.gg/4EPpYhe2HA  | https://campsite.bio/utchihaamkt  
    • sell adena l2rebon signature x1 - 1kk = 1 dollars l2reborn x10 - 500kk = 4.7 dollars E-Global x Lu4 - 1kk = 2.7 dollars BOHPTS - x20-x500 TOP PRICE DISCORD - GODDARDSHOP TELEGRAM - MMOPROMO Also on sale are Epic jewelry, Clothes at a very good price
    • For wholesale clients   We understand that favorable terms are especially important when dealing with large volumes. That’s why we offer a flexible system for wholesale clients  we can discuss pricing and provide personalized solutions tailored to your needs. With us, you get not only a reliable service but also support focused on long-term cooperation. We value partners who operate at scale and do everything possible to make it convenient and profitable for you to grow together with Vibe SMS.   Website link — https://vibe-sms.net/ Our Telegram channel — https://t.me/vibe_sms   Quality in the Details     As Henry Ford said: "Quality means doing it right even when no one is looking."   At Vibe SMS, we believe the same. Every number and every feature is designed to make your work easy and stress-free. With us, it’s simple: grab a number, complete your task, and move forward. Reliability, comfort, and attention to detail — that’s our vibe, helping you focus on what really matters.   Website link — https://vibe-sms.net/ Our Telegram channel — https://t.me/vibe_sms  
    • We ready to post first part of Patchnotes! To avoid delaying the patch notes, we’ve decided to split them into two parts. Right now, we’re publishing the patch notes focused on balance changes (skill changes). In the second part, we’ll share details about gameplay updates, world changes, activities, and more.  - Patchnotes (last post on topic) https://forum.lineage2dex.com/threads/16724/#post-72291
  • 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