Jump to content

Multifunctionzone


^Wyatt

Recommended Posts

forgive me I'm a little inexperienced in the subject, you could guide me how to put not having to press the CTRL in zone

I actually don't remember how it's done, and I don't wanna look for it. Just use CTRL + H and "ZoneId.SIEGE", for example, and somewhere must be applied a check about that.

Link to comment
Share on other sites

I actually don't remember how it's done, and I don't wanna look for it. Just use CTRL + H and "ZoneId.SIEGE", for example, and somewhere must be applied a check about that.

am not earning any item in pvp what can be? Cronicle H5

Link to comment
Share on other sites

Hello, i use last aCis revision, but then i hit to player or kill him my flag is going down...

Ask it to aCis users or who did the patch. I just take care of h5 srsly I got so bored and mad from LoL xd

Link to comment
Share on other sites

And there is to help me figure out why I'm not getting anything when you kill someone?

 

Rev: H5 L2jServer

H5 stable or H5 beta? If you're not getting reward is coz you're not getting PvP, or you missed the line.
Link to comment
Share on other sites

I actually don't remember how it's done, and I don't wanna look for it. Just use CTRL + H and "ZoneId.SIEGE", for example, and somewhere must be applied a check about that.

It's handled by L2PcInstance in the boolean - > public boolean isAutoAttackable(L2Character attacker)

 

It's a very easy edit also.

 

For my solo zone I do it like this. IsInsideSoloZone is a custom boolean I have, normally it would/could be done like this. Obviously 'ZONE_PEACE' would need to be replaced with your custom zone type.

isInsideZone(ZONE_PEACE)

	public boolean isAutoAttackable(L2Character attacker)
	{
		// Check if the attacker isn't the L2PcInstance Pet
		if (attacker == this || attacker == getPet())
			return false;
		
		// TODO: check for friendly mobs
		// Check if the attacker is a L2MonsterInstance
		if (attacker instanceof L2MonsterInstance)
			return true;
		
		// Check if the attacker is not in the same party
		if (getParty() != null && getParty().getPartyMembers().contains(attacker))
			return false;
		
		// Check if the attacker is in olympia and olympia start
		if (attacker instanceof L2PcInstance && ((L2PcInstance)attacker).isInOlympiadMode() ){
			if (isInOlympiadMode() && isOlympiadStart() && ((L2PcInstance)attacker).getOlympiadGameId()==getOlympiadGameId())
				return true;
						if (isFakeDeath())
								return false;
			else
				return false;
		}
		
		// Check if the L2PcInstance is in an Event Match
		if (attacker instanceof L2PcInstance)
		{
			if ( EventManager.getInstance().ContainsMatchPlayer(this) && EventManager.getInstance().ContainsMatchPlayer(((L2PcInstance)attacker)) )
				return true;
		}
		
+		// Check if the L2PcInstance is in an Auto Flag Zone
+		if (attacker instanceof L2PcInstance)
+		{
+			if (this.isInSoloZone && ((L2PcInstance)attacker).isInSoloZone)
+				return true;
+		}
Edited by MlDNlGHT
Link to comment
Share on other sites

For l2jFrozen users...In order to take pvp change this line:

Index: head-src/com/l2jfrozen/gameserver/model/zone/type/L2MultiFunctionZone.java

 

+ character.setInsideZone(L2Character.ZONE_NOSUMMONFRIEND, true);

- character.setInsideZone(L2Character.ZONE_MULTIFUNCTION, true);

+character.setInsideZone(L2Character.ZONE_MULTIFUNCTION, false);

Link to comment
Share on other sites


- character.setInsideZone(L2Character.ZONE_MULTIFUNCTION, true);

+ character.setInsideZone(L2Character.ZONE_MULTIFUNCTION, false);

 

lool, seriously ? :not bad:
Link to comment
Share on other sites

Nop, I don't need it. I never used and I won't use frozen.. :D

 

Well, yeah, it could work since with false you're no longed inside Multifunction zone..

Link to comment
Share on other sites

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

    • I don't care what these random rats are typing to me. I will ruin their business for scamming other people's work. I'm very good at it, no matter what protection or obfuscation they add to their files. I will break them and share everything for free with the community that's what they deserve.
    • Look are you crazy or dumb? yes, im aware of this post, but i have NOTHING to do with it! unfortunately, when people sent me this post i even thought it was strange, and when i downloaded the server and the files really are without any protection, what do you want me to do about it? the reality is that im not even up to date on anything about Lineage anymore... im doing my things peacefully, bothering nobody.. He is talking about me, this guy is saying im the one who leaked or anyhting
    • Ps: I do know the guy, talked with him before, a few friends have bought stuff from him in the past and never had any issue. But hey, It happend so I'm posting it here. If he somehow answers back and sends the interface I will delete this post. A few days ago he made contact with me saying he had interface 474 code to sell. And since I also develop interfaces, I was interested in buying.   He told me the price, said he only accepted advcash/volet. I asked if he had any other crypto wallet or paypal email. He said no. After a while, he came back with a paypal email, in which we sent the money. But since its a new account, paypal blocked it for safekeeping. After this, he returned the money and we went to check on how to make a advcash/volet account. After a bit, we successfully created a "volet" account and transferred the money to him in 2 parts. 5 EUR first to check if he received the correct amount and later the 595 remaining to complete the 600 EUR for the asked price of the interface code and editors for it. His last message was on the 25th of September saying he wasn't home. Haven't heard from him since. I asked a friend of mine if he was legit and if he worked far from home and he did confirm this for me. But still. I would at least expect him to keep in touch with me to update his whereabouts and saying if he would need more time to arrive home. Here are the screens with the full discord conversation:    
  • Topics

×
×
  • Create New...