Jump to content
  • 0

[FROZEN] Hopzote AutoVote system problem


Question

Posted

hello i`ve got problem with a automatic vote system for hopzone. It worked at my last server but now... Sh1t happends... 

Topzone and l2network works fine but hopzone is not.

Got all the time: image.thumb.png.c04f1418bc73e7de2ed6c9680a928b4b.png

I am trying to put every url`s what i can ito a powerpark config, this one is most close to be fine:

# Hopzone: http://l2.hopzone.net
VotesSiteHopZoneUrl =   https://api.hopzone.net/lineage2/votes?token=UscplMw9V7DSTok3
# Topzone: http://l2topzone.com
VotesSiteTopZoneUrl =   http://l2topzone.com/tv.php?id=15459
# ---------------------------------------
VotesSystemNetworkDelay = 300000
# L2Network: http://l2network.eu
VotesSiteL2NetworkUrl = https://l2network.eu/details/L2TimeMachine/

Can someone help me with it?

Recommended Posts

  • 0
Posted
7 hours ago, Reborn12 said:

Its wrong link..you must put your details link...and ofc if connection needs fix must be too checked

When i put details link, then error is much longer 

WARN  [AutoVoteReward] Server HOPZONE is offline or something is wrong in link
java.lang.NumberFormatException: For input string: "oding="UTF-8"?>
<html xmlns:fb="https://www.facebook.com/2008/fbml" xml:lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>
      [HopZone.Net] - L2TimeMachine  details
    </title>
    <meta name="description" content="HopZone.Net l2 top mmorpg, l2 servers, top game sites, join our high traffic top list and we guarantee players for your lineage 2 servers or game sites or mmorpg games for sure."/>
    <meta name="keywords" content="lineage2, lineage ii adena, C4, hellbound, gracia, epilogue, C3, C2, C1, C5, l2, private,online rpg, mmorpg, rpg online, mmorpg games, adena, lineage items, game toplist, lineage, game sites, gaming sites, links, 100, 200,đŻđżđ▓Đőđ╣ ĐüđÁĐÇđ▓đÁĐÇ"/>
    <meta name="author" content="Kadar and Hop_Hop"/>
    <meta name="Copyright" content="┬ę 2014 HopZone.Net"/>
    <meta name="revisit-after" content="1 days"/>
    <meta name="referrer" content="unsafe-url"/>
    <meta name="robots" content="index,follow"/>
    <meta name="googlebot" content="index,follow"/>
    <meta property="og:image" content="https://hopzone.r.worldssl.net/img/image_share.jpg"/>
    <meta property="og:description" content="Free Lineage 2 servers for you to play. Most complete lineage 2 private server top list."/>
    <meta name="google-site-verification" content="PSHNXNgWftqsgah1_ZxID2KPtbA1eZjUwLT6pqNGTpM"/>
    <!-- internationalization -->    <link rel="alternate" href="https://l2.hopzone.net/br/lineage2/details/102978/L2TimeMachine" hreflang="pt-BR"/>
    <link rel="alternate" href="https://l2.hopzone.net/ru/lineage2/details/102978/L2TimeMachine" hreflang="ru-RU"/>
    <link rel="alternate" href="https://l2.hopzone.net/gr/lineage2/details/102978/L2TimeMachine" hreflang="el-GR"/>
    <link rel="alternate" href="https://l2.hopzone.net/lineage2/details/102978/L2TimeMachine" hreflang="x-default"/>
    <!-- Jquery directly from google servers-->    <link href="https://hopzone.r.worldssl.net/css/style.css?v=109" rel="stylesheet" type="text/css"/>
    <!--        <link href="-->    <!--css/fontello/fontello.min.css?v=1" rel="stylesheet" type="text/css"/>-->    <link href="https://hopzone.r.worldssl.net/css/fontello/gamepad.css?v=2" rel="stylesheet" type="text/css"/>
    <!--[if IE 7]>
        <!--<link rel="stylesheet" href="css/fontello/fontello-ie7.css">-->    <script id="facebook-jssdk" src="//connect.facebook.net/en_US/sdk.js#xfbml=1&amp;version=v2.3">
    </script>
    <script src="//connect.facebook.net/en_US/fbds.js">
    </script>
    <script src="https://www.googletagmanager.com/gtm.js?id=GTM-T72MQ86">
    </script>
    <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js?v=1">
    </script>
    <script type="text/javascript" src="https://hopzone.r.worldssl.net/js/jquery-workarounds.min.js?v=1">
    </script>
    <script>
//<![CDATA[
var blmofo = false;
//]]>
    </script>
    <script type="text/javascript" src="https://hopzone.r.worldssl.net/js/bldet.js?v=1">
    </script>
    <script language="javascript" type="text/javascript" src="https://hopzone.r.worldssl.net/js/flot/jquery.flot.min.js">
    </script>
    <script language="javascript" type="text/javascript" src="https://hopzone.r.worldssl.net/js/flot/jquery.flot.time.min.js">
    </script>
    <script async="" language="javascript" type="text/javascript" src="https://hopzone.r.worldssl.net/js/jquery.sparkline.min.js">
    </script>
    <script type="text/javascript" src="https://hopzone.r.worldssl.net/js/jquery.inputmask.bundle.min.js?v=1">
    </script>
    <script type="text/javascript">
//<![CDATA[

                var BASE_URL = 'https://l2.hopzone.net/';

//]]>
    </script>
    <!-- Google Tag Manager -->    <script>
//<![CDATA[
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
            new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
            j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
            'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
        })(window,document,'script','dataLayer','GTM-T72MQ86');
//]]>
    </script>
    <!-- End Google Tag Manager -->    <script>
//<![CDATA[
(function () {
                        var _fbq = window._fbq || (window._fbq = []);
                        if (!_fbq.loaded) {
                                var fbds = document.createElement('script');
                                fbds.async = true;
                                fbds.src = '//connect.facebook.net/en_US/fbds.js';
                                var s = document.getElementsByTagName('script')[0];
                                s.parentNode.insertBefore(fbds, s);
                                _fbq.loaded = true;
                        }
                        _fbq.push(['addPixelId', '796818543769757']);
                })();
                window._fbq = window._fbq || [];
                window._fbq.push(['track', 'PixelInitialized', {}]);

//]]>
    </script>
    <link rel="preload" href="https://adservice.google.pl/adsid/integrator.js?domain=l2.hopzone.net"/>
    <link rel="preload" href="https://adservice.google.pl/adsid/integrator.js?domain=l2.hopzone.net"/>
    <link rel="preload" href="https://adservice.google.pl/adsid/integrator.js?domain=l2.hopzone.net"/>
    <style type="text/css">
      .jqstooltip { position: absolute;left: 0px;top: 0px;visibility: hidden;background: rgb(0, 0, 0) transparent;background-color: rgba(0,0,0,0.6);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";color: white;font: 10px arial, san serif;text-align: left;white-space: nowrap;padding: 5px;border: 1px solid white;z-index: 10000;}.jqsfield { color: white;font: 10px arial, san serif;text-align: left;}
    </style>
    <style type="text/css">
      .fb_hidden{position:absolute;top:-10000px;z-index:10001}.fb_reposition{overflow:hidden;position:relative}.fb_invisible{display:none}.fb_reset{background:none;border:0;border-spacing:0;color:#000;cursor:auto;direction:ltr;font-family:"lucida grande", tahoma, verdana, arial, sans-serif;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:1;margin:0;overflow:visible;padding:0;text-align:left;text-decoration:none;text-indent:0;text-shadow:none;text-transform:none;visibility:visible;white-space:normal;word-spacing:normal}.fb_reset&gt;div{overflow:hidden}.fb_link img{border:none}@keyframes fb_transform{from{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.fb_animate{animation:fb_transform .3s forwards}
.fb_dialog{background:rgba(82, 82, 82, .7);position:absolute;top:-10000px;z-index:10001}.fb_reset .fb_dialog_legacy{overflow:visible}.fb_dialog_advanced{padding:10px;border-radius:8px}.fb_dialog_content{background:#fff;color:#333}.fb_dialog_close_icon{background:url(https://static.xx.fbcdn.net/rsrc.php/v3/yq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 0 transparent;cursor:pointer;display:block;height:15px;position:absolute;right:18px;top:17px;width:15px}.fb_dialog_mobile .fb_dialog_close_icon{top:5px;left:5px;right:auto}.fb_dialog_padding{background-color:transparent;position:absolute;width:1px;z-index:-1}.fb_dialog_close_icon:hover{background:url(https://static.xx.fbcdn.net/rsrc.php/v3/yq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 -15px transparent}.fb_dialog_close_icon:active{background:url(https://static.xx.fbcdn.net/rsrc.php/v3/yq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 -30px transparent}.fb_dialog_loader{background-color:#f6f7f9;border:1px solid #606060;font-size:24px;padding:20px}.fb_dialog_top_left,.fb_dialog_top_right,.fb_dialog_bottom_left,.fb_dialog_bottom_right{height:10px;width:10px;overflow:hidden;position:absolute}.fb_dialog_top_left{background:url(https://static.xx.fbcdn.net/rsrc.php/v3/ye/r/8YeTNIlTZjm.png) no-repeat 0 0;left:-10px;top:-10px}.fb_dialog_top_right{background:url(https://static.xx.fbcdn.net/rsrc.php/v3/ye/r/8YeTNIlTZjm.png) no-repeat 0 -10px;right:-10px;top:-10px}.fb_dialog_bottom_left{background:url(https://static.xx.fbcdn.net/rsrc.php/v3/ye/r/8YeTNIlTZjm.png) no-repeat 0 -20px;bottom:-10px;left:-10px}.fb_dialog_bottom_right{background:url(https://static.xx.fbcdn.net/rsrc.php/v3/ye/r/8YeTNIlTZjm.png) no-repeat 0 -30px;right:-10px;bottom:-10px}.fb_dialog_vert_left,.fb_dialog_vert_right,.fb_dialog_horiz_top,.fb_dialog_horiz_bottom{position:absolute;background:#525252;filter:alpha(opacity=70);opacity:.7}.fb_dialog_vert_left,.fb_dialog_vert_right{width:10px;height:100%}.fb_dialog_vert_left{margin-left:-10px}.fb_dialog_vert_right{right:0;margin-right:-10px}.fb_dialog_horiz_top,.fb_dialog_horiz_bottom{width:100%;height:10px}.fb_dialog_horiz_top{margin-top:-10px}.fb_dialog_horiz_bottom{bottom:0;margin-bottom:-10px}.fb_dialog_iframe{line-height:0}.fb_dialog_content .dialog_title{background:#6d84b4;border:1px solid #365899;color:#fff;font-size:14px;font-weight:bold;margin:0}.fb_dialog_content .dialog_title&g"
        at java.lang.NumberFormatException.forInputString(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        at com.l2jfrozen.gameserver.handler.AutoVoteRewardHandler.getHopZoneVotes(AutoVoteRewardHandler.java:380)
        at com.l2jfrozen.gameserver.handler.AutoVoteRewardHandler$AutoReward.run(AutoVoteRewardHandler.java:106)
        at com.l2jfrozen.gameserver.thread.ThreadPoolManager$RunnableWrapper.run(ThreadPoolManager.java:95)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

 

  • 0
Posted

Hmmm. How this vote system should work like? I mean it is auto reward every x votes or .getreward like?

  • 0
Posted

It works as autovote reward with rewarding all online players when reach a specific count of votes. Mean like "hopzone currently votes are - X... Next reward at - X votes"...

 

Other links work fine, topzone and l2 network works but only hopzone is making me mad -_-

  • 0
Posted (edited)
2 minutes ago, L2TimeMachine said:

It works as autovote reward with rewarding all online players when reach a specific count of votes. Mean like "hopzone currently votes are - X... Next reward at - X votes"...

 

Other links work fine, topzone and l2 network works but only hopzone is making me mad -_-

Instead of using https://apis.hopzone.net...... link, try to use the link where  u see your votes.

 

Example:

Quote

 

Edited by Solomun
  • 0
Posted
1 minute ago, Solomun said:

Instead of using https://apis.hopzone.net...... link, try to use the link where  u see your votes.

 

Example:

 

yes i did now my powerpark config looks like: 

# Hopzone: http://l2.hopzone.net
VotesSiteHopZoneUrl =  https://l2.hopzone.net/lineage2/details/102978/L2TimeMachine
# Topzone: http://l2topzone.com
VotesSiteTopZoneUrl =   http://l2topzone.com/tv.php?id=15459
# ---------------------------------------
VotesSystemNetworkDelay = 300000
# L2Network: http://l2network.eu
VotesSiteL2NetworkUrl = https://l2network.eu/details/L2TimeMachine/

 

  • 0
Posted (edited)

Connection must be fixed...search my vote system shared and take connection from there...in share section..will work fine with https details link here you are just change the config with yours

 

protected static int getHopZoneVotes()
	{
		int votes = -1;
		
		try
		{
			final URL obj = new URL(Config.VOTES_SITE_HOPZONE_LINK_HOP);
			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)
		{
			System.out.println("Server HOPZONE is offline Trying to Reconnect");
			Announcement.VoteAnnouncements("HOPZONE is offline...Trying to Reconnect");
			e.printStackTrace();
		}
		return votes;
	}
Edited by Reborn12
  • 0
Posted
1 minute ago, L2TimeMachine said:

Okay i will try, Thank you

 

This actually made me laugh a bit.

You said you put this link:

https://l2.hopzone.net/lineage2/details/102978/L2TimeMachine

 

The thing is, that something went wrong while you copy paste or something. It is encoding problems.

 

So try to copy it with UTF-8 encoding. (What operating system you use?)

 

Try to run this program in your eclipse and u will see the difference:

 

Quote

 

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;

public class Encoding {
    private static final String BROKEN_URL = "https://l2.hopzone.net/lineage2/details/ 102978/L2TimeMachine";
    private static final String CORRECT_URL = "https://l2.hopzone.net/lineage2/details/102978/L2TimeMachine";
    public static void main(String[] args) throws Exception {
        URL myURL = new URL(CORRECT_URL);
        HttpURLConnection connection = (HttpURLConnection) myURL.openConnection();
        connection.setRequestMethod("GET");
        connection.setDoOutput(true);
        connection.connect();
        BufferedReader reader = new BufferedReader(new InputStreamReader(connection.getInputStream()));
        StringBuilder results = new StringBuilder();
        String line;
        while ((line = reader.readLine()) != null) {
            results.append(line);
        }

        connection.disconnect();
        System.out.println(results.toString());
    }
}

 

 

if you have  URL myURL = new URL(CORRECT_URL); your response is 200 a.k.a, a good one.

 

But if you use URL myURL = new URL(BROKEN_URL); your response is BAD_REQUEST (400).

 

Run the SSCCE with both URLs and you will see what i mean :)

 

P.S: HtmlUnit is not required for such a vote system, but ok...

Guest
This topic is now closed to further replies.



  • Posts

    • 🚀 New numbers for GMAIL are now available!   We’ve added fresh, stable numbers  perfect for activations and quick code delivery. Join in while they’re still available 👇 Category: GMAIL   Website: https://vibe-sms.net/ 📱 Telegram channel: https://t.me/vibe_sms
    • using Guytis pack....but missed lin_LoadHWIDS & lin_PvpEventLoadEvent sql procedures..maybe any1 know how to fixed it? rly thx...
    • This post originally appeared on MmoGah. Welcome to Borderlands 4, the latest installment in Gearbox Software's beloved looter-shooter franchise. Set in the sprawling world of Kairos, this game introduces new mechanics, characters, and a vast open-world experience. Whether you're a series veteran or a newcomer, this guide will walk you through everything you need to know to get started and succeed.       Choosing Your Vault Hunter Borderlands 4 offers four unique Vault Hunters, each with distinct abilities and playstyles: Amon: A close-quarters tank who excels with shotguns and melee attacks. Ideal for aggressive players who like to be in the thick of battle. Vex: A stealthy clone master who can duplicate herself to confuse enemies and amplify damage. Great for tactical players. Rafa: A long-range specialist with sniper skills and elemental traps. Perfect for precision shooters. Harlowe: A support-oriented character with healing and crowd-control abilities. Best for team players or solo survivalists. Tip: Read each character's affinity and skill tree before committing. You can respec later, but starting with a character that matches your playstyle makes the early game smoother.   What to Do First After completing the prologue, you'll land in Kairos with your first mission: Recruitment Drive. Here's what you should prioritize: Complete "Down and Outbound" This unlocks the Digi-Runner, your summonable vehicle. It's essential for fast travel and early combat support. Secure a Safehouse Safehouses offer fast travel, contracts, and gear storage. Claim one early to make exploration easier. Upgrade Your Backpack Inventory space is limited at first. Upgrading your backpack lets you carry more loot and ammo. Unlock the Glidepack This mobility tool allows you to traverse vertical terrain and reach hidden areas. Return Lost Capsules These collectibles offer XP and gear. They're scattered across Kairos and are worth hunting down.   Navigating Kairos Borderlands 4 removes the traditional minimap. Instead, you'll rely on: ECHO-4 Drone: Your personal navigator. It highlights paths, climbable walls, and grapple points. Radar Display: Enable this in the settings (Gameplay → Toggle Radar Display) for better orientation. Custom Waypoints: Use these to mark objectives or loot spots on your map.   Combat Tips Combat in Borderlands 4 is fast, chaotic, and rewarding. Here's how to stay alive and dominate: Use Cover and Movement Kairos is filled with vertical terrain. Use walls, ledges, and grapple points to dodge enemy fire. Elemental Matchups Matter Match your weapon's element to enemy weaknesses: Fire: Best against flesh Shock: Effective on shields Cryo: Slows and freezes Corrosive: Destroys armor Test Action Skills Each character has three skill trees with unique capstones. Don't hesitate to respec if a skill doesn't suit you—Borderlands 4 money is easy to earn. Use Vehicle Weapons The Digi-Runner comes equipped with basic weapons. Use it to soften up enemies before engaging on foot.   Leveling Up Efficiently XP is crucial for unlocking skills and gear. Here are the best ways to level up: Main Missions: Progress the story to unlock key tools and areas. Side Missions (Contracts): These are found in Safehouses, which offer quick XP and gear. Farm Bosses: Some bosses drop legendary loot and give decent XP. Replay Vault Missions: These are harder but offer large XP rewards. Prospects Drill Site: A top-tier farming location with high XP and legendary gear chances.   Looting and Gear Loot is the heart of Borderlands. Here's how to maximize your haul: Color Rarity Guide: White: Common Green: Uncommon Blue: Rare Purple: Epic Orange: Legendary Don't Just Chase DPS Look at weapon stats like reload speed, magazine size, and elemental effects. A lower-DPS gun with better utility might outperform a high-DPS one. Legendary Drops Bosses and elite enemies have a chance to drop legendary weapons. Keep farming if you're after something specific. Black Market Vendor Hidden in Kairos, this vendor sells rare gear. Check back often for rotating stock.   Advanced Tips Once you've got the basics down, here are some pro-level strategies: Drive Recklessly Vehicles explode easily, but you can summon a new one instantly. Use them aggressively. Fishing Minigame Yes, Borderlands 4 has fishing! Look for bubbling water spots. Fish can be traded for gear or used in crafting. Accessibility Settings Reduce screen shake and head-bob if you're prone to motion sickness. It makes long sessions more comfortable. Explore After Getting Vehicle The map is massive. Wait until you have the Digi-Runner before venturing far from mission hubs. Collect Vault Symbols These unlock lore, XP, and sometimes gear. They're hidden throughout the world.   Final Thoughts Borderlands 4 is a wild ride full of loot, laughs, and laser fire. As a beginner, focus on: Picking the right character Unlocking your vehicle early Using ECHO-4 for navigation Farming XP through missions and bosses Matching elemental weapons to enemies Respeccing your skills to suit your playstyle With these tips, you'll be well on your way to becoming a legendary Vault Hunter in Kairos.
    • Upgrade your Telegram Gifts to NFT level with SOCNET! Buy Telegram Stars quickly, conveniently, and at the best prices — maybe you’ll be lucky enough to get a rare black-background model! Active SOCNET Store Links: Digital goods store (Website): Go Store Telegram bot: Go – convenient access to the store through the Telegram messenger. Telegram bot for purchasing Telegram Stars: Go – fast and profitable way to buy Telegram Stars. SMM Panel: Go – promote your social media accounts. We would like to present you with the current list of promotions and special offers for purchasing products and services from our platform: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website or Bot) during September! You can also use the first-time promo code SOCNET (15% discount). 2. Get $1 credited to your store balance or a 10–20% discount — just post your username after registration on our website in the following format: "SEND ME BONUS, MY USERNAME IS..." — post it in our forum thread! 3. Get $1 for your first SMM Panel trial — simply open a support ticket titled “Get Trial Bonus” on our website (Support). 4. Weekly giveaways of Telegram Stars in our Telegram channel and in our Telegram bot for Star purchases! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts and Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock