Jump to content

Recommended Posts

Posted

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.

Posted

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

Posted

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

Posted

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.
Posted (edited)

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

Posted


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

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

 

lool, seriously ? :not bad:
Posted

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

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

    • Yeah, for sure. Hardly anyone doesn't use it yet, but those few are gonna give in soon. I'm not judging anyone who uses it – that's not the point. The point is that people do use it. I use it, you use it, we all use it. These days, it's just NORMAL. And it's gonna keep getting more and more normal. But like I said, you still gotta know what you're actually doing.
    • Then that's the problem. Server owners are as bad as they used to be in 2005, 2010 and so on.    This scene has technically mature developers, always money-hungry server owners, but what both these groups lack, is some creativity ... I would never play in a server that needs 7 layers of anti-bot. If it needs 7 layers of anti-bot, it means its a bot friendly server and not something worth playing. 
    • Lineage just has a giga boring quest line / lore and since server owners are not reinventing the wheel, players are forced to F1 F2 spam by server design.
    • Players say: We don't have time, please add auto-farm to the server, after all, farming in L2 is the most repetitive and boring thing, it gives no enjoyment.    Then players say: OMG your server is full of auto-farmers with adrenaline. Use anti-cheat guards.    Excluding the hilarious fact that an auto-farm player is essentiall botting without botting software ...   Noone stops to ask the simple question: If nobody likes farming to that extend that they go as far as building complex bots and ask for server-side bot programs and then for no apparent reason have to build anti-bot guards ... MAYBE the problem is that "farming" is an outdated feature that has to be removed from your servers ?   What you people are building here is software that protects a game feature, nobody likes and nobody wants to use.   Has the mental capacity of server owners and developers fallen so many IQ points the last decade ? One comes back to see the same server setups of a decade ago, with zero innovation, zero creativity and a huge amount of time and resources protecting a game feature nobody wants to even use ... The other dissappointing thing one sees here, is that a lot of GREAT developers who now work full time jobs in corporate, come back here, to bash the work of others because they find their current job tasks not as fullfilling as when they would develope game related code for Lineage 2...   Talking about life choices eh ? 😛
    • Have u seen the message i sent you?
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..