Andrew™ Posted December 27, 2013 Author Share Posted December 27, 2013 thanks [GR] τίποτα. :) Χαίρομαι που βοήθησε. Link to comment Share on other sites More sharing options...
yukselkasayka123 Posted December 28, 2013 Share Posted December 28, 2013 (edited) :) Edited December 28, 2013 by yukselkasayka123 Link to comment Share on other sites More sharing options...
ExCaLiBuR® Posted January 15, 2014 Share Posted January 15, 2014 to topzone ksana alakse kai den douleuei kanena vote reward system Link to comment Share on other sites More sharing options...
Cronia Posted February 5, 2014 Share Posted February 5, 2014 to topzone ksana alakse kai den douleuei kanena vote reward system Link to comment Share on other sites More sharing options...
Andrew™ Posted February 18, 2014 Author Share Posted February 18, 2014 to topzone ksana alakse kai den douleuei kanena vote reward system χμμμ...θα το ρίξω μια ματιά. Για να κάνουμε New ^^ Link to comment Share on other sites More sharing options...
Andrew™ Posted March 10, 2014 Author Share Posted March 10, 2014 Find : com/l2jfrozen/gameserver/handler/AutoVoteRewardHandler.java } } } catch (Exception e) { - LOGGER.info("[AutoVoteReward] Server HOPZONE is offline or something is wrong in link"); + LOGGER.warn("[AutoVoteReward] Server HOPZONE is offline or something is wrong in link"); Announcements.getInstance().gameAnnounceToAll("[AutoVoteReward] HOPZONE is offline. We will check reward as it will be online again"); //e.printStackTrace(); } finally { String inputLine; while ((inputLine = in.readLine()) != null) { if (inputLine.contains("Votes")) { - String votesLine = in.readLine(); + String votesLine = inputLine; - votes = Integer.valueOf(votesLine.split(">")[5].replace("</font", "")); + votes = Integer.valueOf(votesLine.split(">")[3].replace("</div", "")); break; } } } catch (Exception e) { - LOGGER.info("[AutoVoteReward] Server TOPZONE is offline or something is wrong in link"); + LOGGER.warn("[AutoVoteReward] Server TOPZONE is offline or something is wrong in link"); Announcements.getInstance().gameAnnounceToAll("[AutoVoteReward] TOPZONE is offline. We will check reward as it will be online again"); //e.printStackTrace(); } finally { Link to comment Share on other sites More sharing options...
te0x Posted March 14, 2014 Share Posted March 14, 2014 (edited) con.addRequestProperty("User-Agent", "Mozilla/4.76"); delete this line and add this con.addRequestProperty("User-Agent", "L2TopZone"); xzone « on: Yesterday at 12:55:36 PM » 13/3/14 Edited March 14, 2014 by te0x Link to comment Share on other sites More sharing options...
Recommended Posts