its 3 stupid lines
if(!hopzoneUrl.endsWith(".html")) hopzoneUrl+=".html";
and
con.addRequestProperty("User-L2Hopzone", "Mozilla/4.76");
and how to catch the votes is
if (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"))