Jump to content

Recommended Posts

Posted (edited)

Progressive Voting System for Lineage II

 

tgbqz6v.png

 

 

After spending some time developing and testing this system on my own server, I have decided to release it and share it with the community. It is specifically designed for Lineage II servers that want to encourage daily voting on server ranking websites in a clean, secure, and visually appealing way.

 

 

What Does This System Do?

 

Unlike traditional voting systems where users can see all voting buttons and click on any of them, this system uses a progressive unlocking sequence:

 

  1. The player logs in using their in-game account.

  2. Only the [b]first voting site[/b] is initially available.

  3. After voting on the current site, the system polls for updates in real time and [b]automatically unlocks the next one[/b] without reloading the page.

  4. Once all voting sites in the list have been completed, the [b]claim reward[/b] button becomes available, allowing the player to receive the reward directly in their character's inventory.

 

 

Main Features

 

 

  • Lineage II-Style Interface: Completely redesigned UI featuring a gold, brown, and dark color palette inspired by the game's classic interface.
  • Automatic Multilingual Support: Native support for English, Spanish, Portuguese, and Russian. The system detects the browser language automatically, and users can switch languages using the flag selector.
  • Anti-Fraud System: Configurable reward limits per IP address (for example, a maximum of 7 rewards every 12 hours). Only actual rewards are counted, not voting clicks.
  • Configurable Timers: Set the number of seconds users must wait between voting sites to prevent abuse.
  • Global Monthly Counter: Displays the total number of votes received by the server during the current month, with a configurable automatic reset.
  • Secure Item Delivery: Configure direct delivery through the database (Direct) or through GM commands via Telnet.
  • Strong Security: CSRF protection, secure sessions, restricted subdirectories using .htaccess, external configuration through config.properties, and no external dependencies (Composer is not required).

 

 

How to Install

 

Installation is straightforward and designed to be accessible to anyone with basic technical knowledge:

 

  1. Upload the files to your web hosting.

  2. Configure your database connection details in config.properties.

  3. Import install.sql into your database (this creates the l2votesystem_* tables).

  4. Configure a Cron Job to run every minute.

  5. That's it!
     

Requirements:

 

PHP 8.1+, MySQL, Apache (with mod_rewrite).

 

 

Screenshots

 

wDh1IBM.png

 

YEc36Iz.png

 

gdpxHMz.png

 

e7IiQU4.png

 

gEBFWCq.png

 

t7FDmtU.png

 

9WFDlZr.png

 

Download and Source Code

 

The project is open source and available on GitLab, allowing everyone to review the code, use the system, or contribute improvements.

 

https://gitlab.com/L2JDevs/L2VoteSystem

 

If you find this project useful, please consider giving the repository a Star. It helps others discover the project and supports its continued development.[/i]

 

Feedback and Support

 

I have tried to keep the code as clean and maintainable as possible, but there is always room for new features, such as proper GTOP100 callbacks, a ranking system, Discord integration, and more.

 

If you have any suggestions, encounter a bug, or would like to contribute, feel free to reply to this thread or open an issue on GitLab.

 

I hope this system proves useful for your Lineage II servers!

Edited by u3games
Posted (edited)
8 hours ago, eMommy said:

2026 and using vote sites is kinda crazy especially when you buy 1k votes for 3$ lol

 

That only happens on corrupt server tops 😉

 

Even so, it's still a useful tool that I've shared with everyone.

Edited by u3games

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and 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..