Jump to content

Recommended Posts

I have created a code to reward for voting on several well-known sites.

If someone has difficulty adding this code to their package, they can write to me at my discord  https://discord.com/invite/VbnZbWR I will adapt for some popular open source package.

I've included sites like l2jbrasil, hopzone, topzone and others, I would like to hear suggestions about the distributions that are most used in this great community so that I can adapt and share them.

 

lO92otT.jpg

 

You can see the code in the following link: 
aCis: https://pastebin.com/1Wq6GZPs
L2JServer  H5https://pastebin.com/KVyPAZ0X
L2JFrozen 1.5 Interlude https://pastebin.com/GaAyMMT2
 

I am currently adapting the code for some l2jmobius distributions.

Edited by tgsboy
  • Like 8
  • I love it 1
Link to comment
Share on other sites


05/17/2020 - For people who have integrated the voting system, I have made some arrangements to the voting system, it is currently working correctly and stable, the changes are already applied to the sources.
http://www.mediafire.com/file/g6kag6pg5zu342h/patch_with_some_fiexes.txt/file

En 14/5/2020 a las 16:41, heladito92 dijo:

¡Hola! Muy buen aporte. ¿Podría adaptarlo a 1132 congelado? porque el del congelado 1.5 me arroja errores

 

Yo uso Frozen rev 1132

I'll make in this days.

Link to comment
Share on other sites

  • 5 months later...
  • 2 weeks later...
  • 1 month later...

Hello everyone, I wanted to inform you that I have made a few adjustments to the voting system in which the validation of the votes has been corrected and the issue of multiple claims that sometimes occurred in the voting system, also add the adaptation of the system to package l2jfrozen 1132 https://pastebin.com/YczLkpUp I will be making the adaptation to all the chronicles of L2JMobius, L2Mythras, if anyone has any suggestion of a known and open source package that has not yet been adapted let me know.

  • I love it 1
Link to comment
Share on other sites

  • 3 weeks later...
Em 03/01/2021 at 20:20, tgsboy disse:

Update for L2Mythras (2017.07.12) https://pastebin.com/yTKnHpDD

Cool i will try L2JSunrise 

Um mundo de diversão no Lineage 2

https://www.primeworld.com.br

Discord: Em breve

Comunidade brasileira de Lineage. Interlude Remastered / High Five / Essence 

Classes remasterizadas, sistemas únicos, diversão garantida.

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...
  • 2 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

  • 2 months later...



×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.