Jump to content

Recommended Posts

Posted (edited)

Hello everyone.

 

It's been long since I shared anything, but lately I've been getting tons of annoying pms, asking for fixes on my old vote reward system(the one I shared here like 2-3 years ago). The old system was working fine at first, but there have been many changes at vote sites the last years, so it ended up being out of date.

 

Anyway, this system is designed much better using an OOP approach in order to be easier to add more vote sites as well. The only thing you have to provide is the configs and the getVotes() method and you're ready. It's coded on one of aCis latest versions, can't remember the exact one.

 

(EDIT: The getVoteSystem() method is provided even if it's not needed, in case anyone wants to make an individual vote system so that he doesn't have to write the getVotes() method for each site again)

 

http://pastebin.com/ZtZhQw6q

Have fun.

Edited by An4rchy
  • Thanks 1
  • Upvote 6
Posted

i got 2 errors on the code (aCis 345 rev)

 

 

zv110BN.png

G1blM5c.png

 

 

 

1. Check import of StringUtil. Must be only this:

import net.sf.l2j.commons.lang.StringUtil; 

2. This addon based on latest aCis source code.

Collection<L2PcInstance> pls = L2World.getInstance().getAllPlayers().values();
Posted

 

1. Check import of StringUtil. Must be only this:

import net.sf.l2j.commons.lang.StringUtil; 

2. This addon based on latest aCis source code.

Collection<L2PcInstance> pls = L2World.getInstance().getAllPlayers().values();

first of all thanks for your fast reply :)

the 2nd error is fixed with your code

the first one i added import and i got this

dip7T2X.png

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



  • Posts

    • Server owners, Top.MaxCheaters.com is now live and accepting Lineage 2 server listings. There is no voting, no rankings manipulation, and no paid advantages. Visibility is clean and equal, and early listings naturally appear at the top while the platform grows. If your server is active, it should already be listed. Submit here  https://Top.MaxCheaters.com This platform is part of the MaxCheaters.com network and is being built as a long-term reference point for the Lineage 2 community. — MaxCheaters.com Team
    • 🔥 Lineage 2 Haruna x3 – Interlude 🔥   Grand Opening 06.02.2026  Welcome to L2 Haruna x3, a classic Interlude server focused on retail-like gameplay, fair competition, and long-term stability. No pay-to-win, no broken customs — just real Lineage 2 the way it was meant to be played.   Website: https://l2haruna.com/ Discord: https://discord.gg/7DDC9Dsxnh Chronicle: Interlude Rates:  EXP/SP: x3   Adena: x2   Drop/Spoil: x1   Seal Stones: x1   Boss EXP/SP: x2 More Info: Click me Server Time: UTC +2 📈 Core Gameplay • Classic Interlude mechanics & formulas • Balanced economy • Real PvP, clan wars, sieges, and Olympiad 🏆 Olympiad Information • Olympiad starts 3 months after server opening • Participation only through the Olympiad Master • Competition time: 20:00 – 02:00 (UTC +2) ⚙️ Website & Account System • Master Account (MA) system on website • Game accounts must be created via Master Account • Vote system inside MA • Website rankings: PvP, PK, Clans, Castles 🧙 NPCs, Buffs & Utilities • Server Manager NPC in all towns and villages • Adventurer’s Guide (Miss Queen) in all towns and villages • Offline Buff Shops (.buffshop) allowed only in Monster Derby Track • In-game Mailbox system • Start-Up Bonus for all characters • FREE Teleport in all towns/villages until level 40 🎮 Interface & Quality of Life • ALT + K – Skill Panel (learn and enchant skills) • Alt + Click – Buff removal • Shift + Click on monsters – Drop and spoil information • Offline Shop system (set shop and exit game) • 35 seconds spawn protection • Captcha system in game (anti-bot protection) 💬 Chat System • Global chat (!) – Free, requires level 15 • Trade chat (+) – Free, requires level 15 • (!) Global chat • (+) Regional trade chat 🛡 Fair Play & Restrictions • Maximum 2 game clients per IP • Donate Coins and Vote Coins cannot be sold, dropped, traded, or destroyed • Cursed weapons disabled until first Heroes • Wedding system disabled (will be activated later) ⚔️ Class Progression • 1st Class Transfer – Quest required • 2nd Class Transfer – Quest required • 3rd Class Transfer – Full quest required • Subclass – Full quest required • Noblesse – Full quest required   🗡 Equipment • Shadow Weapons (D / C / B Grade) available via Shadow Weapon Manager 🧠 Technical & Protection • High-quality geodata and geo-engine • Advanced protection against DDoS attacks • Protection against third-party programs and cheats   Join Us Now! https://l2haruna.com/ 
    • High Five Part 5 can be uploaded?
  • Topics

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