AltAttackableNpcs

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

AltAttackableNpcs

Post by jurchiks »

So, if i'm correct, this function should disable players attacking npcs in towns (which really annoys me).
If so, it's not working.
But if not, maybe someone could tell me what should I change to REALLY disable it?
Currently it's:

Code: Select all

 	@Override	public boolean isAttackable()	{		return Config.ALT_ATTACKABLE_NPCS;	}
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
badboy29
Posts: 417
Joined: Fri Apr 24, 2009 5:34 am
Location: Brazil

Re: AltAttackableNpcs

Post by badboy29 »

You try disable in npc.properties ?

Code: Select all

# Defines whether NPCs are attackable by default# Retail: TrueAltAttackableNpcs = True
Aka UnHoly
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: AltAttackableNpcs

Post by jurchiks »

so helpful...
the script i posted is the same thing, in case you didn't read, and it doesn't work
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
badboy29
Posts: 417
Joined: Fri Apr 24, 2009 5:34 am
Location: Brazil

Re: AltAttackableNpcs

Post by badboy29 »

Not be rude guy, I'm trying to help :evil:
Aka UnHoly
Post Reply