L2JMobius

Free Users => Shares/Contributions => Topic started by: nightwolf on December 31, 2020, 12:51:46 PM

Title: API Vote [Global] [Individual] ALL CHRONICLES
Post by: nightwolf on December 31, 2020, 12:51:46 PM
hello all
As title says its an auto donation reward based on DenArt-Designs panel and or https://itopz.com free ones
A Vote System & Donate System made for a variety of projects including Mobius ideas and problems send on github!
A project with sources and planned for updates to match a bigger variety of projects and topsites and maybe more codes.

Full VDS project source: https://github.com/nightw0lv/VDSystem

Mobius VDS sources: https://github.com/nightw0lv/VDSystem/tree/master/Mobius

Compiled VDS Jars: https://github.com/nightw0lv/VDSystem/releases/tag/Mobius

Developer's Note: the (small) patch its on each project's folder with name Patch.diff

Note for forum: I would like to have a prefix for all in this case if possible  :)
Title: Re: Vote & Donate Reward System
Post by: nightwolf on January 16, 2021, 02:54:26 PM
- Version 1.1
  - Minimal Requirement on server resources and class consistency along projects.
    - Addition of Thread class.
    - Addition of Random class.
    - Addition of Logs class.
    - Addition of Url class.
    - Addition of Rewards class.
    - SQL independence on tables with vds_individual and vds_global tables automatic install by default
  - Addition of topsites and their configs.
    - Hopzone.
    - L2Network.
    - L2TopGameServer.
    - L2TopServers.
    - L2Votes.
    - L2JBrasil.
  - Gui
    - Addition of Debug on/off button.
    - Addition of Bug report button.
    - Removed Debug mode.
    - Rework on the class to update all topsite statistics.
    - Rework on console size and re-arrange information and console.
  - Fixed Bug that made global with individual rewards conflict.
  - Improved custom JSon parser for wannabe-called APIs on a lot of topsites.
  - Improved Debug with External IP Address.
  - Improved code style on some cases like enchanted switch on mobius projects.
Title: Re: Vote [Global] [Individual] & Donate System ALL CHRONICLES
Post by: nightwolf on March 20, 2021, 06:00:54 AM
Updates:

- Addition of Mobius Latest Premium Projects (Include Sylph, Return of the Queen Ant and Dwelling of Spirits)


Title: Re: Vote [Global] [Individual] & Donate System ALL CHRONICLES
Post by: Daimonass on March 24, 2021, 08:43:12 PM
Can somebody help me, understand how to make changes in Eclipse?
https://github.com/nightw0lv/iTopZ-Java/blob/master/Mobius/L2J_Mobius_7.0_PreludeOfWar/Patch.diff

Title: Re: Vote [Global] [Individual] & Donate System ALL CHRONICLES
Post by: nightwolf on March 26, 2021, 10:37:37 PM
Can somebody help me, understand how to make changes in Eclipse?
https://github.com/nightw0lv/iTopZ-Java/blob/master/Mobius/L2J_Mobius_7.0_PreludeOfWar/Patch.diff


hello, it is very simple actually.

1) you copy paste in jar folder the given VDSystem.jar from release section
  a) https://github.com/nightw0lv/iTopZ-Java/releases/tag/Mobius for free packs
  b) https://github.com/nightw0lv/iTopZ-Java/releases/tag/MobiusPremium for premium packs
2) then inside eclipse locate that jar and right click on it, then add to class path as shown in that image http://prntscr.com/10whmuy
3) call (import) it on gameserver.java http://prntscr.com/10whogt
4) solve that error simply by making the import http://prntscr.com/10whqbc click on it
5) save and build
now you have a new server.jar replace it or just run from eclipse the server this depends on your configuration and how you run the server

- Updates
added VDSystem for premium packs
Title: Re: Vote [Global] [Individual] & Donate System ALL CHRONICLES
Post by: nightwolf on July 28, 2021, 06:14:34 PM
Version 1.3
   
       
Title: Re: Vote [Global] [Individual] & Donate System ALL CHRONICLES
Post by: borinet on August 27, 2021, 12:29:34 AM
Hello.
Thanks first!!!

but I can't found donate_holder.sql file
Title: Re: Vote [Global] [Individual] & Donate System ALL CHRONICLES
Post by: nightwolf on October 31, 2021, 06:55:28 AM
Hello.
Thanks first!!!

but I can't found donate_holder.sql file
if you enable the donate panel from config it will automatically installed
Title: Re: Vote [Global] [Individual] & Donate System ALL CHRONICLES
Post by: nightwolf on November 02, 2021, 02:15:12 PM
Version 1.4
    Update Premium Mobius Projects
        Update JDK 17
        Update libraries
        Removal of 8.0 Homunculus
        Removal of 9.0 Return of the Queen Ant
        Removal of 5.0 Sylph
        Addition of 8.2 Homunculus
        Addition of 9.2 Return of the Queen Ant
        Addition of 5.2 Frost Lord
        Updated Patch diffs


Title: Re: Vote [Global] [Individual] & Donate System ALL CHRONICLES
Post by: twinpeaks75 on March 20, 2022, 11:56:47 AM
patch for masterClass
Title: Re: Vote [Global] [Individual] & Donate System ALL CHRONICLES
Post by: teris1994 on April 11, 2022, 12:07:39 AM
Hi you have any video exlpain how it work or images?

One more question is free?
Title: Re: Vote [Global] [Individual] & Donate System ALL CHRONICLES
Post by: teris1994 on April 11, 2022, 05:45:39 PM
-Fix by nightWolf
-The problem is can't make vds_individual
Replace on Utilities.java

Code: [Select]
public static final String CREATE_INDIVIDUAL_TABLE = "CREATE TABLE vds_individual (id int(11) NOT NULL AUTO_INCREMENT,topsite enum('ITOPZ','HOPZONE','L2NETWORK','L2JBRASIL','L2TOPGAMESERVER','L2VOTES','L2TOPSERVERS') NOT NULL,var varchar(255) NOT NULL,value bigint(20) NOT NULL,ip varchar(65) NOT NULL,    PRIMARY KEY (id)) ENGINE=InnoDB DEFAULT CHARSET=latin1;";

Code: [Select]
CREATE TABLE vds_individual (
    id int(11) NOT NULL AUTO_INCREMENT,
    topsite enum('ITOPZ','HOPZONE','L2NETWORK','L2JBRASIL','L2TOPGAMESERVER','L2VOTES','L2TOPSERVERS') NOT NULL,
    var varchar(255) NOT NULL,
    value bigint(20) NOT NULL,
    ip varchar(65) NOT NULL,
    PRIMARY KEY (id)
    ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
Title: Re: Vote [Global] [Individual] & Donate System ALL CHRONICLES
Post by: nightwolf on August 26, 2022, 10:07:02 AM
hello guys sorry but the source is online and with minimum effort you can adapt it, if not ask here or some developer how to adapt it in newer versions because i am not a subscribed user and i dont have latest versions to add VDSystem, please stop asking me for latest versions.

Title: Re: Vote [Global] [Individual] & Donate System ALL CHRONICLES
Post by: nasseka on August 26, 2022, 10:17:13 AM
DM me for subscriber ver. adapt  ;D
hello guys sorry but the source is online and with minimum effort you can adapt it, if not ask here or some developer how to adapt it in newer versions because i am not a subscribed user and i dont have latest versions to add VDSystem, please stop asking me for latest versions.


Title: Re: Vote [Global] [Individual] & Donate System ALL CHRONICLES
Post by: nightwolf on September 13, 2022, 08:41:39 AM
DM nasseka he is very trusted and experienced with VDSystem and he is able to install it for you on latest versions (I dont think he will do it for free tho)
Title: Re: Vote [Global] [Individual] & Donate System ALL CHRONICLES
Post by: twinpeaks75 on January 22, 2023, 03:38:37 PM
Hi all,
any idea how can resolve this problem?

Exception in thread "main" java.lang.NoClassDefFoundError: org/l2jmobius/gameserver/model/actor/instance/PlayerInstance
   at itopz.com.vote.VDSystem.onLoad(VDSystem.java:80)
   at itopz.com.vote.VDSystem.<init>(VDSystem.java:61)
   at itopz.com.vote.VDSystem$SingletonHolder.<clinit>(VDSystem.java:95)
   at itopz.com.vote.VDSystem.getInstance(VDSystem.java:90)
   at itopz.com.VDSystemManager.<init>(VDSystemManager.java:61)
   at itopz.com.VDSystemManager$SingletonHolder.<clinit>(VDSystemManager.java:71)
   at itopz.com.VDSystemManager.getInstance(VDSystemManager.java:66)
   at org.l2jmobius.gameserver.GameServer.<init>(GameServer.java:455)
   at org.l2jmobius.gameserver.GameServer.main(GameServer.java:525)
Caused by: java.lang.ClassNotFoundException: org.l2jmobius.gameserver.model.actor.instance.PlayerInstance
   at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
   at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
   ... 9 more
Title: Re: Vote [Global] [Individual] & Donate System ALL CHRONICLES
Post by: nightwolf on May 07, 2023, 08:31:01 PM
Hi all,
any idea how can resolve this problem?

Exception in thread "main" java.lang.NoClassDefFoundError: org/l2jmobius/gameserver/model/actor/instance/PlayerInstance
   at itopz.com.vote.VDSystem.onLoad(VDSystem.java:80)
   at itopz.com.vote.VDSystem.<init>(VDSystem.java:61)
   at itopz.com.vote.VDSystem$SingletonHolder.<clinit>(VDSystem.java:95)
   at itopz.com.vote.VDSystem.getInstance(VDSystem.java:90)
   at itopz.com.VDSystemManager.<init>(VDSystemManager.java:61)
   at itopz.com.VDSystemManager$SingletonHolder.<clinit>(VDSystemManager.java:71)
   at itopz.com.VDSystemManager.getInstance(VDSystemManager.java:66)
   at org.l2jmobius.gameserver.GameServer.<init>(GameServer.java:455)
   at org.l2jmobius.gameserver.GameServer.main(GameServer.java:525)
Caused by: java.lang.ClassNotFoundException: org.l2jmobius.gameserver.model.actor.instance.PlayerInstance
   at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
   at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
   ... 9 more

yes you use the .jar file, its old and since the date the jar builded mobius has renamed 2 classes world and player and your jar is trying to find them but cant because they do not exist anymore, i recommend to use the source instead of the jars, also soon a new system will come out and will have new topsites and mail system for newer chronicles.
Title: Vote [Global] [Individual] ALL CHRONICLES
Post by: nightwolf on May 30, 2023, 05:21:28 AM
New version has been released v1.6
added new topsites https://hopzone.eu and https://hotservers.org
https://github.com/nightw0lv/VDSystem


Chancelog

    Version 1.6
        Refactor Config for item delivery manager
        Update SQL enum in vds_* tables for new topsites
        Update millisecondsFromString() will print ServerTime and TimeZone on Gui
        Update getMyIP() ip check with SSL
        Added HOPZONE.EU topsite
            Added Individual URL
            Added global URL
            Added URL generation to fix IPv6 voter problem
        Added HOTSERVERS.ORG topsite
            Added Individual URL
            Added global URL
        Removed L2TOPSERVERS.COM
        Refactor for Hopzone into Hopzone Net
        Updated discord invitation
        Updated GitHub URL
        Added DenArt Designs panel URLs
        Fix checking array length to avoid possible errors when checking for json
        Added Gui Messages for website connection failures
        Added .vote command
            Window open showing the enabled vote commands
            Shows player IP Address
            Ignores Flood protection
        Split individual response on connection Execution method to implement the new way of IPv6 method fix
        GenerateVoteURL method will create a new url for player to vote
            Currently only new hopzone supports this
            New custom message on vote failure for the generated URL

Note: This update finds L2JBrasil with broken Global API. (yes they broke it) Note: This update implements a new way for IPv6 players to get their reward Note: The new implementation works only on Hopzone right now. Note: The new Implementation is not up to this system in order to work but each topsite.

TODO: Old lineage 2 clients don't support URL open in browser for players by default so its up to you to open the generated URL's on those chronicles with exception to Lucera that does that by default. There are code hints on where you should do that notably VoteCMD.java, these functions are also provided by some client protections like smartguard, sguard, and strixguard.
Title: Re: API Vote [Global] [Individual] ALL CHRONICLES
Post by: nightwolf on September 22, 2023, 03:05:23 PM
How to setup a server from website and donation panel

to item delivery manager using this vote reward system
Title: Re: API Vote [Global] [Individual] ALL CHRONICLES
Post by: nightwolf on January 17, 2024, 07:57:24 PM
UPDATE:

Chancelog

    Version 1.7
       
       
Title: Re: API Vote [Global] [Individual] ALL CHRONICLES
Post by: G-hamsteR on January 17, 2024, 08:11:17 PM
Thanks for sharing. L2Ranking.com doesn't exist. Can you send the correct link?

UPDATE:

Chancelog

    Version 1.7
       
  • Addition of L2Ranking.com Topsite
  • Dropping support for JDK 1.7 (removed OLD frozen pack)

       
Title: Re: API Vote [Global] [Individual] ALL CHRONICLES
Post by: Puppyrawr on February 18, 2024, 03:18:39 AM
Thanks for sharing. L2Ranking.com doesn't exist. Can you send the correct link?
Its L2Rankzone.com if im not wrong
Title: Re: API Vote [Global] [Individual] ALL CHRONICLES
Post by: nightwolf on April 20, 2024, 09:27:11 AM
Its L2Rankzone.com if im not wrong
correct

Chancelog

    Version 1.8
        Addition of Top.4teambr.com Topsite
        Fix typos