genata75 Posted August 22, 2017 Share Posted August 22, 2017 (edited) Thank You! TopZone is OK! A very good manager... only this stupid API links... I tried everything, obviously my knowledge is not enough ... Edited August 22, 2017 by genata75 Link to comment Share on other sites More sharing options...
Reborn12 Posted August 22, 2017 Author Share Posted August 22, 2017 Thank You! TopZone is OK! A very good manager... only this stupid API links... I tried everything, obviously my knowledge is not enough ... You should try the manager like it is in txt for hopzone it must work.. Link to comment Share on other sites More sharing options...
genata75 Posted August 22, 2017 Share Posted August 22, 2017 ooo yes! Thank you! TopZone - OK! HopZone - OK! Link to comment Share on other sites More sharing options...
Inƒinity Posted September 3, 2017 Share Posted September 3, 2017 For L2jFrozen is updated or the post is from 2016? Link to comment Share on other sites More sharing options...
Runfoldas Posted February 4, 2018 Share Posted February 4, 2018 I'm added this code to l2jfrozen, but for me every time write i'm not voted for l2topzone. What i do wrong? Mhm, no errors in eclipse.. hopzone and network work fine. Link to comment Share on other sites More sharing options...
Reborn12 Posted February 4, 2018 Author Share Posted February 4, 2018 34 minutes ago, Runfoldas said: I'm added this code to l2jfrozen, but for me every time write i'm not voted for l2topzone. What i do wrong? Mhm, no errors in eclipse.. hopzone and network work fine. You can fix topzone from this page https://maxcheaters.com/topic/201882-vote-manager-npc-v3/?page=4 Link to comment Share on other sites More sharing options...
SweeTs Posted February 4, 2018 Share Posted February 4, 2018 If it's ip based, you have to hard-code your ip if you test on local, as it's taking local ip - result, you didn't vote. Link to comment Share on other sites More sharing options...
Runfoldas Posted February 4, 2018 Share Posted February 4, 2018 2 hours ago, Reborn12 said: You can fix topzone from this page https://maxcheaters.com/topic/201882-vote-manager-npc-v3/?page=4 public static int getTopZoneVotes() { int votes = -1; try { final URL obj = new URL(Config.VOTES_SITE_TOPZONE_URL); final HttpURLConnection con = (HttpURLConnection) obj.openConnection(); con.addRequestProperty("User-Agent", "L2TopZone"); con.setConnectTimeout(5000); final int responseCode = con.getResponseCode(); if (responseCode == 200) { try (BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream()))) { String inputLine; while ((inputLine = in.readLine()) != null) { votes = Integer.valueOf(inputLine); break; } } } } catch (Exception e) { e.printStackTrace(); System.out.println("TOPZONE is offline. We will check reward as it will be online again."); } return votes; } Is that from your vote manager npc? In with java file need change it? Link to comment Share on other sites More sharing options...
Reborn12 Posted February 4, 2018 Author Share Posted February 4, 2018 2 hours ago, Runfoldas said: public static int getTopZoneVotes() { int votes = -1; try { final URL obj = new URL(Config.VOTES_SITE_TOPZONE_URL); final HttpURLConnection con = (HttpURLConnection) obj.openConnection(); con.addRequestProperty("User-Agent", "L2TopZone"); con.setConnectTimeout(5000); final int responseCode = con.getResponseCode(); if (responseCode == 200) { try (BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream()))) { String inputLine; while ((inputLine = in.readLine()) != null) { votes = Integer.valueOf(inputLine); break; } } } } catch (Exception e) { e.printStackTrace(); System.out.println("TOPZONE is offline. We will check reward as it will be online again."); } return votes; } Is that from your vote manager npc? In with java file need change it? VoteHandler.java all the gettopzonevotes() method to be easier for you.. Link to comment Share on other sites More sharing options...
Runfoldas Posted February 5, 2018 Share Posted February 5, 2018 6 hours ago, Reborn12 said: VoteHandler.java all the gettopzonevotes() method to be easier for you.. thank you a lot! Working now. Link to comment Share on other sites More sharing options...
Runfoldas Posted February 5, 2018 Share Posted February 5, 2018 Reborn12, can you tell me, about what this error is? WARN java.lang.ClassCastException: com.l2jfrozen.gameserver.model.actor.instance.L2RaidBossInstance cannot be cast to com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance at com.l2jfrozen.gameserver.handler.skillhandlers.Disablers.useSkill(Disablers.java:590) at com.l2jfrozen.gameserver.model.L2Character.callSkill(L2Character.java:9285) at com.l2jfrozen.gameserver.model.L2Character.onMagicHitTimer(L2Character.java:8542) at com.l2jfrozen.gameserver.model.L2Character.onMagicLaunchedTimer(L2Character.java:8364) at com.l2jfrozen.gameserver.model.L2Character.doCast(L2Character.java:2124) at com.l2jfrozen.gameserver.model.L2Character$AIAccessor.doCast(L2Character.java:4970) at com.l2jfrozen.gameserver.ai.L2AttackableAI.thinkAttack(L2AttackableAI.java:966) at com.l2jfrozen.gameserver.ai.L2AttackableAI.onEvtThink(L2AttackableAI.java:1005) at com.l2jfrozen.gameserver.ai.L2CharacterAI.onEvtReadyToAct(L2CharacterAI.java:712) at com.l2jfrozen.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:363) at com.l2jfrozen.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:314) at com.l2jfrozen.gameserver.model.L2Character$NotifyAITask.run(L2Character.java:3445) 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.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) 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) Link to comment Share on other sites More sharing options...
Nightw0lf Posted February 5, 2018 Share Posted February 5, 2018 2 hours ago, Runfoldas said: Reborn12, can you tell me, about what this error is? WARN java.lang.ClassCastException: com.l2jfrozen.gameserver.model.actor.instance.L2RaidBossInstance cannot be cast to com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance at com.l2jfrozen.gameserver.handler.skillhandlers.Disablers.useSkill(Disablers.java:590) at com.l2jfrozen.gameserver.model.L2Character.callSkill(L2Character.java:9285) at com.l2jfrozen.gameserver.model.L2Character.onMagicHitTimer(L2Character.java:8542) at com.l2jfrozen.gameserver.model.L2Character.onMagicLaunchedTimer(L2Character.java:8364) at com.l2jfrozen.gameserver.model.L2Character.doCast(L2Character.java:2124) at com.l2jfrozen.gameserver.model.L2Character$AIAccessor.doCast(L2Character.java:4970) at com.l2jfrozen.gameserver.ai.L2AttackableAI.thinkAttack(L2AttackableAI.java:966) at com.l2jfrozen.gameserver.ai.L2AttackableAI.onEvtThink(L2AttackableAI.java:1005) at com.l2jfrozen.gameserver.ai.L2CharacterAI.onEvtReadyToAct(L2CharacterAI.java:712) at com.l2jfrozen.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:363) at com.l2jfrozen.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:314) at com.l2jfrozen.gameserver.model.L2Character$NotifyAITask.run(L2Character.java:3445) 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.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) 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) this is a frozen problem to fix this search at Disablers.java:590 line 590 its propably some skill that used by rb on a player possible fix is to skip something in the for loop i have no idea what frozen has there Link to comment Share on other sites More sharing options...
phantoml2 Posted February 5, 2018 Share Posted February 5, 2018 works great on acis last rev Link to comment Share on other sites More sharing options...
cyta5 Posted March 15, 2018 Share Posted March 15, 2018 (edited) hmm what is going wrong ? i used the update that you say but does not work any solution ? i did vote at this links TopzoneUrl = http://l2topzone.com/totalvotes.php?id=6150 NetworkUrl = http://l2network.eu/details/l2gamers/ HopzoneUrl = http://l2.hopzone.net/gr/lineage2/details/91106/L2-Gamers Edited March 15, 2018 by cyta5 Link to comment Share on other sites More sharing options...
Haber Posted July 7, 2018 Share Posted July 7, 2018 java.net.MalformedURLException: no protocol: at java.net.URL.<init>(Unknown Source) at java.net.URL.<init>(Unknown Source) at java.net.URL.<init>(Unknown Source) at com.l2jfrozen.gameserver.handler.VoteHandler.getL2NetworkVotes(VoteHandler.java:323) at com.l2jfrozen.gameserver.handler.VoteHandler$1nzvotetask.run(VoteHandler.java:375) 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.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(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) NetWork is offline. We will check reward as it will be online again. My link: https://l2network.eu/?a=details&u=xxx VoteHandler line 323: final HttpURLConnection con = (HttpURLConnection) obj. openConnection(); Whats wrong ? :( Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now