Request Server Development Help [Greek]

Explore Questions

There are no popular questions to show right now

  1. Request MaxCheaters

    Asked by PrO_jeCt,

    0 votes
    0 answers
  2. Help Ena sketiko 8ema

    Asked by CrThemes,

    0 votes
    5 answers
  3. Help ProBeta Mode Server

    Asked by pnsrx8,

    0 votes
    2 answers
  4. 0 votes
    5 answers
  5. 0 votes
    2 answers

19,764 questions in this forum

  1. 0 votes
    4 answers
  2. 0 votes
    0 answers
  3. 0 votes
    9 answers
  4. 0 votes
    10 answers
  5. 0 votes
    5 answers
  6. Help Ena sketiko 8ema

    0 votes
    5 answers
  7. Request MaxCheaters

    0 votes
    0 answers
  8. Help ProBeta Mode Server

    0 votes
    2 answers
  9. 0 votes
    2 answers
  10. Request LF->java developer

    0 votes
    1 answer
  11. Help Close it

    0 votes
    1 answer
  12. HELP L2.INI

    0 votes
    0 answers
  13. LF WTB L2JPACK

    0 votes
    7 answers
  14. 0 votes
    0 answers
  15. 0 votes
    15 answers
  16. 0 votes
    9 answers
  17. 0 votes
    2 answers
  18. 0 votes
    0 answers
  19. 0 votes
    0 answers
  20. LF developer for java code

    0 votes
    2 answers
  21. LF DEV

    0 votes
    3 answers
  22. 0 votes
    1 answer
  23. Help Build Failed

    0 votes
    2 answers
  24. 0 votes
    2 answers
  25. 0 votes
    3 answers


  • 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