Jump to content

wongerlt

Members
  • Posts

    557
  • Joined

  • Last visited

  • Days Won

    7
  • Feedback

    0%

Everything posted by wongerlt

  1. i not understand how it can work with frozen code?
  2. 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; } }
  3. notepad++ seach in folder, and its very fast.
  4. setPvpFlagLasts(System.currentTimeMillis() + 3000); time in ms
  5. compiled with eclipse and all working ;)
  6. wrong build.xml , it not compile src. Can you fix it? i want compile it in cmd with command "ant"
  7. Thanks for share, i think i will use it on tvt event to fill up teams :D
  8. its "AdBlocker Ultimate" and "uBlock Origin" ;]
  9. http://prntscr.com/hg3bgv :D
  10. try this and tell me results. https://pastebin.com/U5gspyu9
  11. at annoncememt make pk.assasins. and assasins = 0; put upper by 2 lines.
  12. show me ur code, how u do. maybe u make mistake.
  13. 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.
  14. 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.
  15. frozen, stable, but need some fixes.
  16. what source u use? u try add assasins = 0; at pcinstance.java at doDie( function? put here ur pcinstance.java
  17. you want make message kill same player in a row or at all?
  18. 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
  19. if (party != null&&subPlayers.getParty() == null) party.addPartyMember(subPlayers);
  20. ok found one solution. I see all object id start at 26*******, example 268438424, for web donate system i make start id 16*******, example 160000001 with incresement, maybe its not good? so why in every server object id start with 26*******???
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock