Jump to content

Reborn12

VIP Member
  • Posts

    2,393
  • Credits

  • Joined

  • Last visited

  • Days Won

    19
  • Feedback

    100%

Everything posted by Reborn12

  1. come on..please none is THE BEST at this job...none can make a balanced server for all of the people....dont tell this again please
  2. You have to change the method getvotes... All the method.. leave only your config..and getvotes() method name And use link without .htm private static int getVotes() { int votes = -1; try { final URL obj = new URL(Config.HOPZONE_SERVER_LINK); 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") || line.contains("rank tooltip") || line.contains("no steal make love") || line.contains("no votes here") || line.contains("bang, you don't have votes") || line.contains("la vita e bella") || line.contains("rank anonymous tooltip")) { String inputLine = line.split(">")[2].replace("</span", ""); votes = Integer.parseInt(inputLine); break; } } } } } catch (Exception e) { e.printStackTrace(); System.out.println("HOPZONE is offline. We will check reward as it will be online again."); } return votes; }
  3. Just read this http://www.maxcheaters.com/topic/206670-acis-hopzone-reward/
  4. When you install your database you have to add on installer.bat pass and username On your new database too... Configs too.. Check them all and you will find your problem
  5. first post here your error and tell us what sources you have...
  6. You have read it wrong..he want someone to help him to add the code he found already...
  7. You can download npc from my share and you will understand how it must added on your files...is only one votehandler.java and configs nothing else and difficult.. Sql too
  8. I have tested much times..didnt notice something like this...
  9. Kill me please :DYou have a chance to take this photo with my replies now.. Thank me later
  10. I will try it for sure when im home.. :D
  11. Lol none will give you a code for free..what if you need just this one code or you come with 10 developers and each made for you 1 code..project is finished you have scammed them..Edit:tell us here the first request you need
  12. Hahahha bored to do it like it should since i write it with my phone :p
  13. If(access.getTessasLegs()) { //you can take both Legs Once access.AddTessa("Legs" , both ,1, access, true); access.sendMessage("Enjoy"); } What about a check :D
  14. Here is all about protected :D http://www.java-made-easy.com/java-access-modifiers.html
  15. if you use a pack acis already exist you dont have to add new npc
  16. He means open potions.java and what is in the patch for itemskills.java edit potions.java with this you dont have to search for itemskills
  17. http://www17.zippyshare.com/v/3Yiu45mv/file.html Edw system gia windows 10..svise entelos to diko sou kai perna ta pragmata pou allakses sto system sou ksana(an allakses) Kai kante to lock gt tha exei spam xwris kan kapios na postarei kati gia help..kalo apogeuma
  18. And ? You want to compile only errors?error=wrong Red=Error You dont need errors on compile my friend
  19. (-> t what is it.. getTemplates.isType must be the correct
×
×
  • Create New...