Jump to content

wongerlt

Members
  • Posts

    559
  • Joined

  • Last visited

  • Days Won

    8
  • Feedback

    0%

Everything posted by wongerlt

  1. and i do it, but how i make mistake with calculator , idk :D Thanks now work.
  2. fak is hard to understand for me :D Example im entering clan hall zone. character.setInsideZone(L2Character.ZONE_CLANHALL, true); and clan hall is in town. character.setInsideZone(L2Character.ZONE_PEACE, true); now by checking in what zones im are result is: ZONE_PEACE, ZONE_CLANHALL, ZONE_MULTIFUNCTION, ZONE_GRAND (why this zones are in list?)
  3. i not understand how it can work with frozen code?
  4. It's not seem little nonsense on frozen this functions? public static final int ZONE_PVP = 1; /** The Constant ZONE_PEACE. */ public static final int ZONE_PEACE = 2; /** The Constant ZONE_SIEGE. */ public static final int ZONE_SIEGE = 4; /** The Constant ZONE_MOTHERTREE. */ public static final int ZONE_MOTHERTREE = 8; /** The Constant ZONE_CLANHALL. */ public static final int ZONE_CLANHALL = 16; /** The Constant ZONE_UNUSED. */ public static final int ZONE_UNUSED = 32; /** The Constant ZONE_NOLANDING. */ public static final int ZONE_NOLANDING = 64; /** The Constant ZONE_WATER. */ public static final int ZONE_WATER = 128; /** The Constant ZONE_JAIL. */ public static final int ZONE_JAIL = 256; public static final int ZONE_EVENT = 257; /** The Constant ZONE_MONSTERTRACK. */ public static final int ZONE_MONSTERTRACK = 512; /** The Constant ZONE_SWAMP. */ public static final int ZONE_SWAMP = 1024; /** The Constant ZONE_NOSUMMONFRIEND. */ public static final int ZONE_NOSUMMONFRIEND = 2048; /** The Constant ZONE_OLY. */ public static final int ZONE_OLY = 4096; /** The Constant ZONE_NOHQ. */ public static final int ZONE_NOHQ = 8192; /** The Constant ZONE_DANGERAREA. */ public static final int ZONE_DANGERAREA = 16384; /** The Constant ZONE_NOSTORE. */ public static final int ZONE_NOSTORE = 32768; /** The Constant ZONE_MULTIFUNCTION. */ public static final int ZONE_MULTIFUNCTION = 67229; public static final int ZONE_GRAND = 134458; /** The _current zones. */ private int _currentZones = 0; /** * Checks if is inside zone. * @param zone the zone * @return true, if is inside zone */ public boolean isInsideZone(final int zone) { return (_currentZones & zone) != 0; } /** * Sets the inside zone. * @param zone the zone * @param state the state */ public void setInsideZone(final int zone, final boolean state) { if (state) { _currentZones |= zone; } else if (isInsideZone(zone)) { _currentZones ^= zone; } }
  5. notepad++ seach in folder, and its very fast.
  6. setPvpFlagLasts(System.currentTimeMillis() + 3000); time in ms
  7. compiled with eclipse and all working ;)
  8. wrong build.xml , it not compile src. Can you fix it? i want compile it in cmd with command "ant"
  9. Thanks for share, i think i will use it on tvt event to fill up teams :D
  10. its "AdBlocker Ultimate" and "uBlock Origin" ;]
  11. http://prntscr.com/hg3bgv :D
  12. try this and tell me results. https://pastebin.com/U5gspyu9
  13. at annoncememt make pk.assasins. and assasins = 0; put upper by 2 lines.
  14. show me ur code, how u do. maybe u make mistake.
  15. hmm, then try make assasins varbiable public and at doPKPVPManage() assasins++; change to killer.assasins++; switch(killer.assasins) { and other at announce. and change to old code at onDeath. just to assasins = 0; maybe it will work, idk.
  16. why isDead return true when u alive??? try check if(isDead()) sendMessage('u alive:); else sendMessage('u died'); and check on both players what write.
  17. frozen, stable, but need some fixes.
  18. what source u use? u try add assasins = 0; at pcinstance.java at doDie( function? put here ur pcinstance.java
  19. you want make message kill same player in a row or at all?
  20. then try check at this position: for (L2PcInstance p : players.keySet()) if (getTeam(p) == teamId) list.add(p); for dublicates maybe, is already exsist in list or no
×
×
  • 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..