Jump to content

SweeTs

Legendary Member
  • Posts

    8,941
  • Joined

  • Last visited

  • Days Won

    25
  • Feedback

    0%

Everything posted by SweeTs

  1. I guess can be locked.
  2. Compile and switch the jar?
  3. If you don't know what to do with this code, then forget about your own server, about vote reward.
  4. Use godamn [ code ] tag. Here you go.. If you tell me later that it's not working, imma get mad. Also, you should rework that shit-code. Java 6 ages lol. Link example http://l2topzone.com/totalvotes.php?id=9466 getTopZoneVotes, pastebin for better view, dat messed formatting.. http://pastebin.com/Y5m3vjcY public static int getTopZoneVotes() { int votes = -1; try { final URL obj = new URL(Config.VOTES_SITE_TOPZONE_URL); final HttpURLConnection con = (HttpURLConnection) obj.openConnection(); con.addRequestProperty("User-Agent", "L2TopZone"); con.setConnectTimeout(5000); final int responseCode = con.getResponseCode(); if (responseCode == 200) { try (BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream()))) { String inputLine; while ((inputLine = in.readLine()) != null) { if (inputLine.contains("Votes:")) { votes = Integer.valueOf(inputLine.split("<br>")[1].replace("</div>", "")); break; } } } } } catch (Exception e) { announce("TOPZONE is offline. We will check reward as it will be online again."); } return votes; }
  5. Why to search when you can create topic and ask for direct link like a boss..
  6. Jeez. Find other skill that give effect/bonus with required weapon and check the xml structure.
  7. You are pathetic and you cant read You did nothing and you expect miracle?
  8. Yes. I even had to provide such info on site where I ordered my site(s). Sort of veryfication.
  9. For gracia final l2jfree is better.
  10. it's a toogle skill, so you don't even if it's active skill, no effect with other weapon
  11. Add weapon condition to the skill, so you will get effect only with fists.
  12. Because we are not robots, watching 24/7 your topics.
  13. Lameguard is outdated and it's not blocking adrenaline. You just wasted money. Ask them for support.
  14. You have to compile the pack first.
  15. You have a npe on line 65.
  16. Block possibility attacking npcs inside town and you're done. "Fighting back" npcs.. Meh :P
  17. 1. Wrong section. 2. What you mean?
  18. You don't have to teach me. You said 4GB will be enough, which is not rly true. But yeah, for small server can be enough.
×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..