Jump to content
  • 0

[Question]allow friend kill in town


Question

4 answers to this question

Recommended Posts

  • 0
Posted

How to allow to friends(/friendinvite) to kill each other in town etc, any place they meet?

 

If i understand you you mean

 

# Zone Setting
#   0 = Peace All the Time
#   1 = PVP During Siege for siege participants
#   2 = PVP All the Time
ZoneTown = 0

 

you've to change the ZoneTown from 0 to 2

  • 0
Posted

Piece of cake :)

Go to L2Character and find lines with: "isInsidePeaceZone"

you will find methods like onForcedAttack and isInsidePeaceZone stops u from being able to attack, so near isInsidePeaceZone(player) u will need to add && !player.getFriendList().contains(this))

 

thats all :)

Guest
This topic is now closed to further replies.


  • Posts

    • @Mobius, congratulations on the milestone🫡 P.S. I saw my name
    • Every commit to the L2J Mobius project since 2015 visualized as comets impacting the Mobius planet. 10+ years of development, thousands of commits, hundreds of contributors, all brought to life.    
    • new link https://www.mediafire.com/file/sspr9w96u9qln62/AvengersKamaelWings.7z/file
    • “8-PAGE CONTRACT — AND ONE SEAL DECIDES EVERYTHING.” ▪ We got a case that looked “simple”: SPA, legal entities, all data provided — just assemble and format. ▪ But the devil was in the details. ▪  An 8-page document with two parties to the deal: IE and LLC, requisites, amounts, deadlines, shipment. ▪ And a separate request: seals must look **real** — different angles, different pressure, no “stamp over text”. ▪ 🖨 This is exactly where most people fail. Identical imprints, even transparency, “perfect” insertion — and the document immediately looks like a mock-up, not a real file. ▪ We did it differently: — placed seals logically across the document — set different angles and pressure — added the signature separately — preserved the natural page structure ▪  Result: the document was accepted without any questions. ▪  Sometimes it’s not the text that matters. It’s how the seal sits. ▪  Want your file to look like a real document, not a collage? Write to us — we’ll show where even neat mock-ups usually get caught. *All data presented with the client’s consent.* › TG: https://t.me/mustang_service ( https:// t.me/ mustang_service ) › Channel: https://t.me/+JPpJCETg-xM1NjNl ( https:// t.me/ +JPpJCETg-xM1NjNl ) #documents #case #drawing #verification #contract
    • guys i got the mythras pac ... i know it is out dated://    i see in startup loads  32002 fake players from fake player table  but how  can i  summon them when i use //create_fake_players  nothing happens    
  • 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..