Server Development Discussion [L2J]

For Emulator L2J Server files discuss here

Subforums

  1. Server Development Discussion [Greek]

    Έλληνες Developers για το L2 (L2J)

    34,714
    posts

2,642 topics in this forum

    • 23 replies
    • 77,008 views
  1. Frequenly Asked Questions

    • 1 reply
    • 17,034 views
    • 0 replies
    • 2,512 views
    • 9 replies
    • 172 views
    • 305 replies
    • 27,943 views
    • 0 replies
    • 110 views
    • 12 replies
    • 391 views
    • 5 replies
    • 308 views
    • 0 replies
    • 44 views
  2. Guide Free help-Requests l2j

    • 12 replies
    • 289 views
  3. Project L2Ninja Application

    • 107 replies
    • 3,278 views
  4. Project L2J-Mobius

    • 490 replies
    • 51,354 views
    • 1,929 replies
    • 170,622 views
    • 9 replies
    • 168 views
    • 222 replies
    • 13,748 views
    • 40 replies
    • 601 views
    • 13 replies
    • 2,327 views
    • 14 replies
    • 257 views
    • 17 replies
    • 378 views
  5. Discussion Gracia final files

    • 1 reply
    • 152 views
    • 188 replies
    • 8,371 views
  6. aCis bugs

    • 18 replies
    • 546 views
    • 1 reply
    • 93 views
    • 3 replies
    • 194 views
    • 22 replies
    • 610 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