Jump to content

tazerman2

Members
  • Posts

    678
  • Credits

  • Joined

  • Last visited

  • Days Won

    9
  • Feedback

    0%

Everything posted by tazerman2

  1. <set name="item_skill" val="2046-1" /> skill id
  2. if you have acis you can open logs and you see all chat
  3. better if (((L2PcInstance) character).getPvpFlag() >= 0) { ((L2PcInstance) character).stopPvPFlag(); ((L2PcInstance) character).updatePvPFlag(1); }
  4. give me your skype for help you.
  5. you can add your flag system _PvPRegTask = ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new PvPFlag(), 5000, 5000); but on exit do cansel task and use normal if (activeChar.getPvpFlag() == 1) { _PvPRegTask.cansel(true); activeChar.updatePvPFlag(2); }
  6. send me your code from zone maybe i can fix it
  7. import com.mchange.v1.util.MapUtils; ???? mistake import maybe?
  8. pvp.properties you can change time flag # How much time one stays in PvP mode after hitting an innocent (in ms) # Default: 120000 PvPVsNormalTime = 40000 # Length one stays in PvP mode after hitting a purple player (in ms) # Default: 60000 PvPVsPvPTime = 20000
  9. maybe you have change flag time from config ?
  10. you can see l2CastleZone on exit give flag after leave from zone size so you can use this on enter. Every time you enter to your zone and player is not flag he start task // Set pvp flag if (((L2PcInstance) character).getPvpFlag() == 0) { ((L2PcInstance) character).startPvPFlag(); } end on exit no need he get time from task + config
  11. [GR] stile mou private to site na ton do :P
  12. [GR] distixos den eiparxi file.. kai an bris tha einai tipou mid rate craft GvE
  13. [GR] orea doulia file mprabo sou. distixos omos afta den einai orea gia ena sosto server to 90% gia na min po to 100% apo tous server pou anigoune bazoune kati tetia les kai eimaste asxeti kai den kseroume oti einai fake bots. +1
  14. hello all i have see all server l2j have problem with onActionShift if you are not gm you can open window and with client hack you can add html as like buffer or gm shop i need help for give me a idea how to fix this problem photo https://imgur.com/a/SRddd
  15. look Wadingmanager DlgAnswer how is work and in gatekeeper that ask with timer.
  16. nice. world of bots is begin. :P
  17. hello i have make a automatically party create for event's but i have big problem with packets like i have open 6 box like 3vs3 in one team i see last player and have double add same player like 1 tester 2 tester1 3 tester2 4 tester2 all is good on event he add 3 player pet party and in party.java use same 3 vs 3 add i use threadpool if maybe have problem with fast add and with delay he make party good as normal image for hava a idea so how can help or tell me whare is the problem? i have test it all. and code is this
  18. i am looking phoenix event full work pm tnx.
  19. no is do same i use this and again do same protected void createPartyOfTeam(int teamId) { int count = 0; L2Party party = null; FastList<L2PcInstance> list = new FastList<>(); for (L2PcInstance p : players.keySet()) if (getTeam(p) == teamId) list.add(p); for (L2PcInstance player : list) { if (count % 9 == 0 && list.size() - count != 1) party = new Party(player , player , LootRule.ITEM_LOOTER); if (count % 9 < 9) player.joinParty(party); count++; } }
  20. melron l2 jdev he help all newbie. and he know good java
  21. hello all i have a little problem with a event i try to fix auto create but all time use same player in multi add look photo image if any can experience or help to fix multi add or tell me whare is the problem for fix it code is this protected FastMap<PcInstance, int[]> players; public void createParty(int teamId) { int count = 0; Party party = null; FastList<PcInstance> list = new FastList<>(); for (PcInstance p : players.keySet()) if (getTeam(p) == teamId) list.add(p); FastList<PcInstance> sublist = new FastList<>(); for (PcInstance subPlayers : list) { if (count % 9 == 0 && list.size() - count != 1) { if (sublist.size() == 0) { sublist.add(subPlayers); } else { if (subPlayers.getParty() == null) { party = new Party(subPlayers, sublist.get(0), LootRule.ITEM_LOOTER); } else { if (party != null) party.addPartyMember(subPlayers); } sublist.reset(); sublist.add(subPlayers); } } if (count % 9 < 9) { sublist.add(subPlayers); } count++; } }
  22. yes you can do and this. me have program admin and i set olympiad via panel but you can setup your olympiad if you end period and make config
  23. with fix party and bugs ?
×
×
  • Create New...