Coding Tutorials/Guides

Sign in to follow this  

117 topics in this forum

    • 0 replies
    • 1,095 views
    • 0 replies
    • 71 views
    • 0 replies
    • 436 views
    • 3 replies
    • 326 views
  1. Guide Create Mirc

    • 0 replies
    • 605 views
    • 0 replies
    • 948 views
    • 0 replies
    • 564 views
    • 5 replies
    • 1,037 views
    • 0 replies
    • 1,387 views
    • 4 replies
    • 3,269 views
    • 6 replies
    • 3,417 views
    • 7 replies
    • 1,148 views
    • 12 replies
    • 1,100 views
    • 0 replies
    • 828 views
    • 32 replies
    • 2,576 views
    • 1 reply
    • 749 views
    • 10 replies
    • 2,587 views
  2. [GR][Guide] C++

    • 8 replies
    • 1,280 views
  3. [CMD]Try it.

    • 10 replies
    • 1,020 views
    • 1 reply
    • 849 views
    • 1 reply
    • 698 views
    • 7 replies
    • 792 views
    • 4 replies
    • 857 views
    • 8 replies
    • 971 views
    • 11 replies
    • 887 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