Defense of the Ancients [Dota 2]

Sign in to follow this  

Defense of the Ancients (DotA) is a multiplayer online battle arena mod for the video game Warcraft III: Reign of Chaos and its expansion, Warcraft III: The Frozen Throne, based on the "Aeon of Strife" map for StarCraft

571 topics in this forum

    • 51 replies
    • 9,018 views
  1. [DotA]Videos

    • 20 replies
    • 7,637 views
    • 19 replies
    • 2,735 views
    • 2 replies
    • 1,462 views
    • 31 replies
    • 5,813 views
  2. DotA Commands/FAQ

    • 8 replies
    • 2,327 views
    • 12 replies
    • 3,842 views
    • 8 replies
    • 3,349 views
    • 3 replies
    • 365 views
    • 9 replies
    • 594 views
    • 17 replies
    • 1,116 views
    • 0 replies
    • 466 views
    • 6 replies
    • 867 views
    • 1 reply
    • 647 views
    • 1 reply
    • 521 views
  3. [Wts] Arcana's

    • 0 replies
    • 557 views
  4. Dota 2 Greekz

    • 1 reply
    • 610 views
  5. [Wts] Dota 2 Coaching

    • 2 replies
    • 748 views
  6. [Wts/t] Dota2 Items

    • 1 reply
    • 583 views
  7. LF Dota 2 Team!

    • 1 reply
    • 905 views
  8. Heya Guyz...

    • 2 replies
    • 699 views
  9. An Introduction To Dota

    • 2 replies
    • 1,288 views
  10. [WTS/WTT] Dota 2 Items

    • 1 reply
    • 662 views
  11. WTS Dota 2 Items

    • 0 replies
    • 636 views
  12. Dota song

    • 13 replies
    • 1,157 views
Sign in to follow this  


  • Posts

    •   Thanks man! We like you too!   Now then I thought I would take a little Holiday glance at what we've done since Patch 31, I believe that was our last post on the subject of coding. I'm very proud of our team and what we've been able to accomplish. We'll be revealing more snippets of information as we continue our progress into the New Year.   Major systems will be released in the upcoming year. Expect them to be fun and exciting!   Now then, here's a list of changes since Patch 31.   Patch 32 - August 18, 2017   Patch 33 - August 25, 2017   Patch 34 - September 1, 2017   Patch 35 - September 4, 2017   Patch 36 - September 11, 2017   Patch 37 - September 17, 2017   Patch 38 - September 30, 2017   Patch 39/40/41 - October 1 - October 4, 2017   Patch 42 - October 7, 2017   Patch 43 - October 9, 2017   Patch 44 - October 14, 2017   Patch 45/46 - October 14 - 16, 2017   Patch 47 - October 20, 2017   Patch 48/49/50 - October 23 - 26, 2017   Patch 51 - October 28, 2017   Patch 52 - November 2, 2017   Patch 53/54 - November 5 - 8, 2017   Patch 55 - November 15, 2017   Patch 56 - November 19, 2017   Patch 57 - November 27, 2017   Patch 58 - December 02, 2017    
    • send me your code from zone maybe i can fix it
    • I tested with the codes everybody gave me, but with those methods the flag will never go away. it stays forever.

      I tested too with updatePvpFlag, same outcome.   I tested with it like this: L2PcInstance player = character.getActingPlayer(); player.setPvpFlagLasts(System.currentTimeMillis() + 3000); player.sendMessage("You Have Left The Chaotic Zone."); Also like this: L2PcInstance player = character.getActingPlayer(); player.updatePvPFlag(0); player.sendMessage("You Have Left The Chaotic Zone."); And also like this:  @Override protected void onExit(L2Character character) { character.setInsideZone(L2Character.ZONE_NOSUMMONFRIEND, false); character.setInsideZone(L2Character.ZONE_MULTIFUNCTION, false); if (character instanceof L2PcInstance) { L2PcInstance player = character.getActingPlayer(); player.setPvpFlagLasts(System.currentTimeMillis() + 3000); player.sendMessage("You Have Left The Chaotic Zone."); } } if (activeChar.getPvpFlag() != 0) activeChar.setPvpFlag(0); activeChar.updatePvPFlag(1);   if (character instanceof L2PcInstance) { ((L2PcInstance) character).sendPacket(new SystemMessage(SystemMessageId.LEFT_COMBAT_ZONE)); // Set pvp flag if (((L2PcInstance) character).getPvpFlag() == 0) { ((L2PcInstance) character).startPvPFlag(); } } } I tested all these ways, none works =/
    • without effect = 40 with effect = 95
  • Topics