Jul 30, 2008 #1 O ownagekilla666 Experienced Elementalist Joined May 11, 2006 Messages 218 Reaction score 0 Hi I use L2jfree and players can attack NPCs in town. How can I fix this? I never had this problem before.. Any help would be appreciated.
Hi I use L2jfree and players can attack NPCs in town. How can I fix this? I never had this problem before.. Any help would be appreciated.
Jul 30, 2008 #2 mosolygozsolt Newbie Spellweaver 10 Happy Years Joined Jan 27, 2007 Messages 41 Reaction score 0 Its not a bug. In Hellbound u can attack the NPC-s in towns. U can disable this option in the java core: I use normal L2J, and i found the file in here: C:\Workspace\L2_GameServer\java\net\sf\l2j\gameserver\model\actor\instance\L2NpcInstace.java Seach this section in the file: @Override public boolean isAttackable() { return true; } If u want disable that, use this: @Override public boolean isAttackable() { return false; } Upvote 0
Its not a bug. In Hellbound u can attack the NPC-s in towns. U can disable this option in the java core: I use normal L2J, and i found the file in here: C:\Workspace\L2_GameServer\java\net\sf\l2j\gameserver\model\actor\instance\L2NpcInstace.java Seach this section in the file: @Override public boolean isAttackable() { return true; } If u want disable that, use this: @Override public boolean isAttackable() { return false; }
Jul 31, 2008 #3 A Addytzu07 Newbie Spellweaver 10 Happy Years Joined Mar 9, 2008 Messages 44 Reaction score 0 where i can find ...source...emu interlude..any java.. Upvote 0
Jul 31, 2008 #4 Rin4a Supreme Arcanarch 500 Posts 10 Happy Years Joined Apr 24, 2006 Messages 906 Reaction score 10 look at the svn and if you can`t solve it (finding the source) move to L2jFree, because they have source available from c5 Upvote 0
look at the svn and if you can`t solve it (finding the source) move to L2jFree, because they have source available from c5