Welcome to MaxCheaters.com

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads

Rouxy

Members
  • Content Count

    8
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Rouxy

  1. Hi , bro I tried this code above usind ScheduleFuture. But sometimes countdown timer don't matches with zone change time. Could you give me some light? public ZoneRandom() { _log.info("ZoneRandom: Loading zones..."); ThreadPoolManager.scheduleAiAtFixedRate(this, 0, REFRESH * 1000); // ThreadPoolManager.scheduleAiAtFixedRate(new TimerZoneTask(), 0, REFRESH * 1000); } @Override public void run() { RANDOM = Rnd.get(ZONES.length - 1); for (L2PcInstance player : L2World.getInstance().getPlayers()) { if (player.isInsideZone(ZoneIdType.RANDOM_Z
  2. I've solved part of problem... Now players receives packets every 1000 milliseconds for 1000 miliseconds till the counter reaches zero and then they all are teleported to a randomzone previously defined. However, when the new zone 'starts', the countdown decreases two by two seconds and not one by one like it was supposed to be. As if it were not enough, after another zone change the countdown decreases every three by three, and so on. here's the new code: public ZoneRandom() { _log.info("ZoneRandom: Loading zones..."); ThreadPoolManager.scheduleAiAtFixedRate(this, 0,
  3. Hello everybody. Well, i've been implementing a code for a type of zone that changes every 'x' minutes. but I want to show only to all players inside these zones the time left for this zone change using ExShowScreenMessage or another method. I tried some stuff to make this work. Here is the code: