melron

VIP Member
  • Content Count

    1,191
  • Joined

  • Last visited

  • Days Won

    21
  • Feedback

    0%

melron last won the day on February 16 2019

melron had the most liked content!

Community Reputation

195 Excellent

About melron

  • Rank
    Count

Contact Methods

  • Website URL
    localhost
  • Skype
    melron mxc

Profile Information

  • Current Mood
    Happy
  • Gender
    Male
  • Country
    Greece
  • Location
    Valley of Saints

Recent Profile Visitors

17,064 profile views
  1. Its not working because you are teleporting the player who left the party. look at your code dude if (player.isInsideZone(L2Character.ZONE_UNUSED)) player.teleToLocation(81035,148614,-3464); You need to add a check (again) about the party size (< 4) and then teleport them all back.
  2. L2 Isn't dead at all. If you are talking about interlude, what do you expecting in 2020 when C6 released at 2003? (17 fucking years old update)
  3. change if (NumberPartyMembers < 5 && NumberPartyMembers > 9) to if (NumberPartyMembers < 5)
  4. Your code cant run that way, an int that starts with 09 is just not allowed in this specific example. If you need '0' at the begging of of any int, you should format it. ex: Arrays.asList(254,156,641,974,112).forEach(val -> html.append(String.format("<td width=30><img src=\"icon.customtex_%s\" width=32 height=32></td>",String.format("0%s", val)))); Arrays.asList("A","B","C","D","E").forEach(val -> html.append(String.format("<td align=\"center\" width=290>%s</td>",val)));
  5. You dont need any check. you replacing comma at every case and you are done
  6. Like @TGSLineage2 mentioned, you should replace "," with nothing. ""... also, you have to add the lineFound inside of the line check. so it should be while ((line = br.readLine()) != null) { if (line.contains("color:#e7ebf2")) { votes = Integer.parseInt(line.split(">")[2].split("<")[0].replace(",","")); lineFound = true; } }
  7. Why @Nightw0lf and @DenArt Designs got banned?
  8. if (character instanceof Player) { final Player player = (Player) character; final ItemInstance item = player.getInventory().getItems().stream().filter(item -> item.getEnchantLevel() > 6 && item.isEquipped()).findFirst().orElse(null); if (item != null) { player.sendMessage(String.format("Maximum enchant in this zone +6. You can't use the item %s", item.getName())); // Handle telportation here } } This code is written in acis. adapt it with the proper method names to fit on frozen Note: You MUST handle the equip case when the player is already in the zone. onEnter is not enough for this kind of feature
  9. You probably wanted again free items by "advertising" his server with the excuse that you don't have time to farm and bla bla bla and he didn't accepted. Oh, again you?
  10. getClient().getConnection().getInetAddress().getHostAddress()
  11. you tried to compile with Java 11 and tried to run it with Java 8. 45 = Java 1.1 46 = Java 1.2 47 = Java 1.3 48 = Java 1.4 49 = Java 5 50 = Java 6 51 = Java 7 52 = Java 8 53 = Java 9 54 = Java 10 55 = Java 11 56 = Java 12 57 = Java 13
  12. the code that you posted can destroy your server ...