Jump to content

dandilo

Members
  • Posts

    14
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by dandilo

  1. Author, check this one.

     

    ### Eclipse Workspace Patch 1.0
    #P L2jFrozen_GameServer
    Index: head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java
    ===================================================================
    --- head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java	(revision 1004)
    +++ head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java	(working copy)
    @@ -8037,7 +8037,7 @@
    			return;
    
    		// If in Arena, do nothing
    -		if (isInsideZone(ZONE_PVP) || targetPlayer.isInsideZone(ZONE_PVP))
    +		if (isInsideZone(ZONE_PVP) || targetPlayer.isInsideZone(ZONE_PVP) && !isInsideZone(ZONE_SIEGE) && !targetPlayer.isInsideZone(ZONE_SIEGE))
    			return;
    
    		// check anti-farm
    

     

    Thank you for answering me, still did not work.

  2. Thanks Friend, I use l2jfrozen, the code is different, as I do?

     

    		// If in Arena, do nothing
    	if (isInsideZone(ZONE_PVP) || targetPlayer.isInsideZone(ZONE_PVP))
    		return;

     

    And when I add your code generates this error

     

       
        [javac] 		if (isInsideZone(ZONE_PVP) || targetPlayer.isInsideZone(ZONE_PVP) && (!isInSiege() && !targetPlayer.isInSiege()))
        [javac] 		                                                                                                   ^
        [javac]   symbol:   method isInSiege()
        [javac]   location: variable targetPlayer of type L2PcInstance
        [javac] 2 errors
        [javac] 1 warning

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