Author Topic: Interlude Lineage 2 vote reward system - l2.topgameserver.net  (Read 807 times)

Offline l2.topgameserver.net

  • Vassal
  • *
  • Posts: 5
    • Top Lineage 2 Servers
Lineage 2 vote reward system - l2.topgameserver.net
« on: May 11, 2020, 12:09:36 AM »
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

05/17/2020 - For people who have integrated the voting system, I have made some arrangements to the voting system, it is currently working correctly and stable, the changes are already applied to the sources.
http://www.mediafire.com/file/g6kag6pg5zu342h/patch_with_some_fiexes.txt/file
Visit l2.topgameserver.net to choose your favorite


Online tevsko

  • Knight
  • ***
  • Posts: 97
    • L2Babylon
Re: Lineage 2 vote reward system - l2.topgameserver.net
« Reply #1 on: May 11, 2020, 03:31:02 AM »
Interlude C6 :P

Offline l2.topgameserver.net

  • Vassal
  • *
  • Posts: 5
    • Top Lineage 2 Servers
Re: Lineage 2 vote reward system - l2.topgameserver.net
« Reply #2 on: May 11, 2020, 02:03:28 PM »
Interlude C6 :P

Now is available for l2jmobius interlude classic  ;D ;D
Visit l2.topgameserver.net to choose your favorite


Online tevsko

  • Knight
  • ***
  • Posts: 97
    • L2Babylon
Re: Lineage 2 vote reward system - l2.topgameserver.net
« Reply #3 on: May 12, 2020, 01:26:16 AM »
Perfect now I hope for interlude C6 not classic ;)

Offline l2.topgameserver.net

  • Vassal
  • *
  • Posts: 5
    • Top Lineage 2 Servers
Re: Lineage 2 vote reward system - l2.topgameserver.net
« Reply #4 on: May 13, 2020, 05:40:05 AM »
Update for L2JMobius Interlude https://pastebin.com/1HAX4UbN
Visit l2.topgameserver.net to choose your favorite


Offline ihearcolors

  • Knight
  • ***
  • Posts: 53
    • L2Interlude
Re: Lineage 2 vote reward system - l2.topgameserver.net
« Reply #5 on: May 13, 2020, 01:16:50 PM »

Offline l2.topgameserver.net

  • Vassal
  • *
  • Posts: 5
    • Top Lineage 2 Servers
Re: Lineage 2 vote reward system - l2.topgameserver.net
« Reply #6 on: May 17, 2020, 11:56:48 AM »
Fix
Visit l2.topgameserver.net to choose your favorite


Online junin00

  • Heir
  • **
  • Posts: 21
Re: Lineage 2 vote reward system - l2.topgameserver.net
« Reply #7 on: June 28, 2020, 10:52:58 PM »
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

Online tevsko

  • Knight
  • ***
  • Posts: 97
    • L2Babylon
Re: Lineage 2 vote reward system - l2.topgameserver.net
« Reply #8 on: June 29, 2020, 12:36:35 PM »
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;


Offline ruffle

  • Vassal
  • *
  • Posts: 9
Re: Lineage 2 vote reward system - l2.topgameserver.net
« Reply #10 on: June 30, 2020, 02:42:25 AM »
Ty champ

Offline FanaticoLineage2

  • Heir
  • **
  • Posts: 13
Re: Lineage 2 vote reward system - l2.topgameserver.net
« Reply #11 on: July 23, 2020, 06:15:44 PM »
Hello, which api should I use in hopzone? the one above or the one below?

https://ibb.co/Yhz1pTN

Online G-hamsteR

  • Elder
  • ****
  • Posts: 129
Re: Lineage 2 vote reward system - l2.topgameserver.net
« Reply #12 on: July 24, 2020, 01:04:03 PM »
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.