Jump to content

Recommended Posts

Posted

I want at Orc Vilage Can Play PvP becuse now you can hit some1 but you dont flag and at Cave of trials the same.

 

If some1 kill you now he dont flag/pk  is like *Giran Arena*

 

	}
		character.setInsideZone(L2Character.ZONE_PVP, true); <-- I change this lines to pvp but nothing				
	}
}

@Override
protected void onExit(L2Character character)
{
	if(character instanceof L2PcInstance)
	{
		character.setInsideZone(L2Character.ZONE_PVP, false);   <-- I change this lines to pvp but nothing
	}

 

some1 know  how i find Cave of Trials to make it newbie zone?

if you set newbie zone as ZONE_PVP players won't flag. because it will be combat zone. just remove it.

Posted

I want at Orc Vilage Can Play PvP becuse now you can hit some1 but you dont flag and at Cave of trials the same.

 

If some1 kill you now he dont flag/pk  is like *Giran Arena*

 

	}
		character.setInsideZone(L2Character.ZONE_PVP, true); <-- I change this lines to pvp but nothing				
	}
}

@Override
protected void onExit(L2Character character)
{
	if(character instanceof L2PcInstance)
	{
		character.setInsideZone(L2Character.ZONE_PVP, false);   <-- I change this lines to pvp but nothing
	}

 

some1 know  how i find Cave of Trials to make it newbie zone?

if you set newbie zone as ZONE_PVP players won't flag. because it will be combat zone. just remove it.

Posted

if you set newbie zone as ZONE_PVP players won't flag. because it will be combat zone. just remove it.

 

i add it to test it,  becuse before dont flag with zone_niewbie, i have remove that but i cant undestand what need to flag :/ that is the only problem

Posted

if you set newbie zone as ZONE_PVP players won't flag. because it will be combat zone. just remove it.

 

i add it to test it,  becuse before dont flag with zone_niewbie, i have remove that but i cant undestand what need to flag :/ that is the only problem

Posted

i add it to test it,  becuse before dont flag with zone_niewbie, i have remove that but i cant undestand what need to flag :/ that is the only problem

hm... go to l2pcinstance.java

 

find this:

	@Override
public boolean isAutoAttackable(L2Character attacker)
{

	// Check if the attacker isn't the L2PcInstance Pet
	if(attacker == this || attacker == getPet())
		return false;

	// 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())
		{
			if(isFakeDeath())
				return false;
			return true;
		}
		return false;
	}

	// Check if the attacker is not in the same clan
	if(getClan() != null && attacker != null && getClan().isMember(attacker.getName()))
		return false;

	if(attacker instanceof L2PlayableInstance
			&& isInFunEvent()){

		L2PcInstance player = null;
		if(attacker instanceof L2PcInstance){
			player = (L2PcInstance) attacker;
		}else if(attacker instanceof L2Summon){
			player = ((L2Summon) attacker).getOwner();
		}

		if(player != null){

			if(player.isInFunEvent()){

				//checks for events
				if((_inEventTvT && player._inEventTvT && TvT.is_started() && !_teamNameTvT.equals(player._teamNameTvT)) 
						|| (_inEventCTF && player._inEventCTF && CTF.is_started() && !_teamNameCTF.equals(player._teamNameCTF)) 
						|| (_inEventDM && player._inEventDM && DM.is_started()) 
						|| (_inEventVIP && player._inEventVIP && VIP._started))
					{
						return true;
					}
				return false;
			}
			return false;
		}
	}

	if(isInsideZone(ZONE_PEACE)){
		return false;
	}

 

after

		if(isInsideZone(ZONE_PEACE)){
		return false;

 

add

		if(isInsideZone(ZONE_NEWBIE)){
		return false;
	}

 

Feedback if works

Posted

i add it to test it,  becuse before dont flag with zone_niewbie, i have remove that but i cant undestand what need to flag :/ that is the only problem

hm... go to l2pcinstance.java

 

find this:

	@Override
public boolean isAutoAttackable(L2Character attacker)
{

	// Check if the attacker isn't the L2PcInstance Pet
	if(attacker == this || attacker == getPet())
		return false;

	// 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())
		{
			if(isFakeDeath())
				return false;
			return true;
		}
		return false;
	}

	// Check if the attacker is not in the same clan
	if(getClan() != null && attacker != null && getClan().isMember(attacker.getName()))
		return false;

	if(attacker instanceof L2PlayableInstance
			&& isInFunEvent()){

		L2PcInstance player = null;
		if(attacker instanceof L2PcInstance){
			player = (L2PcInstance) attacker;
		}else if(attacker instanceof L2Summon){
			player = ((L2Summon) attacker).getOwner();
		}

		if(player != null){

			if(player.isInFunEvent()){

				//checks for events
				if((_inEventTvT && player._inEventTvT && TvT.is_started() && !_teamNameTvT.equals(player._teamNameTvT)) 
						|| (_inEventCTF && player._inEventCTF && CTF.is_started() && !_teamNameCTF.equals(player._teamNameCTF)) 
						|| (_inEventDM && player._inEventDM && DM.is_started()) 
						|| (_inEventVIP && player._inEventVIP && VIP._started))
					{
						return true;
					}
				return false;
			}
			return false;
		}
	}

	if(isInsideZone(ZONE_PEACE)){
		return false;
	}

 

after

		if(isInsideZone(ZONE_PEACE)){
		return false;

 

add

		if(isInsideZone(ZONE_NEWBIE)){
		return false;
	}

 

Feedback if works

Posted

hm... go to l2pcinstance.java

 

find this:

	@Override
public boolean isAutoAttackable(L2Character attacker)
{

	// Check if the attacker isn't the L2PcInstance Pet
	if(attacker == this || attacker == getPet())
		return false;

	// 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())
		{
			if(isFakeDeath())
				return false;
			return true;
		}
		return false;
	}

	// Check if the attacker is not in the same clan
	if(getClan() != null && attacker != null && getClan().isMember(attacker.getName()))
		return false;

	if(attacker instanceof L2PlayableInstance
			&& isInFunEvent()){

		L2PcInstance player = null;
		if(attacker instanceof L2PcInstance){
			player = (L2PcInstance) attacker;
		}else if(attacker instanceof L2Summon){
			player = ((L2Summon) attacker).getOwner();
		}

		if(player != null){

			if(player.isInFunEvent()){

				//checks for events
				if((_inEventTvT && player._inEventTvT && TvT.is_started() && !_teamNameTvT.equals(player._teamNameTvT)) 
						|| (_inEventCTF && player._inEventCTF && CTF.is_started() && !_teamNameCTF.equals(player._teamNameCTF)) 
						|| (_inEventDM && player._inEventDM && DM.is_started()) 
						|| (_inEventVIP && player._inEventVIP && VIP._started))
					{
						return true;
					}
				return false;
			}
			return false;
		}
	}

	if(isInsideZone(ZONE_PEACE)){
		return false;
	}

 

after

		if(isInsideZone(ZONE_PEACE)){
		return false;

 

add

		if(isInsideZone(ZONE_NEWBIE)){
		return false;
	}

 

Feedback if works

 

i Add only this one  right?? 

		if(isInsideZone(ZONE_NEWBIE)){
		return false;
	}

 

i add it but i dont flag again :/

Posted

hm... go to l2pcinstance.java

 

find this:

	@Override
public boolean isAutoAttackable(L2Character attacker)
{

	// Check if the attacker isn't the L2PcInstance Pet
	if(attacker == this || attacker == getPet())
		return false;

	// 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())
		{
			if(isFakeDeath())
				return false;
			return true;
		}
		return false;
	}

	// Check if the attacker is not in the same clan
	if(getClan() != null && attacker != null && getClan().isMember(attacker.getName()))
		return false;

	if(attacker instanceof L2PlayableInstance
			&& isInFunEvent()){

		L2PcInstance player = null;
		if(attacker instanceof L2PcInstance){
			player = (L2PcInstance) attacker;
		}else if(attacker instanceof L2Summon){
			player = ((L2Summon) attacker).getOwner();
		}

		if(player != null){

			if(player.isInFunEvent()){

				//checks for events
				if((_inEventTvT && player._inEventTvT && TvT.is_started() && !_teamNameTvT.equals(player._teamNameTvT)) 
						|| (_inEventCTF && player._inEventCTF && CTF.is_started() && !_teamNameCTF.equals(player._teamNameCTF)) 
						|| (_inEventDM && player._inEventDM && DM.is_started()) 
						|| (_inEventVIP && player._inEventVIP && VIP._started))
					{
						return true;
					}
				return false;
			}
			return false;
		}
	}

	if(isInsideZone(ZONE_PEACE)){
		return false;
	}

 

after

		if(isInsideZone(ZONE_PEACE)){
		return false;

 

add

		if(isInsideZone(ZONE_NEWBIE)){
		return false;
	}

 

Feedback if works

 

i Add only this one  right?? 

		if(isInsideZone(ZONE_NEWBIE)){
		return false;
	}

 

i add it but i dont flag again :/

Posted

i Add only this one  right?? 

		if(isInsideZone(ZONE_NEWBIE)){
		return false;
	}

 

i add it but i dont flag again :/

no more ideas. probably you are doing something wrong

Posted

i Add only this one  right?? 

		if(isInsideZone(ZONE_NEWBIE)){
		return false;
	}

 

i add it but i dont flag again :/

no more ideas. probably you are doing something wrong

Posted

no more ideas. probably you are doing something wrong

i dont thing so becuse is newzone and it see like Arena  and somewhere need some work

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

    • Follow our Telegram channel, because exciting events are coming very soon! Halloween, 11.11, and also a giveaway related to 3000 subscribers in our Telegram channel are ahead! What do you think we have prepared? Subscribe to our Telegram channel and stay updated on all the news: https://t.me/accsforyou_shop Active links to SOCNET stores: Digital goods store (Website): Go Telegram store bot: Go – convenient access to the store via Telegram messenger. Telegram Stars purchasing bot: Go – fast and profitable purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We would like to introduce you to the current list of promotions and special offers for purchasing products and services of our platform: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, Bot) in October! You can also use a promo code for the first purchase: SOCNET (15% discount) 2. Get $1 to your store balance or a 10–20% discount — just send your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." — you need to write it in our forum thread! 3. Get $1 for the first trial launch of the SMM Panel — just open a ticket with the topic “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Stars purchasing 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 & Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Follow our Telegram channel, because exciting events are coming very soon! Halloween, 11.11, and also a giveaway related to 3000 subscribers in our Telegram channel are ahead! What do you think we have prepared? Subscribe to our Telegram channel and stay updated on all the news: https://t.me/accsforyou_shop Active links to SOCNET stores: Digital goods store (Website): Go Telegram store bot: Go – convenient access to the store via Telegram messenger. Telegram Stars purchasing bot: Go – fast and profitable purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We would like to introduce you to the current list of promotions and special offers for purchasing products and services of our platform: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, Bot) in October! You can also use a promo code for the first purchase: SOCNET (15% discount) 2. Get $1 to your store balance or a 10–20% discount — just send your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." — you need to write it in our forum thread! 3. Get $1 for the first trial launch of the SMM Panel — just open a ticket with the topic “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Stars purchasing 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 & Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Follow our Telegram channel, because exciting events are coming very soon! Halloween, 11.11, and also a giveaway related to 3000 subscribers in our Telegram channel are ahead! What do you think we have prepared? Subscribe to our Telegram channel and stay updated on all the news: https://t.me/accsforyou_shop Active links to SOCNET stores: Digital goods store (Website): Go Telegram store bot: Go – convenient access to the store via Telegram messenger. Telegram Stars purchasing bot: Go – fast and profitable purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We would like to introduce you to the current list of promotions and special offers for purchasing products and services of our platform: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, Bot) in October! You can also use a promo code for the first purchase: SOCNET (15% discount) 2. Get $1 to your store balance or a 10–20% discount — just send your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." — you need to write it in our forum thread! 3. Get $1 for the first trial launch of the SMM Panel — just open a ticket with the topic “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Stars purchasing 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 & Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Follow our Telegram channel, because exciting events are coming very soon! Halloween, 11.11, and also a giveaway related to 3000 subscribers in our Telegram channel are ahead! What do you think we have prepared? Subscribe to our Telegram channel and stay updated on all the news: https://t.me/accsforyou_shop Active links to SOCNET stores: Digital goods store (Website): Go Telegram store bot: Go – convenient access to the store via Telegram messenger. Telegram Stars purchasing bot: Go – fast and profitable purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We would like to introduce you to the current list of promotions and special offers for purchasing products and services of our platform: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, Bot) in October! You can also use a promo code for the first purchase: SOCNET (15% discount) 2. Get $1 to your store balance or a 10–20% discount — just send your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." — you need to write it in our forum thread! 3. Get $1 for the first trial launch of the SMM Panel — just open a ticket with the topic “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Stars purchasing 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 & Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Follow our Telegram channel, because exciting events are coming very soon! Halloween, 11.11, and also a giveaway related to 3000 subscribers in our Telegram channel are ahead! What do you think we have prepared? Subscribe to our Telegram channel and stay updated on all the news: https://t.me/accsforyou_shop Active links to SOCNET stores: Digital goods store (Website): Go Telegram store bot: Go – convenient access to the store via Telegram messenger. Telegram Stars purchasing bot: Go – fast and profitable purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We would like to introduce you to the current list of promotions and special offers for purchasing products and services of our platform: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, Bot) in October! You can also use a promo code for the first purchase: SOCNET (15% discount) 2. Get $1 to your store balance or a 10–20% discount — just send your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." — you need to write it in our forum thread! 3. Get $1 for the first trial launch of the SMM Panel — just open a ticket with the topic “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Stars purchasing 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 & Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
  • 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