Jump to content

Question

14 answers to this question

Recommended Posts

  • 0
Posted

he prolly ask that if he wanna make a gmshop in an pvp area and if some1 pk the gmshop will hit him like guards do

altho just put a guard there 

  • 0
Posted (edited)

he prolly ask that if he wanna make a gmshop in an pvp area and if some1 pk the gmshop will hit him like guards do

altho just put a guard there 

 

 

No. I want make gmshop inside town. And if u hit him he kill you. I know its possible but how ?

Edited by Lancer
  • 0
Posted

Test This

for(L2PcInstance player : getKnownList().getKnownType(L2PcInstance.class))
			{
				if(player.isGM() || player.isDead() || !player.isVisible() || !isInsideRadius(player, 1250, false, false))	
				{
				getAI().setIntention(CtrlIntention.ATTACK, player);
				}
			}
  • 0
Posted

You must declare the instance (ej: L2Protector ) and then add

L2ProtectorInstance = guard; <- ej

guard.getAI().setIntention(CtrlIntention.ATTACK, player);

 

Its a example.

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

    • **L2Hope — Cosmetic-focused High Five, in alpha. Looking for founders.**   Hi, I'm the admin of **L2Hope**, a private **Lineage II High Five** server I'm building. It's in **alpha**, and I'm looking for a small group of testers who want to help shape it from the start. **What L2Hope is:**   - High Five, moderate rates (XP x3). - **Cosmetic-focused, not pay-to-win**: you pay for customization, not for progression. - **Multilingual**: Spanish, English, Portuguese, Russian and Polish. - Our differentiator: **the L2Hope app already lets you play your character from your phone** — manual, not a bot. For now with limited features and in its **final development stage**. An extra window for when you're away from your PC.   I'll be honest: **it's alpha.** There are bugs, the server isn't full, and **there will be a wipe before the official launch.** I'm not promising a perfect server — I'm inviting you to help build it. Your feedback at this stage shapes how it turns out.   **That's why I created the Founder Pack.** If you join now and help test, at launch (after the wipe) you'll receive, permanently: - A unique **[Founder]** title, which will never be obtainable again. - An **exclusive Founder hat**, never sold and never given out again. - The **remote-play app free for life**. - **12,500 Hope Coins** as a welcome gift. During the alpha, you'll also get premium and currency to test everything without friction. To become a Founder, just register, play, and give real feedback (a few bug reports or ideas, or join the testing sessions). Founder status closes on launch day: after that, no more founders. If you want to be part of this from the start:   - **Discord:** https://discord.gg/XFXU4k78M   - **Website / register:** https://hopechronicles.club   Any questions, just message me. Thanks for reading.
    • does it has any code of mine inside? if yes then its cool server, if not then it will fail 😕
    • Name: Giran Castle Town (Autumn Version) Type: Map Location: 22_22 Chronicle: Interlude Credits: AzukaChan Notes: Includes effects that are not visible in the preview. Chronicle Coders Have server/client development questions? Join the Chronicle Coders Discord: https://discord.gg/5zHzFGyGns   < DOWNLOAD LINK >
  • 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..