Jump to content

Recommended Posts

Posted
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.

Posted (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 by Irrelevant
Posted
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.

  • 3 weeks later...
Posted

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; }

  • 3 months later...
Posted (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 by Kounto
  • 3 weeks later...
Posted


    [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?

  • 8 months later...
Posted
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

  • 5 months later...
  • 2 weeks later...
  • 3 weeks later...
Posted

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?

  • 8 months later...
  • 3 months later...
  • 2 months later...
  • 2 weeks later...

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
Reply to this topic...

×   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.


×
×
  • Create New...