Jump to content

Reborn12

VIP Member
  • Posts

    2,393
  • Credits

  • Joined

  • Last visited

  • Days Won

    19
  • Feedback

    100%

Everything posted by Reborn12

  1. Maybe attack speed bug works? I will test it
  2. Simpy let your mouse cursor on it and eclipse will give you some choices select to import this
  3. @Override public int getVotes() { int votes = -1; try { final URL obj = new URL(Config.VOTES_SITE_HOPZONE_URL); final HttpURLConnection con = (HttpURLConnection) obj.openConnection(); con.addRequestProperty("User-Agent", "L2Hopzone"); con.setConnectTimeout(5000); final int responseCode = con.getResponseCode(); if (responseCode == 200) { try (BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream()))) { String line; while ((line = in.readLine()) != null) { if (line.contains("Total Votes") ) { String inputLine = line.split(">")[2].replace("</span", ""); votes = Integer.parseInt(inputLine); break; } } } } } catch (Exception e) { e.printStackTrace(); System.out.println("Error while getting server vote count from "+getSiteName()+"."); } return votes; }
  4. Not all only the lines replace yours with this is just the same String line; while ((line = in.readLine()) != null) { if (line.contains("Total Votes") ) { String inputLine = line.split(">")[2].replace("</span", ""); votes = Integer.parseInt(inputLine); break;
  5. Here isyour fix just check the lines http://www.maxcheaters.com/topic/206670-acis-hopzone-reward/page-3
  6. What link you use in configs? And you have to change the getvotes() method in hopzone file make like vote manager gethopzonevotes()
  7. If a buyer before the transaction wants to check the sources is available to do it?
  8. Check the same line with the old part of this file there must be config.
  9. Add votesystem.java or add the import you have created the file.. Change L2World To World and import it delete import L2World Remove import ThreadPoolManager and Change ThreadPool.getInstance() to ThreadPool
  10. Doesnt matter if is 362 or other sources..still works fine
  11. All sites works fine...you have maybe offline server in configs..add from a live server links it is in the examble and will work
  12. Nothing special also.. like ganja with his h5 project..some shared staff added and lets make a topic on mxc for some $$ omg... Anyway gl and dont forget to add infos about test server
×
×
  • Create New...