Cherish Posted March 4, 2021 Posted March 4, 2021 4 hours ago, Irrelevant said: Hello .1st of all nice share, but i found a bug ~> https://imgur.com/CN4Avdb. When you vote in l2.topgameserver.net it gives you cooldown 9:30h ~> after those 9:30h you can just press multi times and as many you want on "Get Reward"button and receive reward every time you press that button. At least that happened to me. rev: L2jfrozen 1132 java8 EDIT: Even after restarting the server you can still press the button and receive reward ,multi times! that is because l2.topgameserver.net has DiffTime set by the votesite API. You can reconstruct code urself or disable it. Quote
Irrelevant Posted March 4, 2021 Posted March 4, 2021 (edited) 6 hours ago, Cherish said: that is because l2.topgameserver.net has DiffTime set by the votesite API. You can reconstruct code urself or disable it. he share a good votesystem for free,maybe its best free votesystem.At least we have to help him with bugs we found.He is part of the staff at l2.TGS.net ,he must aware of this bug . Edited March 4, 2021 by Irrelevant Quote
Cherish Posted March 9, 2021 Posted March 9, 2021 On 3/4/2021 at 11:31 AM, Irrelevant said: he share a good votesystem for free,maybe its best free votesystem.At least we have to help him with bugs we found.He is part of the staff at l2.TGS.net ,he must aware of this bug . he is aware, i was first that reported it. the issue arises from the fact his vote site uses very complex vote solution. that is very different from the rest of the vote sites. indeed that vote system is very handy and he also spent the time to set it up for me. i also like the ease of vote on his site, that is why i keep his link up. Quote
TGSLineage2 Posted March 28, 2021 Author Posted March 28, 2021 Hello @everyone, apparently the problem of undefined claims has been generated by a bad calculation of the remaining times, so to correct this, you must go to: votesystem.Handler.VoteManager and search public long getTimeRemaining (individualVote iv) and replace the old method with this: public long getTimeRemaining (individualVote iv) { long timeRemaining = 0L; timeRemaining = ((iv.getVotingTimeSite () + Config.INTERVAL_TO_NEXT_VOTE) - ((iv.getDiffTime ()> 0)? (System.currentTimeMillis () + iv.getDiffTime ()): (System.currentTimeMillis () - iv.getDiffTime () - iv.getDiffTime ()))); System.out.println ("Remaining time:" + timeRemaining); return timeRemaining; } Quote
Kounto Posted July 18, 2021 Posted July 18, 2021 (edited) FROZEN 1132 not working. im trying to talk with this guy but he won't answer. i have already installed this code more than 5 times perfectly and still have the same problem. Gameserver cannot load votesystem.properties. You need to fix it somehow. Edited July 18, 2021 by Kounto Quote
tufkis Posted August 3, 2021 Posted August 3, 2021 [javac] C:\Users\Tautvydas\Desktop\Eclipse-workspace\workspace\frozen\gameserver\head-src\com\l2jfrozen\gameserver\votesystem\Handler\voteManager.java:92: error: no suitable constructor found for individualVote(String,long,int,boolean) [javac] if (getTimeRemaining(new individualVote(ip, ivr.getVoteSiteTime(), ordinalSite, false)) < 0) [javac] ^ [javac] constructor individualVote.individualVote(String,long,long,int,boolean) is not applicable [javac] (actual and formal argument lists differ in length) [javac] constructor individualVote.individualVote() is not applicable [javac] (actual and formal argument lists differ in length) [javac] 1 errors [javac] 1 warning Any help? Quote
amaromorte Posted April 8, 2022 Posted April 8, 2022 hi there, i have problems when compiling in l2jfrozen rev 1132, cannot find symbols. is there any solution for this? thank y'all. Quote
amaromorte Posted April 10, 2022 Posted April 10, 2022 On 8/3/2021 at 8:03 AM, tufkis said: [javac] C:\Users\Tautvydas\Desktop\Eclipse-workspace\workspace\frozen\gameserver\head-src\com\l2jfrozen\gameserver\votesystem\Handler\voteManager.java:92: error: no suitable constructor found for individualVote(String,long,int,boolean) [javac] if (getTimeRemaining(new individualVote(ip, ivr.getVoteSiteTime(), ordinalSite, false)) < 0) [javac] ^ [javac] constructor individualVote.individualVote(String,long,long,int,boolean) is not applicable [javac] (actual and formal argument lists differ in length) [javac] constructor individualVote.individualVote() is not applicable [javac] (actual and formal argument lists differ in length) [javac] 1 errors [javac] 1 warning Any help? did you fixed it? im getting the same error Quote
Pinky Posted September 17, 2022 Posted September 17, 2022 Could someone adapt from l2 mythras, and be so kind as to adapt to my data please Quote
StarSCreams Posted September 28, 2022 Posted September 28, 2022 (edited) hi, how to disable some sites? i need only two.. but i obtain java.lang.NullPointerException when delete from votesystem.xml Edited September 28, 2022 by StarSCreams shot Quote
StarSCreams Posted October 13, 2022 Posted October 13, 2022 Sorry for the double post... the hopzone api gets an ip for example: 121.120.15.18 but my server gets another different ip for example: 121.120.15.22 and for obvious reasons the player cannot claim rewards because the ip's don't match. did this happen to someone? Quote
tuccy Posted July 1, 2023 Posted July 1, 2023 can someone explain how towork for vot etc i show only 1 custom npc to get reward but how to vote? Quote
hendrickblaze Posted October 3, 2023 Posted October 3, 2023 thanks for sharing !! any guide to install this? it would be great!! Quote
l2life Posted December 5, 2023 Posted December 5, 2023 (edited) Hello, Somt Edited December 5, 2023 by l2life Quote
4TOP Posted December 18, 2023 Posted December 18, 2023 I put fine but say alot on chat And if i click Quote
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.