public static int getTopZoneVotes()
{
int votes = 0;
boolean lineFound = false;
try
{
URL url = new URL(Config.VOTES_SITE_TOPZONE_URL);
InputStream is = url.openStream();
try (
BufferedReader br = new BufferedReader(new InputStreamReader(is)))
{
String line;
while ((line = br.readLine()) != null)
{
if (line.contains("Votes:<br>"))
{
votes = Integer.parseInt(line.split("<br>")[1].split("<")[0]);
lineFound = true;
}
}
}
}
catch (IOException e)
{
System.out.println("TOPZONE is offline. We will check reward as it will be online again.");
e.printStackTrace();
}
if (!lineFound)
System.out.println("The line wasn't found in TopZone, check site in case they updated.");
return votes;
}
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/hoodservices
https://campsite.bio/utchihaamkt
Hello members of the forum! We offer hosting services for a different range of services:
- ip spoofing;
- scanning;
- phishing;
- botnets;
- proxy;
- gambling;
- stealers;
- legal adult;
Prices:
- VPS starting at $24;
- Dedicated servers starting at $110;
Contctats:
layer0.ltd@gmail.com
Telegram: @layer0_ltd
Discord: layer0.ltd#6843
site: layer0.ltd
Question
cyta5
Hello guys i have one vote manager for l2jfrozen and stopped to give reward for topzone maybe someone can tell me what happen and how i can fix it ?
Topzone Url = https://l2topzone.com/totalvotes.php?id=6150
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.