Jump to content

dandilo

Members
  • Posts

    14
  • Credits

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

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