Some time ago, I asked the developer of the system (nightw0lf) to adapt the system for RUSaCis. After some testing and debugging, the system is now almost 100% functional, except for l2jbrasil and l2network, for which I am waiting for responses from both tops' developers. A small modification needs to be made to the original code in VoteCMD.java for it to deliver the reward
Patch: https://pastebin.com/YJ0jSR0p
I hope it is useful
Patch: https://pastebin.com/YJ0jSR0p
java/hopzone/eu/command/VoteCMD.java:
diff --git java/hopzone/eu/command/VoteCMD.java java/hopzone/eu/command/VoteCMD.java
if (Random.get(100) < chance || chance >= 100)
{
// reward item
- player.addItem(TOPSITE, itemId, count, player, true);
+ player.addItem(itemId, count, true);
}
}