diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/config/Custom/VoteReward.ini b/L2J_Mobius_1.0_Ertheia/dist/game/config/Custom/VoteReward.ini index c9d6624225..1120f544bd 100644 --- a/L2J_Mobius_1.0_Ertheia/dist/game/config/Custom/VoteReward.ini +++ b/L2J_Mobius_1.0_Ertheia/dist/game/config/Custom/VoteReward.ini @@ -19,7 +19,7 @@ AllowNetworkGameServerReport = False # Vote reward for Topzone. AllowTopzoneVoteReward = False -# Vote reward server link. (IMPORTANT!!!! Always add .html at the end of the link) +# Vote reward server link. TopzoneServerLink = # Votes for next reward needed. TopzoneVotesDifference = 4 diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/votereward/Topzone.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/votereward/Topzone.java index c6053fd822..a80333aa13 100644 --- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/votereward/Topzone.java +++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/votereward/Topzone.java @@ -56,7 +56,7 @@ public class Topzone extends VoteSystem String line; while ((line = br.readLine()) != null) { - return Integer.parseInt(line); + return Integer.parseInt(line.split("fa-thumbs-up\">")[1].split("")[0]); } br.close(); diff --git a/L2J_Mobius_2.5_Underground/dist/game/config/Custom/VoteReward.ini b/L2J_Mobius_2.5_Underground/dist/game/config/Custom/VoteReward.ini index c9d6624225..1120f544bd 100644 --- a/L2J_Mobius_2.5_Underground/dist/game/config/Custom/VoteReward.ini +++ b/L2J_Mobius_2.5_Underground/dist/game/config/Custom/VoteReward.ini @@ -19,7 +19,7 @@ AllowNetworkGameServerReport = False # Vote reward for Topzone. AllowTopzoneVoteReward = False -# Vote reward server link. (IMPORTANT!!!! Always add .html at the end of the link) +# Vote reward server link. TopzoneServerLink = # Votes for next reward needed. TopzoneVotesDifference = 4 diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/votereward/Topzone.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/votereward/Topzone.java index c6053fd822..a80333aa13 100644 --- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/votereward/Topzone.java +++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/votereward/Topzone.java @@ -56,7 +56,7 @@ public class Topzone extends VoteSystem String line; while ((line = br.readLine()) != null) { - return Integer.parseInt(line); + return Integer.parseInt(line.split("fa-thumbs-up\">")[1].split("")[0]); } br.close(); diff --git a/L2J_Mobius_3.0_Helios/dist/game/config/Custom/VoteReward.ini b/L2J_Mobius_3.0_Helios/dist/game/config/Custom/VoteReward.ini index c9d6624225..1120f544bd 100644 --- a/L2J_Mobius_3.0_Helios/dist/game/config/Custom/VoteReward.ini +++ b/L2J_Mobius_3.0_Helios/dist/game/config/Custom/VoteReward.ini @@ -19,7 +19,7 @@ AllowNetworkGameServerReport = False # Vote reward for Topzone. AllowTopzoneVoteReward = False -# Vote reward server link. (IMPORTANT!!!! Always add .html at the end of the link) +# Vote reward server link. TopzoneServerLink = # Votes for next reward needed. TopzoneVotesDifference = 4 diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/votereward/Topzone.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/votereward/Topzone.java index c6053fd822..a80333aa13 100644 --- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/votereward/Topzone.java +++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/votereward/Topzone.java @@ -56,7 +56,7 @@ public class Topzone extends VoteSystem String line; while ((line = br.readLine()) != null) { - return Integer.parseInt(line); + return Integer.parseInt(line.split("fa-thumbs-up\">")[1].split("")[0]); } br.close(); diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/config/Custom/VoteReward.ini b/L2J_Mobius_4.0_GrandCrusade/dist/game/config/Custom/VoteReward.ini index c9d6624225..1120f544bd 100644 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/config/Custom/VoteReward.ini +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/config/Custom/VoteReward.ini @@ -19,7 +19,7 @@ AllowNetworkGameServerReport = False # Vote reward for Topzone. AllowTopzoneVoteReward = False -# Vote reward server link. (IMPORTANT!!!! Always add .html at the end of the link) +# Vote reward server link. TopzoneServerLink = # Votes for next reward needed. TopzoneVotesDifference = 4 diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/votereward/Topzone.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/votereward/Topzone.java index c6053fd822..a80333aa13 100644 --- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/votereward/Topzone.java +++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/votereward/Topzone.java @@ -56,7 +56,7 @@ public class Topzone extends VoteSystem String line; while ((line = br.readLine()) != null) { - return Integer.parseInt(line); + return Integer.parseInt(line.split("fa-thumbs-up\">")[1].split("")[0]); } br.close(); diff --git a/L2J_Mobius_5.0_Salvation/dist/game/config/Custom/VoteReward.ini b/L2J_Mobius_5.0_Salvation/dist/game/config/Custom/VoteReward.ini index c9d6624225..1120f544bd 100644 --- a/L2J_Mobius_5.0_Salvation/dist/game/config/Custom/VoteReward.ini +++ b/L2J_Mobius_5.0_Salvation/dist/game/config/Custom/VoteReward.ini @@ -19,7 +19,7 @@ AllowNetworkGameServerReport = False # Vote reward for Topzone. AllowTopzoneVoteReward = False -# Vote reward server link. (IMPORTANT!!!! Always add .html at the end of the link) +# Vote reward server link. TopzoneServerLink = # Votes for next reward needed. TopzoneVotesDifference = 4 diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/votereward/Topzone.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/votereward/Topzone.java index c6053fd822..a80333aa13 100644 --- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/votereward/Topzone.java +++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/votereward/Topzone.java @@ -56,7 +56,7 @@ public class Topzone extends VoteSystem String line; while ((line = br.readLine()) != null) { - return Integer.parseInt(line); + return Integer.parseInt(line.split("fa-thumbs-up\">")[1].split("")[0]); } br.close(); diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/config/Custom/VoteReward.ini b/L2J_Mobius_5.5_EtinasFate/dist/game/config/Custom/VoteReward.ini index c9d6624225..1120f544bd 100644 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/config/Custom/VoteReward.ini +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/config/Custom/VoteReward.ini @@ -19,7 +19,7 @@ AllowNetworkGameServerReport = False # Vote reward for Topzone. AllowTopzoneVoteReward = False -# Vote reward server link. (IMPORTANT!!!! Always add .html at the end of the link) +# Vote reward server link. TopzoneServerLink = # Votes for next reward needed. TopzoneVotesDifference = 4 diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/votereward/Topzone.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/votereward/Topzone.java index c6053fd822..a80333aa13 100644 --- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/votereward/Topzone.java +++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/votereward/Topzone.java @@ -56,7 +56,7 @@ public class Topzone extends VoteSystem String line; while ((line = br.readLine()) != null) { - return Integer.parseInt(line); + return Integer.parseInt(line.split("fa-thumbs-up\">")[1].split("")[0]); } br.close(); diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/config/Custom/VoteReward.ini b/L2J_Mobius_6.0_Fafurion/dist/game/config/Custom/VoteReward.ini index c9d6624225..1120f544bd 100644 --- a/L2J_Mobius_6.0_Fafurion/dist/game/config/Custom/VoteReward.ini +++ b/L2J_Mobius_6.0_Fafurion/dist/game/config/Custom/VoteReward.ini @@ -19,7 +19,7 @@ AllowNetworkGameServerReport = False # Vote reward for Topzone. AllowTopzoneVoteReward = False -# Vote reward server link. (IMPORTANT!!!! Always add .html at the end of the link) +# Vote reward server link. TopzoneServerLink = # Votes for next reward needed. TopzoneVotesDifference = 4 diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/votereward/Topzone.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/votereward/Topzone.java index c6053fd822..a80333aa13 100644 --- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/votereward/Topzone.java +++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/votereward/Topzone.java @@ -56,7 +56,7 @@ public class Topzone extends VoteSystem String line; while ((line = br.readLine()) != null) { - return Integer.parseInt(line); + return Integer.parseInt(line.split("fa-thumbs-up\">")[1].split("")[0]); } br.close(); diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/config/Custom/VoteReward.ini b/L2J_Mobius_7.0_PreludeOfWar/dist/game/config/Custom/VoteReward.ini index c9d6624225..1120f544bd 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/config/Custom/VoteReward.ini +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/config/Custom/VoteReward.ini @@ -19,7 +19,7 @@ AllowNetworkGameServerReport = False # Vote reward for Topzone. AllowTopzoneVoteReward = False -# Vote reward server link. (IMPORTANT!!!! Always add .html at the end of the link) +# Vote reward server link. TopzoneServerLink = # Votes for next reward needed. TopzoneVotesDifference = 4 diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/votereward/Topzone.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/votereward/Topzone.java index c6053fd822..a80333aa13 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/votereward/Topzone.java +++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/votereward/Topzone.java @@ -56,7 +56,7 @@ public class Topzone extends VoteSystem String line; while ((line = br.readLine()) != null) { - return Integer.parseInt(line); + return Integer.parseInt(line.split("fa-thumbs-up\">")[1].split("")[0]); } br.close(); diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/config/Custom/VoteReward.ini b/L2J_Mobius_CT_2.4_Epilogue/dist/game/config/Custom/VoteReward.ini index c9d6624225..1120f544bd 100644 --- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/config/Custom/VoteReward.ini +++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/config/Custom/VoteReward.ini @@ -19,7 +19,7 @@ AllowNetworkGameServerReport = False # Vote reward for Topzone. AllowTopzoneVoteReward = False -# Vote reward server link. (IMPORTANT!!!! Always add .html at the end of the link) +# Vote reward server link. TopzoneServerLink = # Votes for next reward needed. TopzoneVotesDifference = 4 diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/votereward/Topzone.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/votereward/Topzone.java index 3b2a0beaee..7c22efa2b3 100644 --- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/votereward/Topzone.java +++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/votereward/Topzone.java @@ -56,7 +56,7 @@ public class Topzone extends VoteSystem String line; while ((line = br.readLine()) != null) { - return Integer.parseInt(line); + return Integer.parseInt(line.split("fa-thumbs-up\">")[1].split("")[0]); } br.close(); diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/config/Custom/VoteReward.ini b/L2J_Mobius_CT_2.6_HighFive/dist/game/config/Custom/VoteReward.ini index c9d6624225..1120f544bd 100644 --- a/L2J_Mobius_CT_2.6_HighFive/dist/game/config/Custom/VoteReward.ini +++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/config/Custom/VoteReward.ini @@ -19,7 +19,7 @@ AllowNetworkGameServerReport = False # Vote reward for Topzone. AllowTopzoneVoteReward = False -# Vote reward server link. (IMPORTANT!!!! Always add .html at the end of the link) +# Vote reward server link. TopzoneServerLink = # Votes for next reward needed. TopzoneVotesDifference = 4 diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/votereward/Topzone.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/votereward/Topzone.java index 3b2a0beaee..7c22efa2b3 100644 --- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/votereward/Topzone.java +++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/votereward/Topzone.java @@ -56,7 +56,7 @@ public class Topzone extends VoteSystem String line; while ((line = br.readLine()) != null) { - return Integer.parseInt(line); + return Integer.parseInt(line.split("fa-thumbs-up\">")[1].split("")[0]); } br.close(); diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/config/Custom/VoteReward.ini b/L2J_Mobius_Classic_2.0_Saviors/dist/game/config/Custom/VoteReward.ini index c9d6624225..1120f544bd 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/config/Custom/VoteReward.ini +++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/config/Custom/VoteReward.ini @@ -19,7 +19,7 @@ AllowNetworkGameServerReport = False # Vote reward for Topzone. AllowTopzoneVoteReward = False -# Vote reward server link. (IMPORTANT!!!! Always add .html at the end of the link) +# Vote reward server link. TopzoneServerLink = # Votes for next reward needed. TopzoneVotesDifference = 4 diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/votereward/Topzone.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/votereward/Topzone.java index c6053fd822..a80333aa13 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/votereward/Topzone.java +++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/votereward/Topzone.java @@ -56,7 +56,7 @@ public class Topzone extends VoteSystem String line; while ((line = br.readLine()) != null) { - return Integer.parseInt(line); + return Integer.parseInt(line.split("fa-thumbs-up\">")[1].split("")[0]); } br.close(); diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/config/Custom/VoteReward.ini b/L2J_Mobius_Classic_2.1_Zaken/dist/game/config/Custom/VoteReward.ini index c9d6624225..1120f544bd 100644 --- a/L2J_Mobius_Classic_2.1_Zaken/dist/game/config/Custom/VoteReward.ini +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/config/Custom/VoteReward.ini @@ -19,7 +19,7 @@ AllowNetworkGameServerReport = False # Vote reward for Topzone. AllowTopzoneVoteReward = False -# Vote reward server link. (IMPORTANT!!!! Always add .html at the end of the link) +# Vote reward server link. TopzoneServerLink = # Votes for next reward needed. TopzoneVotesDifference = 4 diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/votereward/Topzone.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/votereward/Topzone.java index c6053fd822..a80333aa13 100644 --- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/votereward/Topzone.java +++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/votereward/Topzone.java @@ -56,7 +56,7 @@ public class Topzone extends VoteSystem String line; while ((line = br.readLine()) != null) { - return Integer.parseInt(line); + return Integer.parseInt(line.split("fa-thumbs-up\">")[1].split("")[0]); } br.close(); diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/config/Custom/VoteReward.ini b/L2J_Mobius_Classic_2.2_Antharas/dist/game/config/Custom/VoteReward.ini index c9d6624225..1120f544bd 100644 --- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/config/Custom/VoteReward.ini +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/config/Custom/VoteReward.ini @@ -19,7 +19,7 @@ AllowNetworkGameServerReport = False # Vote reward for Topzone. AllowTopzoneVoteReward = False -# Vote reward server link. (IMPORTANT!!!! Always add .html at the end of the link) +# Vote reward server link. TopzoneServerLink = # Votes for next reward needed. TopzoneVotesDifference = 4 diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/votereward/Topzone.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/votereward/Topzone.java index c6053fd822..a80333aa13 100644 --- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/votereward/Topzone.java +++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/votereward/Topzone.java @@ -56,7 +56,7 @@ public class Topzone extends VoteSystem String line; while ((line = br.readLine()) != null) { - return Integer.parseInt(line); + return Integer.parseInt(line.split("fa-thumbs-up\">")[1].split("")[0]); } br.close(); diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/config/Custom/VoteReward.ini b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/config/Custom/VoteReward.ini index c9d6624225..1120f544bd 100644 --- a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/config/Custom/VoteReward.ini +++ b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/config/Custom/VoteReward.ini @@ -19,7 +19,7 @@ AllowNetworkGameServerReport = False # Vote reward for Topzone. AllowTopzoneVoteReward = False -# Vote reward server link. (IMPORTANT!!!! Always add .html at the end of the link) +# Vote reward server link. TopzoneServerLink = # Votes for next reward needed. TopzoneVotesDifference = 4 diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/votereward/Topzone.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/votereward/Topzone.java index c6053fd822..a80333aa13 100644 --- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/votereward/Topzone.java +++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/votereward/Topzone.java @@ -56,7 +56,7 @@ public class Topzone extends VoteSystem String line; while ((line = br.readLine()) != null) { - return Integer.parseInt(line); + return Integer.parseInt(line.split("fa-thumbs-up\">")[1].split("")[0]); } br.close(); diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/config/Custom/VoteReward.ini b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/config/Custom/VoteReward.ini index c9d6624225..1120f544bd 100644 --- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/config/Custom/VoteReward.ini +++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/config/Custom/VoteReward.ini @@ -19,7 +19,7 @@ AllowNetworkGameServerReport = False # Vote reward for Topzone. AllowTopzoneVoteReward = False -# Vote reward server link. (IMPORTANT!!!! Always add .html at the end of the link) +# Vote reward server link. TopzoneServerLink = # Votes for next reward needed. TopzoneVotesDifference = 4 diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/votereward/Topzone.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/votereward/Topzone.java index c6053fd822..a80333aa13 100644 --- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/votereward/Topzone.java +++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/votereward/Topzone.java @@ -56,7 +56,7 @@ public class Topzone extends VoteSystem String line; while ((line = br.readLine()) != null) { - return Integer.parseInt(line); + return Integer.parseInt(line.split("fa-thumbs-up\">")[1].split("")[0]); } br.close(); diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/config/Custom/VoteReward.ini b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/config/Custom/VoteReward.ini index c9d6624225..1120f544bd 100644 --- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/config/Custom/VoteReward.ini +++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/config/Custom/VoteReward.ini @@ -19,7 +19,7 @@ AllowNetworkGameServerReport = False # Vote reward for Topzone. AllowTopzoneVoteReward = False -# Vote reward server link. (IMPORTANT!!!! Always add .html at the end of the link) +# Vote reward server link. TopzoneServerLink = # Votes for next reward needed. TopzoneVotesDifference = 4 diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/votereward/Topzone.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/votereward/Topzone.java index c6053fd822..a80333aa13 100644 --- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/votereward/Topzone.java +++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/votereward/Topzone.java @@ -56,7 +56,7 @@ public class Topzone extends VoteSystem String line; while ((line = br.readLine()) != null) { - return Integer.parseInt(line); + return Integer.parseInt(line.split("fa-thumbs-up\">")[1].split("")[0]); } br.close(); diff --git a/L2J_Mobius_Classic_Interlude/dist/game/config/Custom/VoteReward.ini b/L2J_Mobius_Classic_Interlude/dist/game/config/Custom/VoteReward.ini index c9d6624225..1120f544bd 100644 --- a/L2J_Mobius_Classic_Interlude/dist/game/config/Custom/VoteReward.ini +++ b/L2J_Mobius_Classic_Interlude/dist/game/config/Custom/VoteReward.ini @@ -19,7 +19,7 @@ AllowNetworkGameServerReport = False # Vote reward for Topzone. AllowTopzoneVoteReward = False -# Vote reward server link. (IMPORTANT!!!! Always add .html at the end of the link) +# Vote reward server link. TopzoneServerLink = # Votes for next reward needed. TopzoneVotesDifference = 4 diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/votereward/Topzone.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/votereward/Topzone.java index c6053fd822..a80333aa13 100644 --- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/votereward/Topzone.java +++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/votereward/Topzone.java @@ -56,7 +56,7 @@ public class Topzone extends VoteSystem String line; while ((line = br.readLine()) != null) { - return Integer.parseInt(line); + return Integer.parseInt(line.split("fa-thumbs-up\">")[1].split("")[0]); } br.close();