Jump to content

Lineage 2 Vote Reward System


Recommended Posts

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.

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 3 weeks later...

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

Link to comment
Share on other sites

  • 3 months later...

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
Link to comment
Share on other sites

  • 3 weeks later...


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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 5 months later...
  • 2 weeks later...

hi, how to disable some sites? i need only two.. but i obtain java.lang.NullPointerException when delete from votesystem.xml

 

image.thumb.png.936c924308e0e71dd52472c85b0a8d77.png

Edited by StarSCreams
shot
Link to comment
Share on other sites

  • 3 weeks later...

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?

Link to comment
Share on other sites

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

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.




  • Posts

    • Hi, my client version is Classic Kamael.   I build up the story line gradually with the option to turn different parts of the story on and off.   I mean you start a server and you only have The Kamael classic. As an admin, you will be able to gradually enable additional zones, RBs, items, instances, etc. through configs, up to Hi5 (I only have hi5 for now). Sometime in the future I want to add the GoD stuff as well because the new RB is strong and the regular S grade stuff is weak. Of course, there are some limitations of the game client, which I will not remove yet.   For example, I couldn't put Rafforty NPC on hi5 position because you can't get it here and there in the Classic client, so I put it on others.   It's a change that I like.   I'm most looking forward to coming up with zones, quests and instances for Gracia.
    • Hello. If you are looking for a reliable writing company that can provide a high level of service and high quality writing, then I recommend you to visit Essay Pro review https://nocramming.com/essaypro-review, where you can make sure for yourself that this company can be the best assistant in your difficult studies. The company's review is objective and easy to understand, which will help any user to quickly understand the information.
    • Why not making hi5 files to support login/play at the client and only make some client parts for the rest? Isnt it more easy?
    • Powerful Spells Caster & Spiritual Healer Web: lovespellsafrika.com Phone: +27780802727 WhatsApp +27789121499 Email: bbaantu@gmail.com Real Magic Spells | How To Get Back Ex-Boyfriend or Ex-Girlfriend. Real Magic Spells for all purpose; Now you can benefit through the use of spells like Love Spells, Money Spells, Talismans, Charms, Prayers, Curses and Chants. Magic Spells can be spell cast for many purposes. Talismans and Charms work as powerful Ingredients. If you need any spiritual knowledge on the power of Spells and Magic you can always Powerful Magic Rings Love Spells                     Casting of Simple and Effective Love Spells Easy Love Spells Spells for Attraction between two Lovers Binding Love Spells Get back Lost Lover Spells Spells to Strengthen Love Relation Lost Love Spells Soul Mate Spells Marriage Spell for a happy Married Life. Retrieve a Lost Love Spells Bring Back Your Love Spells Gay Love Spells, Lesbian Love Spells Anti-Love Spells, Divorce Spells, Break up Spells How to Get Back Ex-Boyfriend, or Ex-Girlfriend Casting Spells to Get Rid of Your Husband, Wife or Partner without Fights or them hating you Magic Rings, Powerful Love Rings Spells to stop a divorce Voodoo Spells for Love Love Return Spells Money & Prosperity Spells Phone: +27780802727 WhatsApp +27789121499 How to Cast Magic Money Spells Lottery Spells or Lotto Spells Voodoo Spells for Money Black Magic Spell for Money Protection & Banishing Spells Black Magic Spells and Curses to Destroy Enemy or Evil People Protection from Black Magic Spells and Curses Dark Magic Spells Voodoo Spells for Revenge Spells to win court cases &legal matters Healing spells for all purpose Stroke Diabetics Lottery Spells Phone: +27780802727 WhatsApp: +27789121499 Web: lovespellsafrika.com
  • Topics

×
×
  • Create New...