Server Shares & Files [L2J]

Share L2 Server Modifications here. [L2J]

2,345 topics in this forum

    • 10 replies
    • 204 views
    • 12 replies
    • 641 views
    • 9 replies
    • 532 views
    • 21 replies
    • 17,269 views
    • 0 replies
    • 3,143 views
  1. Guide Starting With L2J.

    • 0 replies
    • 40,477 views
    • 150 replies
    • 10,276 views
    • 25 replies
    • 1,356 views
    • 17 replies
    • 3,727 views
    • 13 replies
    • 5,298 views
    • 169 replies
    • 11,477 views
  2. Source L2jSunrise Source 2017-10

    • 11 replies
    • 693 views
    • 7 replies
    • 544 views
  3. Code Facebook Like System

    • 39 replies
    • 1,301 views
    • 35 replies
    • 2,793 views
    • 31 replies
    • 6,521 views
  4. Source L2Junity Source

    • 69 replies
    • 9,306 views
    • 49 replies
    • 17,012 views
    • 119 replies
    • 9,069 views
    • 116 replies
    • 27,551 views
    • 48 replies
    • 6,761 views
    • 3 replies
    • 856 views
    • 8 replies
    • 1,604 views
    • 123 replies
    • 9,289 views
  5. Code User Panel [H5]

    • 62 replies
    • 9,513 views


  • Posts

    • Edit it for ConcurrentHashMap and drop the synchronize block.
    • Hello.   WTS Adena/Items/RuRs/Pwlvl/Acc RPG x7 NEW   prices and other things at skype - coinsbomb
    • Hello I am adapting AntiFeed Manager for now but I have these errors. how would it be in place of these imports?   import gnu.trove.map.hash.TIntObjectHashMap; import gnu.trove.procedure.TObjectProcedure; private Map<Integer,Long> _lastDeathTimes;private TIntObjectHashMap<Map<Integer, Connections>> _eventIPs;     /**      * If number of all simultaneous connections from player's IP address lower than max      * then increment connection count and return true.      * Returns false if number of all simultaneous connections from player's IP address      * higher than max.      * @param eventId      * @param player      * @param max      * @return      */     public final boolean tryAddPlayer(int eventId, L2PcInstance player, int max)     {         return tryAddClient(eventId, player.getClient(), max);     }     /**      * If number of all simultaneous connections from player's IP address lower than max      * then increment connection count and return true.      * Returns false if number of all simultaneous connections from player's IP address      * higher than max.      * @param eventId      * @param player      * @param max      * @return      */     public final boolean tryAddClient(int eventId, L2GameClient client, int max)     {         if (client == null)             return false; // unable to determine IP address         final Map<Integer, Connections> event = _eventIPs.get(eventId);         if (event == null)             return false; // no such event registered         final Integer addrHash = Integer.valueOf(client.getConnectionAddress().hashCode());         int limit = Config.DUALBOX_CHECK_WHITELIST.get(addrHash);         limit = limit < 0 ? Integer.MAX_VALUE : limit + max;         Connections conns;         synchronized (event)         {             conns = event.get(addrHash);             if (conns == null)             {                 conns = new Connections();                 event.put(addrHash, conns);             }         }         return conns.testAndIncrement(limit);     }  
  • Topics