L2JMobius

C6 Lineage 2 vote reward system - l2.topgameserver.net

l2.topgameserver.net · 21 · 9629

Offline l2.topgameserver.net

  • Heir
  • **
    • Posts: 10
    • Top Lineage 2 Servers
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 this code for l2jfrozen and l2jserver or for some popular open source package.


You can see the code in the following link:
aCis: https://pastebin.com/1Wq6GZPs
L2JServer  H5: https://pastebin.com/KVyPAZ0X

L2JFrozen 1.5 Interlude https://pastebin.com/GaAyMMT2
L2JMobius classic interlude https://pastebin.com/rJcPsbD4
L2JMobius Interlude https://pastebin.com/1HAX4UbN
l2jfrozen 1132 https://pastebin.com/YczLkpUp
L2jMobius High-Five https://pastebin.com/aYvSZVC8
L2Mythras (2017.07.12) https://pastebin.com/yTKnHpDD





Offline l2.topgameserver.net

  • Heir
  • **
    • Posts: 10
    • Top Lineage 2 Servers



Offline junin00

  • Black Sheep
  • Heir
  • **
    • Posts: 31
Hello beauty?
In the code for Interlude, I was adding it to my server, and I ended up noticing that in the file "Broadcast.java" in the path gameserver/util/
The imports are missing:

import org.l2jmobius.gameserver.enums.ChatType;
import org.l2jmobius.gameserver.network.serverpackets.CreatureSay;

---
And in the file "voteHandler.java" from the gameserver/votesystem/Handler/
An incompatibility is appearing:

http://www.mediafire.com/view/3bda5bpkzhqqiyw/voteHandler.png/file


Offline tevsko

  • Knight
  • ***
    • Posts: 96
    • L2Babylon
How strange, I do have them :o

Code: [Select]
+++ b/L2J_Mobius/java/org/l2jmobius/gameserver/util/Broadcast.java
@@ -17,11 +17,13 @@
 package org.l2jmobius.gameserver.util;
 
 import org.l2jmobius.gameserver.datatables.xml.ZoneData;
+import org.l2jmobius.gameserver.enums.ChatType;
 import org.l2jmobius.gameserver.model.World;
 import org.l2jmobius.gameserver.model.actor.Creature;
 import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
 import org.l2jmobius.gameserver.model.zone.ZoneType;
 import org.l2jmobius.gameserver.network.serverpackets.CharInfo;
+import org.l2jmobius.gameserver.network.serverpackets.CreatureSay;
 import org.l2jmobius.gameserver.network.serverpackets.GameServerPacket;
 import org.l2jmobius.gameserver.network.serverpackets.RelationChanged;





Online G-hamsteR

  • Viscount
  • *****
    • Posts: 326
Hello, which api should I use in hopzone? the one above or the one below?

https://ibb.co/Yhz1pTN

Use the first one. I think this scripts only checks the total votes and not individual votes.