Jump to content
  • 0

Question

Posted

Which link Hopzone need to add to AutoVoteReward on L2JFrozen?

Because now, Topzone and Network for me ok, but Hopzone not:

f6d505f53ed8c02b7a3ba323ecd8068a372.jpg

# Leave empty to disable one site
#
# Hopzone: http://l2.hopzone.net
VotesSiteHopZoneUrl =http://l2.hopzone.net/gr/lineage2/details/91106/L2-DAMAGE
# Topzone: http://l2topzone.com
VotesSiteTopZoneUrl =http://l2topzone.com/tv.php?id=6084
# L2Network: http://l2network.eu
VotesSiteL2NetworkUrl =https://l2network.eu/details/damage/
# Put your website url
ServerWebSite = http://www.l2jfrozen.com

Recommended Posts

  • 0
Posted

wongerlt, aš buvau jį keites, prieš mėnėsį gal kokį veikė dar, o dabar šnd pasijūngiu žiūriu nebe. Šiuo metu savo hopzones acc neturiu, todėl negalėsiu pažiūrėti, kodas mano galva yra geras dabar.

  • 0
Posted (edited)
3 minutes ago, Monoksidas said:

wongerlt, aš buvau jį keites, prieš mėnėsį gal kokį veikė dar, o dabar šnd pasijūngiu žiūriu nebe. Šiuo metu savo hopzones acc neturiu, todėl negalėsiu pažiūrėti, kodas mano galva yra geras dabar.

turbut hopzone neveikia, nes ir man ziuriu nebegauna informacijos, reikia laukt kol jie ten patys sutvarkys savo sistema.

Edited by wongerlt
  • 0
Posted

O vakar veikė? Nes aš vakar bandžiau, ir nerodė man nieko. Nei per announce nerašo kad kažkas blogai ir pnš, tik topzone ir network mėto. Nei consolej nieko apie hopzone, nei error nieko. O kaip pas tave?

  • 0
Posted
1 minute ago, Monoksidas said:

O vakar veikė? Nes aš vakar bandžiau, ir nerodė man nieko. Nei per announce nerašo kad kažkas blogai ir pnš, tik topzone ir network mėto. Nei consolej nieko apie hopzone, nei error nieko. O kaip pas tave?

man net i hopzone neleidzia ieit, http://prntscr.com/hbg5av

na pas mane kitokia vote sistema, klaida tokia, kad hopzone jokio atsakymo neduoda, tipo "request timeout"

  • 0
Posted
2 minutes ago, Monoksidas said:

Bloga nuoroda daviai. Nu bet jei sakai, kad ir pas tave neveikia, tai gal pati hopzone čia kažką durniuoja jau kelias dienas.

gera ta nuoroda, ten paveikslelis su hopzone webu "502" :D

  • 0
Posted
13 minutes ago, Reborn12 said:

Change http to https

same shit.

HTTP/1.1 302 Found
Server: HYPERFILTER - HWP/2.0.0
Date: Thu, 16 Nov 2017 23:19:27 GMT
Content-Length: 0
Connection: close
Cache-Control: no-cache
Location: https://api.hopzone.net/lineage2/votes?token=AFCC4Ez3trnOwZNY
P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"
DDOS: Protected by HyperFilter : http://www.hyperfilter.com
HF-Wall: HIT-4/THROTTLED_4

 

  • 0
Posted (edited)

put here the gethopzonevotes method

 

or check this

public static int getHopZoneVotes()
	{
		
		int votes = -1;
		try
		{
			final URL obj = new URL(Config.VOTES_SITE_HOPZONE_URL);
			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;
	}

 

Edited by Reborn12
  • 0
Posted (edited)

My code working fine, just i was putted wrong link. :) Now i will test it fully when hopzone will be online. But anyway, my hopzone code is:

protected static int getHopZoneVotes()
       {
           int votes = -1;
          
           try
           {
              final URL obj = new URL(PowerPakConfig.VOTES_SITE_HOPZONE_URL);
              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 (final Exception e)
            {
                LOGGER.warn("[AutoVoteReward] Server HOPZONE is offline or something is wrong in link", e);
                Announcements.getInstance().gameAnnounceToAll("[HOPZONE] I'm offline.");
            }
            
            return votes;
        }

 

Edited by Monoksidas
  • 0
Posted
11 minutes ago, Reborn12 said:

put here the gethopzonevotes method

 

or check this


public static int getHopZoneVotes()
	{
		
		int votes = -1;
		try
		{
			final URL obj = new URL(Config.VOTES_SITE_HOPZONE_URL);
			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;
	}

 

it just not work, look at image.

http://prntscr.com/hbgs5r

  • 0
Posted

My hopzone console error:

WARN  [AutoVoteReward] Server HOPZONE is offline or something is wrong in link
java.net.ProtocolException: Server redirected too many  times (20)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1902)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347)
    at com.l2jfrozen.gameserver.handler.AutoVoteRewardHandler.getHopZoneVotes(AutoVoteRewardHandler.java:295)
    at com.l2jfrozen.gameserver.handler.AutoVoteRewardHandler$AutoReward.run(AutoVoteRewardHandler.java:101)
    at com.l2jfrozen.gameserver.thread.ThreadPoolManager$RunnableWrapper.run(ThreadPoolManager.java:95)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)


 

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • all your doubts ask chatgpt, also ask what you could do yourself hahaha
    • This post originally appeared on MmoGah. Odin: Valhalla Rising is an ambitious open-world MMORPG developed with Unreal Engine 4, offering breathtaking visuals and immersive gameplay. I will share everything you need to know before starting it.     Re-rolling In Odin, re-rolling isn't a practical strategy. Unlike most gacha games, where it's common to reset for better initial pulls, Odin focuses heavily on long-term growth. The earlier you begin playing and developing your character, the more advantages you'll gain over time. Instead of spending your efforts on re-rolling for ideal equipment, it's better to dive in and start progressing right away.   Server Selection Before starting your character, selecting a server is a crucial step. Since Odin doesn't support cross-server gameplay, coordinating with your friends, family, or guildmates is essential to ensure everyone creates their characters on the same server. Take the time to plan with your group beforehand. After deciding on a server, your next major choice will be picking a class.   Class Breakdown Odin features four primary starting classes: Warrior, Sorceress, Rogue, and Priest. Each class comes with its own distinct playstyle and unique strengths, so choose wisely, as your selection is permanent. However, even free-to-play players can create up to three characters on one server, giving you the flexibility to try different options and find the one that matches your preferences.   Quest and Leveling Once your character is created, your initial objective is to work through the main questline. This acts as both a tutorial and a method for early leveling. Odin simplifies the process with a convenient quest button that handles navigation, starts dialogues, and even enables auto-combat. This user-friendly feature allows beginners to grasp the basics of the game without feeling overloaded.   Auto Combat and No Kill-steal Mode Auto combat is an essential feature in Odin, enabling your character to battle monsters autonomously. This system allows you to effortlessly gain experience and loot, even while you're busy studying, cooking, or unwinding. To optimize its use, activate the no-kill-steal mode. This setting prevents your character from targeting monsters already engaged by other players, helping you avoid conflicts or potential PvP situations. However, if a quest becomes difficult to complete due to overcrowded areas, you can temporarily disable this mode to overcome the obstacle and move forward.   Item Management and Potions Don't overlook the importance of consumable items, especially health potions. These can be purchased, along with buffs, from general merchants in villages, and they play a crucial role in improving your combat efficiency and ensuring your survival. Always aim to keep a full stock of HP potions and carry buffs that boost attack, defense, or regeneration in batches of 5-10 for convenience.   Once you've acquired your consumables, assign them to your quick slots located at the bottom center of the screen. Swiping down activates these slots, and items like potions will automatically be used when necessary, so you don't need to worry about them mid-battle. Keep a close eye on your potion reserves, as running out during a tough fight could leave you vulnerable before reaching a safe area. In the early stages of the game, it's better to return to town for a restock if supplies are low rather than risking unnecessary defeats. You can also enable notifications to alert you when your health or potion count drops too low—a handy feature for staying prepared if your attention is elsewhere.   Leveling and AFK Farming Once you've mastered the fundamentals, the next step is to focus on leveling up and enhancing your character. Gaining levels is your primary source of progression early on, as it not only improves your stats but also unlocks crucial game features and new abilities. At this stage, simply sticking to the main questline provides a reliable and efficient way to gain experience.   Additionally, Odin includes a highly convenient idle feature called AFK mode. This allows your character to keep farming for resources and experience even when the game is closed, with a maximum duration of 8 hours per day. It's an excellent option for making progress while you're asleep, commuting, or otherwise occupied.   Gear Upgrades When the time comes to improve your gear, the initial focus should be on upgrading from normal-grade equipment to high-grade items. These provide significantly better stats and can be enhanced further to increase their effectiveness. Enhancing requires enhancement stones and gold, but it's important to stay within the safe enhancement limit. Attempting upgrades beyond this limit carries the risk of destroying your gear if the enhancement fails. Stick to safe enhancements until you've gained more experience and accumulated spare equipment to mitigate potential losses.   Skill Purchases When you've accumulated enough gold, it's time to invest in skills. These are crucial for enhancing your combat abilities and provide key benefits tailored to your class, whether it's increasing damage output, improving healing capabilities, or adding valuable utility. Before purchasing, ensure your character meets the level prerequisites for each skill. Your ultimate goal will be progressing through and completing the main questline in Midgard as you continue to develop your character.   Unlocking Jotenheim Finishing this milestone grants you access to the next region, Jetunheim, unlocking a variety of new content and challenges. This marks your first significant achievement in the game and is an essential early objective to strive for as you progress.   Joining a Guild Joining a guild is a highly beneficial step in Odin. Guilds not only provide opportunities for social interaction and group activities but also offer passive bonuses that can significantly enhance your gameplay. Even if you're not particularly active socially, being part of any guild is advantageous. The guild feature becomes accessible after completing Chapter 4, Quest 19 of the main story.   Guilds provide various perks, including buffs that scale with the guild's level. Additionally, you can earn guild coins by contributing through donations, quest completions, or regular logins. These coins can be exchanged for valuable rewards, such as epic-grade armor. The more you actively contribute to your guild, the greater the overall benefits for both you and the guild itself. Joining early and staying involved will undoubtedly strengthen your progression in the game.   Conclusion Here is the end of this beginners' guide. I hope these tips will help you level fast in Odin.
    • You can actually make a pseudomount code in your server, that way it can be displayed.. a friend made it for the l2off and i extended it a bit.. if u have l2off i might be able to help u on that
    • Discord : utchiha_market Telegram : https://t.me/utchiha_market Auto Buy Store : https://utchihamkt.mysellauth.com/ Join our server for more products : https://discord.gg/uthciha-services https://campsite.bio/utchihaamkt
  • Topics

×
×
  • Create New...