Jump to content
  • 0

Hopzone Topzone Problem!


Question

Posted

can you help me with hopzone/topzone problem reward

 

so hopzone announce in game work but not give reward

and topzone announce in game not work and in gameserver give thi error :(

 

i have l2jextreme pack source l2acis but not up to date

 

http://postimg.org/image/572k56ta7/

13 answers to this question

Recommended Posts

  • 0
Posted

can you help me with hopzone/topzone problem reward

 

so hopzone announce in game work but not give reward

and topzone announce in game not work and in gameserver give thi error :(

 

i have l2jextreme pack source l2acis but not up to date

 

http://postimg.org/image/572k56ta7/

I have fixed this one for anarchys vote system..
  • 0
Posted

any help cuz don't work ..look at my java file 

/*
 * This program is free software: you can redistribute it and/or modify it under
 * the terms of the GNU General Public License as published by the Free Software
 * Foundation, either version 3 of the License, or (at your option) any later
 * version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
 * details.
 *
 * You should have received a copy of the GNU General Public License along with
 * this program. If not, see <http://www.gnu.org/licenses/>.
 */
package Extensions.AutoVoteReward;
 
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;
import java.util.Collection;
import java.util.HashMap;
 
import net.sf.l2j.Config;
import net.sf.l2j.gameserver.Announcements;
import net.sf.l2j.gameserver.ThreadPoolManager;
import net.sf.l2j.gameserver.model.L2World;
import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
/**
 * @author Anarchy
 *
 */
public class VoteRewardHopzone
{
       // Configurations.
       private static String hopzoneUrl = Config.HOPZONE_SERVER_LINK;
       private static String page1Url = Config.HOPZONE_FIRST_PAGE_LINK;
       private static int voteRewardVotesDifference = Config.HOPZONE_VOTES_DIFFERENCE;
       private static int firstPageRankNeeded = Config.HOPZONE_FIRST_PAGE_RANK_NEEDED;
       private static int checkTime = 60*1000*Config.HOPZONE_REWARD_CHECK_TIME;
      
       // Don't-touch variables.
       private static int lastVotes = 0;
       private static HashMap<String, Integer> playerIps = new HashMap<>();
      
       public static void updateConfigurations()
       {
               hopzoneUrl = Config.HOPZONE_SERVER_LINK;
               page1Url = Config.HOPZONE_FIRST_PAGE_LINK;
               voteRewardVotesDifference = Config.HOPZONE_VOTES_DIFFERENCE;
               firstPageRankNeeded = Config.HOPZONE_FIRST_PAGE_RANK_NEEDED;
               checkTime = 60*1000*Config.HOPZONE_REWARD_CHECK_TIME;
       }
      
       public static void getInstance()
       {
               System.out.println("Hopzone - Vote reward system initialized.");
               ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new Runnable()
               {
                       @Override
                       public void run()
                       {
                               if (Config.ALLOW_HOPZONE_VOTE_REWARD)
                               {
                                       reward();
                               }
                               else
                               {
                                       return;
                               }
                       }
               }, checkTime/2, checkTime);
       }
      
       static void reward()
       {
               int firstPageVotes = getFirstPageRankVotes();
               int currentVotes = getVotes();
              
               if (firstPageVotes == -1 || currentVotes == -1)
               {
                       if (firstPageVotes == -1)
                       {
                               System.out.println("There was a problem on getting Hopzone votes from server with rank "+firstPageRankNeeded+".");
                       }
                       if (currentVotes == -1)
                       {
                               System.out.println("There was a problem on getting Hopzone server votes.");
                       }
                      
                       return;
               }
              
               if (lastVotes == 0)
               {
                       lastVotes = currentVotes;
                       Announcements.announceToAll("Hopzone: Vote count is "+currentVotes+".");
                       Announcements.announceToAll("Hopzone: We need "+((lastVotes+voteRewardVotesDifference)-currentVotes)+" vote(s) for reward.");
                       if (Config.ALLOW_HOPZONE_GAME_SERVER_REPORT)
                       {
                               System.out.println("Server votes on hopzone: "+currentVotes);
                               System.out.println("Votes needed for reward: "+((lastVotes+voteRewardVotesDifference)-currentVotes));
                       }
                       if (firstPageVotes-lastVotes <= 0)
                       {
                               Announcements.announceToAll("Hopzone: We are in the top "+firstPageRankNeeded+", so the reward will be big.");
                               if (Config.ALLOW_HOPZONE_GAME_SERVER_REPORT)
                               {
                                       System.out.println("Server is on the top "+firstPageRankNeeded+" of hopzone.");
                               }
                       }
                       else
                       {
                               Announcements.announceToAll("Hopzone: We need "+(firstPageVotes-lastVotes)+" vote(s) to get to the top "+firstPageRankNeeded+" of Hopzone for big reward.");
                               if (Config.ALLOW_HOPZONE_GAME_SERVER_REPORT)
                               {
                                       System.out.println("Server votes needed for top "+firstPageRankNeeded+": "+(firstPageVotes-lastVotes));
                               }
                       }
                       return;
               }
              
               if (currentVotes >= lastVotes+voteRewardVotesDifference)
               {
                       Collection<L2PcInstance> pls = L2World.getInstance().getAllPlayers().values();
                       if (firstPageVotes-currentVotes <= 0)
                       {
                               if (Config.ALLOW_HOPZONE_GAME_SERVER_REPORT)
                               {
                                       System.out.println("Server votes on hopzone: "+currentVotes);
                                       System.out.println("Server is on the first page of hopzone.");
                                       System.out.println("Votes needed for next reward: "+((currentVotes+voteRewardVotesDifference)-currentVotes));
                               }
                               Announcements.announceToAll("Hopzone: Everyone has been rewarded with big reward.");
                               Announcements.announceToAll("Hopzone: Current vote count is "+currentVotes+".");
                               for (L2PcInstance p : pls)
                               {
                                       boolean canReward = false;
                                       String pIp = p.getClient().getConnection().getInetAddress().getHostAddress();
                                       if (playerIps.containsKey(pIp))
                                       {
                                               int count = playerIps.get(pIp);
                                               if (count < Config.HOPZONE_DUALBOXES_ALLOWED)
                                               {
                                                       playerIps.remove(pIp);
                                                       playerIps.put(pIp, count+1);
                                                       canReward = true;
                                               }
                                       }
                                       else
                                       {
                                               canReward = true;
                                               playerIps.put(pIp, 1);
                                       }
                                       if (canReward)
                                       {
                                               for (int i = 0; i < Config.HOPZONE_BIG_REWARD.length; i++)
                                               {
                                                       p.addItem("Vote reward.", Config.HOPZONE_BIG_REWARD[i][0], Config.HOPZONE_BIG_REWARD[i][1], p, true);
                                               }
                                       }
                                       else
                                       {
                                               p.sendMessage("Already "+Config.HOPZONE_DUALBOXES_ALLOWED+" character(s) of your ip have been rewarded, so this character won't be rewarded.");
                                       }
                               }
                               playerIps.clear();
                       }
                       else
                       {
                               if (Config.ALLOW_HOPZONE_GAME_SERVER_REPORT)
                               {
                                       System.out.println("Server votes on hopzone: "+currentVotes);
                                       System.out.println("Server votes needed for first page: "+(firstPageVotes-lastVotes));
                                       System.out.println("Votes needed for next reward: "+((currentVotes+voteRewardVotesDifference)-currentVotes));
                               }
                               Announcements.announceToAll("Hopzone: Everyone has been rewarded with small reward.");
                               Announcements.announceToAll("Hopzone: Current vote count is "+currentVotes+".");
                               Announcements.announceToAll("Hopzone: We need "+(firstPageVotes-currentVotes)+" vote(s) to get to the top "+firstPageRankNeeded+" of Hopzone for big reward.");
                               for (L2PcInstance p : pls)
                               {
                                       boolean canReward = false;
                                       String pIp = p.getClient().getConnection().getInetAddress().getHostAddress();
                                       if (playerIps.containsKey(pIp))
                                       {
                                               int count = playerIps.get(pIp);
                                               if (count < Config.HOPZONE_DUALBOXES_ALLOWED)
                                               {
                                                       playerIps.remove(pIp);
                                                       playerIps.put(pIp, count+1);
                                                       canReward = true;
                                               }
                                       }
                                       else
                                       {
                                               canReward = true;
                                               playerIps.put(pIp, 1);
                                       }
                                       if (canReward)
                                       {
                                               for (int i = 0; i < Config.HOPZONE_SMALL_REWARD.length; i++)
                                               {
                                                       p.addItem("Vote reward.", Config.HOPZONE_SMALL_REWARD[i][0], Config.HOPZONE_SMALL_REWARD[i][1], p, true);
                                               }
                                       }
                                       else
                                       {
                                               p.sendMessage("Already "+Config.HOPZONE_DUALBOXES_ALLOWED+" character(s) of your ip have been rewarded, so this character won't be rewarded.");
                                       }
                               }
                               playerIps.clear();
                       }
                      
                       lastVotes = currentVotes;
               }
               else
               {
                       if (firstPageVotes-currentVotes <= 0)
                       {
                               if (Config.ALLOW_HOPZONE_GAME_SERVER_REPORT)
                               {
                                       System.out.println("Server votes on hopzone: "+currentVotes);
                                       System.out.println("Server is on the first page of hopzone.");
                                       System.out.println("Votes needed for next reward: "+((lastVotes+voteRewardVotesDifference)-currentVotes));
                               }
                               Announcements.announceToAll("Hopzone: Current vote count is "+currentVotes+".");
                               Announcements.announceToAll("Hopzone: We need "+((lastVotes+voteRewardVotesDifference)-currentVotes)+" vote(s) for big reward.");
                       }
                       else
                       {
                               if (Config.ALLOW_HOPZONE_GAME_SERVER_REPORT)
                               {
                                       System.out.println("Server votes on hopzone: "+currentVotes);
                                       System.out.println("Server votes needed for first page: "+(firstPageVotes-lastVotes));
                                       System.out.println("Votes needed for next reward: "+((lastVotes+voteRewardVotesDifference)-currentVotes));
                               }
                               Announcements.announceToAll("Hopzone: Current vote count is "+currentVotes+".");
                               Announcements.announceToAll("Hopzone: We need "+((lastVotes+voteRewardVotesDifference)-currentVotes)+" vote(s) for small reward.");
                               Announcements.announceToAll("Hopzone: We need "+(firstPageVotes-currentVotes)+" vote(s) to get to the top "+firstPageRankNeeded+" of Hopzone for big reward.");
                       }
               }
       }
      
       private static int getFirstPageRankVotes()
       {
               InputStreamReader isr = null;
               BufferedReader br = null;
              
               try
               {
                       URLConnection con = new URL(page1Url).openConnection();
                       con.addRequestProperty("User-Agent", "Mozilla/4.76");
                       isr = new InputStreamReader(con.getInputStream());
                       br = new BufferedReader(isr);
                      
                       String line;
                       int i = 0;
                       while ((line = br.readLine()) != null)
                       {
                               if (line.contains("<span class=\"no\">"+firstPageRankNeeded+"</span>"))
                               {
                                       i++;
                               }
                               if (line.contains("<span class=\"rank anonymous tooltip\"") && i == 1)
                               {
                                       i = 0;
                                       int votes = Integer.valueOf(line.replaceAll("[^\\d]", ""));
                                       return votes;
                               }
                       }
                      
                       br.close();
                       isr.close();
               }
               catch (Exception e)
               {
                       System.out.println(e);
                       System.out.println("Error while getting Hopzone server vote count.");
               }
              
               return -1;
       }
      
       private static int getVotes()
       {
               InputStreamReader isr = null;
               BufferedReader br = null;
              
               try
               {
                       URLConnection con = new URL(hopzoneUrl).openConnection();
                       con.addRequestProperty("User-Agent", "Mozilla/4.76");
                       isr = new InputStreamReader(con.getInputStream());
                       br = new BufferedReader(isr);
                      
                       String line;
                       while ((line = br.readLine()) != null)
                       {
                               if (line.contains("<li><span class=\"rank anonymous tooltip\""))
                               {
                                       int votes = Integer.valueOf(line.replaceAll("[^\\d]", ""));
                                       return votes;
                               }
                       }
                      
                       br.close();
                       isr.close();
               }
               catch (Exception e)
               {
                       System.out.println(e);
                       System.out.println("Error while getting server vote count.");
               }
              
               return -1;
       }
}

and 

package Extensions.AutoVoteReward;

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;
import java.util.Collection;
import java.util.HashMap;

import net.sf.l2j.Config;
import net.sf.l2j.gameserver.Announcements;
import net.sf.l2j.gameserver.ThreadPoolManager;
import net.sf.l2j.gameserver.model.L2World;
import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
/**
+ * @author Anarchy
+ *
+ */
public class VoteRewardTopzone
{
       // Configurations.
       private static String topzoneUrl = Config.TOPZONE_SERVER_LINK;
       private static String page1Url = Config.TOPZONE_FIRST_PAGE_LINK;
       private static int voteRewardVotesDifference = Config.TOPZONE_VOTES_DIFFERENCE;
       private static int firstPageRankNeeded = Config.TOPZONE_FIRST_PAGE_RANK_NEEDED;
       private static int checkTime = 60*1000*Config.TOPZONE_REWARD_CHECK_TIME;
     
       // Don't-touch variables.
       private static int lastVotes = 0;
       private static HashMap<String, Integer> playerIps = new HashMap<>();
      
       public static void updateConfigurations()
       {
               topzoneUrl = Config.TOPZONE_SERVER_LINK;
               page1Url = Config.TOPZONE_FIRST_PAGE_LINK;
               voteRewardVotesDifference = Config.TOPZONE_VOTES_DIFFERENCE;
               firstPageRankNeeded = Config.TOPZONE_FIRST_PAGE_RANK_NEEDED;
               checkTime = 60*1000*Config.TOPZONE_REWARD_CHECK_TIME;
       }
      
       public static void getInstance()
       {
               System.out.println("Topzone - Vote reward system initialized.");
               ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new Runnable()
               {
                       @Override
                       public void run()
                       {
                               if (Config.ALLOW_TOPZONE_VOTE_REWARD)
                               {
                                       reward();
                               }
                               else
                               {
                                       return;
                               }
                       }
               }, checkTime/2, checkTime);
       }
     
       static void reward()
       {
               int firstPageVotes = getFirstPageRankVotes();
               int currentVotes = getVotes();
              
               if (firstPageVotes == -1 || currentVotes == -1)
               {
                       if (firstPageVotes == -1)
                       {
                               System.out.println("There was a problem on getting Topzone votes from server with rank "+firstPageRankNeeded+".");
                       }
                       if (currentVotes == -1)
                       {
                               System.out.println("There was a problem on getting Topzone server votes.");
                       }
                      
                      return;
               }
              
               if (lastVotes == 0)
               {
                       lastVotes = currentVotes;
                       Announcements.announceToAll("Topzone: Current vote count is "+currentVotes+".");
                       Announcements.announceToAll("Topzone: We need "+((lastVotes+voteRewardVotesDifference)-currentVotes)+" vote(s) for reward.");
                       if (Config.ALLOW_TOPZONE_GAME_SERVER_REPORT)
                       {
                               System.out.println("Server votes on topzone: "+currentVotes);
                               System.out.println("Votes needed for reward: "+((lastVotes+voteRewardVotesDifference)-currentVotes));
                       }
                       if (firstPageVotes-lastVotes <= 0)
                       {
                               Announcements.announceToAll("Topzone: We are in the top "+firstPageRankNeeded+" of topzone, so the reward will be big.");
                               if (Config.ALLOW_TOPZONE_GAME_SERVER_REPORT)
                               {
                                       System.out.println("Server is on the top "+firstPageRankNeeded+" of topzone.");
                               }
                       }
                       else
                       {
                               Announcements.announceToAll("Topzone: We need "+(firstPageVotes-lastVotes)+" vote(s) to get to the top "+firstPageRankNeeded+" of topzone for big reward.");
                               if (Config.ALLOW_TOPZONE_GAME_SERVER_REPORT)
                               {
                                       System.out.println("Server votes needed for top "+firstPageRankNeeded+": "+(firstPageVotes-lastVotes));
                              }
                       }
                       return;
               }
              
               if (currentVotes >= lastVotes+voteRewardVotesDifference)
               {
                       Collection<L2PcInstance> pls = L2World.getInstance().getAllPlayers().values();
                       if (firstPageVotes-currentVotes <= 0)
                       {
                               if (Config.ALLOW_TOPZONE_GAME_SERVER_REPORT)
                               {
                                       System.out.println("Server votes on topzone: "+currentVotes);
                                       System.out.println("Server is on the top "+firstPageRankNeeded+" of topzone.");
                                       System.out.println("Votes needed for next reward: "+((currentVotes+voteRewardVotesDifference)-currentVotes));
                               }
                               Announcements.announceToAll("Topzone: Everyone has been rewarded with big reward.");
                               Announcements.announceToAll("Topzone: Current vote count is "+currentVotes+".");
                               for (L2PcInstance p : pls)
                               {
                                      boolean canReward = false;
                                       String pIp = p.getClient().getConnection().getInetAddress().getHostAddress();
                                       if (playerIps.containsKey(pIp))
                                       {
                                               int count = playerIps.get(pIp);
                                               if (count < Config.TOPZONE_DUALBOXES_ALLOWED)
                                               {
                                                       playerIps.remove(pIp);
                                                       playerIps.put(pIp, count+1);
                                                       canReward = true;
                                               }
                                       }
                                       else
                                       {
                                               canReward = true;
                                               playerIps.put(pIp, 1);
                                       }
                                       if (canReward)
                                       {
                                               for (int i = 0; i < Config.TOPZONE_BIG_REWARD.length; i++)
                                               {
                                                       p.addItem("Vote reward.", Config.TOPZONE_BIG_REWARD[i][0], Config.TOPZONE_BIG_REWARD[i][1], p, true);
                                              }
                                       }
                                       else
                                       {
                                               p.sendMessage("Already "+Config.TOPZONE_DUALBOXES_ALLOWED+" character(s) of your ip have been rewarded, so this character won't be rewarded.");
                                       }
                               }
                               playerIps.clear();
                       }
                       else
                       {
                               if (Config.ALLOW_TOPZONE_GAME_SERVER_REPORT)
                              {
                                       System.out.println("Server votes on topzone: "+currentVotes);
                                       System.out.println("Server votes needed for top "+firstPageRankNeeded+": "+(firstPageVotes-lastVotes));
                                       System.out.println("Votes needed for next reward: "+((currentVotes+voteRewardVotesDifference)-currentVotes));
                              }
                               Announcements.announceToAll("Topzone: Everyone has been rewarded with small reward.");
                               Announcements.announceToAll("Topzone: Current vote count is "+currentVotes+".");
                               Announcements.announceToAll("Topzone: We need "+(firstPageVotes-currentVotes)+" vote(s) to get to the top "+firstPageRankNeeded+" of topzone for big reward.");
                               for (L2PcInstance p : pls)
                               {
                                       boolean canReward = false;
                                       String pIp = p.getClient().getConnection().getInetAddress().getHostAddress();
                                       if (playerIps.containsKey(pIp))
                                       {
                                               int count = playerIps.get(pIp);
                                               if (count < Config.TOPZONE_DUALBOXES_ALLOWED)
                                               {
                                                       playerIps.remove(pIp);
                                                       playerIps.put(pIp, count+1);
                                                       canReward = true;
                                               }
                                       }
                                       else
                                       {
                                               canReward = true;
                                               playerIps.put(pIp, 1);
                                       }
                                       if (canReward)
                                       {
                                               for (int i = 0; i < Config.TOPZONE_SMALL_REWARD.length; i++)
                                               {
                                                       p.addItem("Vote reward.", Config.TOPZONE_SMALL_REWARD[i][0], Config.TOPZONE_SMALL_REWARD[i][1], p, true);
                                               }
                                       }
                                       else
                                       {
                                               p.sendMessage("Already "+Config.TOPZONE_DUALBOXES_ALLOWED+" character(s) of your ip have been rewarded, so this character won't be rewarded.");
                                       }
                               }
                               playerIps.clear();
                       }
                      
                       lastVotes = currentVotes;
               }
               else
               {
                       if (firstPageVotes-currentVotes <= 0)
                       {
                               if (Config.ALLOW_TOPZONE_GAME_SERVER_REPORT)
                               {
                                       System.out.println("Server votes on topzone: "+currentVotes);
                                       System.out.println("Server is on the top "+firstPageRankNeeded+" of topzone.");
                                       System.out.println("Votes needed for next reward: "+((lastVotes+voteRewardVotesDifference)-currentVotes));
                               }
                               Announcements.announceToAll("Topzone: Current vote count is "+currentVotes+".");
                               Announcements.announceToAll("Topzone: We need "+((lastVotes+voteRewardVotesDifference)-currentVotes)+" vote(s) for big reward.");
                       }
                       else
                       {
                               if (Config.ALLOW_TOPZONE_GAME_SERVER_REPORT)
                               {
                                       System.out.println("Server votes on topzone: "+currentVotes);
                                       System.out.println("Server votes needed for top "+firstPageRankNeeded+": "+(firstPageVotes-lastVotes));
                                       System.out.println("Votes needed for next reward: "+((lastVotes+voteRewardVotesDifference)-currentVotes));
                               }
                               Announcements.announceToAll("Topzone: Current vote count is "+currentVotes+".");
                               Announcements.announceToAll("Topzone: We need "+((lastVotes+voteRewardVotesDifference)-currentVotes)+" vote(s) for small reward.");
                               Announcements.announceToAll("Topzone: We need "+(firstPageVotes-currentVotes)+" vote(s) to get to the top "+firstPageRankNeeded+" of topzone for big reward.");
                       }
               }
       }
      
       private static int getFirstPageRankVotes()
       {
               InputStreamReader isr = null;
               BufferedReader br = null;
              
               try
               {
                       URLConnection con = new URL(page1Url).openConnection();
                       con.addRequestProperty("User-Agent", "Mozilla/4.76");
                       isr = new InputStreamReader(con.getInputStream());
                       br = new BufferedReader(isr);
                     
                       String line;
                       while ((line = br.readLine()) != null)
                       {
                               if (line.contains("<div class=\"slr\">"+firstPageRankNeeded+"<div class=\"votes\">Votes:<br><span>"))
                               {
                                       int votes = Integer.valueOf(line.split("<div class=\"slr\">"+firstPageRankNeeded+"<div class=\"votes\">Votes:<br><span>")[1].replace("</span></div></div>", ""));
                                       return votes;
                               }
                       }
                      
                       br.close();
                       isr.close();
               }
               catch (Exception e)
               {
                       System.out.println(e);
                       System.out.println("Error while getting Hopzone server vote count.");
               }
              
               return -1;
       }
             
       private static int getVotes()
       {
               InputStreamReader isr = null;
               BufferedReader br = null;
              
               try
               {
                       URLConnection con = new URL(topzoneUrl).openConnection();
                       con.addRequestProperty("User-Agent", "Mozilla/4.76");
                       isr = new InputStreamReader(con.getInputStream());
                       br = new BufferedReader(isr);
                      
                       boolean got = false;
                      
                       String line;
                       while ((line = br.readLine()) != null)
                       {
                               if (line.contains("<div class=\"rank\"><div class=\"votes2\">Votes:<br>") && !got)
                               {
                                       got = true;
                                       int votes = Integer.valueOf(line.split("<div class=\"rank\"><div class=\"votes2\">Votes:<br>")[1].replace("</div></div>", ""));
                                      return votes;
                              }
                      }
                     
                       br.close();
                       isr.close();
               }
               catch (Exception e)
               {
                       System.out.println(e);
                       System.out.println("Error while getting server vote count.");
               }
              
               return -1;
       }
}
  • 0
Posted

you can send me our configs? i want to see the topzone / hopzone URL

# Vote reward for Hopzone.
AllowHopzoneVoteReward = True
# Vote reward server link.
HopzoneServerLink = http://l2.topzone.net/lineage2/details/74078/L2World-Servers/'>http://l2.topzone.net/lineage2/details/74078/L2World-Servers/
# First page of servers list link.
HopzoneFirstPageLink = http://l2.hopzone.net/lineage2/
# Votes for next reward needed.
HopzoneVotesDifference = 5
# Rank needed for server to be on first page.
HopzoneFirstPageRankNeeded = 15
# Minutes between rewards.
# Eg. You put 5 it checks every 5 minutes for reward.
HopzoneRewardCheckTime = 5
# Small reward(s).
HopzoneSmallReward = 57,100000000;
# Big reward(s).
HopzoneBigReward = 3470,1;
# Hopzone reward max dual boxes reward.
# For example if you put 2 and someone has 3 boxes open 2 will be rewarded.
HopzoneDuaboxesAllowed = 1
# Game server console report.
# If set to true, game server console will get a report of
# current vote count, votes needed for next reward and votes needed for first page.
AllowHopzoneGameServerReport = True

# Vote reward for Topzone.
AllowTopzoneVoteReward = True
# Vote reward server link.
TopzoneServerLink = http://l2.topzone.net/lineage2/details/74078/L2World-Servers/'>http://l2.topzone.net/lineage2/details/74078/L2World-Servers/
# First page of servers list link.
TopzoneFirstPageLink = http://l2.topzone.net/lineage2/
# Votes for next reward needed.
TopzoneVotesDifference = 5
# Rank needed for server to be on first page.
TopzoneFirstPageRankNeeded = 15
# Minutes between rewards.
# Eg. You put 5 it checks every 5 minutes for reward.
TopzoneRewardCheckTime = 5
# Small reward(s).
TopzoneSmallReward = 57,100000000;
# Big reward(s).
TopzoneBigReward = 3470,1;
# Hopzone reward max dual boxes reward.
# For example if you put 2 and someone has 3 boxes open 2 will be rewarded.
TopzoneDuaboxesAllowed = 1
# Game server console report.
# If set to true, game server console will get a report of
# current vote count, votes needed for next reward and votes needed for first page.
AllowTopzoneGameServerReport = True
  • 0
Posted

Hopzone is working fine if you use correct link..

 

For topzone reward, you should check the update of Anarchy's code.

The problem is in lines getVotes.

  • 0
Posted

i fixed hopzone reward but topzone still get error with 

 

There was a problem on getting Topzone votes from server with rank 15.
There was a problem on getting Topzone server votes.
  • 0
Posted

TopzoneFirstPageLink = http://l2topzone.com/lineage2/list

 

TopzoneServerLink = http://l2topzone.com/lineage/server-info/2923/l2-saga.html

 

try this and tell me.

Topzone was changed.

The link must be like < http://l2topzone.com/totalvotes.php?id=6084 >

 

 

 

 

i fixed hopzone reward but topzone still get error with 

 

There was a problem on getting Topzone votes from server with rank 15.
There was a problem on getting Topzone server votes.

 

 

For topzone reward, you should check the update of Anarchy's code.

The problem is in lines getVotes.

Guest
This topic is now closed to further replies.


  • Posts

    • Hello Everyone  I hope you missed Old nostalgia BNB , is time to come back and be ready for the new journey  L2 BnB C3 Website: https://l2bnb.eu/ Discord: https://discord.gg/jaCJKYXgYZ Max Level 75 Max Grade (A) Safe:3 , Max:16 Anti-Botting. Auto learning skills , Auto Loot , Auto Create Account Subclass (NO) quest. Retail Buffs/DS Time ,Need Buffer Char (NO NPC Buffer) OfflineShop,OfflineCraft,ChangePass No GM Shop,No Global Gk,No Donate,Free Teleport only LVL 1 commands: .offline , .changepassword 99+% Retail 1+1 Window Per Pc BASIC FEATURES: Exp/SP: x 3 Adena: x3 Drop: х3 Spoil: x3 Support 24/7 GLOBAL COMMUNITY
    • 亲爱的朋友们,我们很高兴向您介绍我们的全新服务 —— KYC 实名认证,适用于任何平台!️ 我们为加密货币交易所、在线市场、社交网络、主机服务商、赌场及其他合法网站提供实名认证服务。认证可通过护照或驾驶证完成。不支持任何涉及非法活动的网站。 可用国家: 东欧:俄罗斯、乌克兰、白俄罗斯、乌兹别克斯坦、亚美尼亚、吉尔吉斯斯坦、哈萨克斯坦 — $30–33 欧盟(西欧,通常为拉脱维亚和爱沙尼亚) — $80–88 非洲:尼日利亚、肯尼亚 — $30–33 如果您需要注册并验证您的账户,总金额将额外收取 10% 手续费。 如需申请 KYC 认证或咨询其他问题,请通过以下方式联系我们: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ 邮箱: solomonbog@socnet.store SOCNET 商店有效链接: 数字商品商店(网站):进入 商店 Telegram 机器人:进入 – 通过 Telegram 消息应用便捷访问商店。 Telegram 星星购买机器人:进入 – 快速且优惠地购买 Telegram 星星。 SMM 面板:进入 – 推广您的社交媒体账户。 我们为您准备了最新的促销与特别优惠,用于购买我们的产品与服务: 1. 使用优惠码 OCTOBER2025(8% 折扣)即可在 9 月于我们的商店(网站或机器人)购物享受优惠!首次购买还可使用优惠码 SOCNET(15% 折扣)。 2. 获得 $1 商店余额或 10–20% 折扣 —— 只需在网站注册后按照以下格式留言:"SEND ME BONUS, MY USERNAME IS..." – 在我们的论坛帖中发布即可! 3. 首次试用 SMM 面板可获得 $1 奖励 —— 只需在网站(支持)提交标题为 “Get Trial Bonus” 的工单。 4. 每周在我们的 Telegram 频道及星星购买机器人中举行 Telegram 星星赠送活动! 新闻资讯: ➡ Telegram 频道: https://t.me/accsforyou_shop ➡ WhatsApp 频道: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器: https://discord.gg/y9AStFFsrh
    • 亲爱的朋友们,我们很高兴向您介绍我们的全新服务 —— KYC 实名认证,适用于任何平台!️ 我们为加密货币交易所、在线市场、社交网络、主机服务商、赌场及其他合法网站提供实名认证服务。认证可通过护照或驾驶证完成。不支持任何涉及非法活动的网站。 可用国家: 东欧:俄罗斯、乌克兰、白俄罗斯、乌兹别克斯坦、亚美尼亚、吉尔吉斯斯坦、哈萨克斯坦 — $30–33 欧盟(西欧,通常为拉脱维亚和爱沙尼亚) — $80–88 非洲:尼日利亚、肯尼亚 — $30–33 如果您需要注册并验证您的账户,总金额将额外收取 10% 手续费。 如需申请 KYC 认证或咨询其他问题,请通过以下方式联系我们: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ 邮箱: solomonbog@socnet.store SOCNET 商店有效链接: 数字商品商店(网站):进入 商店 Telegram 机器人:进入 – 通过 Telegram 消息应用便捷访问商店。 Telegram 星星购买机器人:进入 – 快速且优惠地购买 Telegram 星星。 SMM 面板:进入 – 推广您的社交媒体账户。 我们为您准备了最新的促销与特别优惠,用于购买我们的产品与服务: 1. 使用优惠码 OCTOBER2025(8% 折扣)即可在 9 月于我们的商店(网站或机器人)购物享受优惠!首次购买还可使用优惠码 SOCNET(15% 折扣)。 2. 获得 $1 商店余额或 10–20% 折扣 —— 只需在网站注册后按照以下格式留言:"SEND ME BONUS, MY USERNAME IS..." – 在我们的论坛帖中发布即可! 3. 首次试用 SMM 面板可获得 $1 奖励 —— 只需在网站(支持)提交标题为 “Get Trial Bonus” 的工单。 4. 每周在我们的 Telegram 频道及星星购买机器人中举行 Telegram 星星赠送活动! 新闻资讯: ➡ Telegram 频道: https://t.me/accsforyou_shop ➡ WhatsApp 频道: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器: https://discord.gg/y9AStFFsrh
    • 亲爱的朋友们,我们很高兴向您介绍我们的全新服务 —— KYC 实名认证,适用于任何平台!️ 我们为加密货币交易所、在线市场、社交网络、主机服务商、赌场及其他合法网站提供实名认证服务。认证可通过护照或驾驶证完成。不支持任何涉及非法活动的网站。 可用国家: 东欧:俄罗斯、乌克兰、白俄罗斯、乌兹别克斯坦、亚美尼亚、吉尔吉斯斯坦、哈萨克斯坦 — $30–33 欧盟(西欧,通常为拉脱维亚和爱沙尼亚) — $80–88 非洲:尼日利亚、肯尼亚 — $30–33 如果您需要注册并验证您的账户,总金额将额外收取 10% 手续费。 如需申请 KYC 认证或咨询其他问题,请通过以下方式联系我们: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ 邮箱: solomonbog@socnet.store SOCNET 商店有效链接: 数字商品商店(网站):进入 商店 Telegram 机器人:进入 – 通过 Telegram 消息应用便捷访问商店。 Telegram 星星购买机器人:进入 – 快速且优惠地购买 Telegram 星星。 SMM 面板:进入 – 推广您的社交媒体账户。 我们为您准备了最新的促销与特别优惠,用于购买我们的产品与服务: 1. 使用优惠码 OCTOBER2025(8% 折扣)即可在 9 月于我们的商店(网站或机器人)购物享受优惠!首次购买还可使用优惠码 SOCNET(15% 折扣)。 2. 获得 $1 商店余额或 10–20% 折扣 —— 只需在网站注册后按照以下格式留言:"SEND ME BONUS, MY USERNAME IS..." – 在我们的论坛帖中发布即可! 3. 首次试用 SMM 面板可获得 $1 奖励 —— 只需在网站(支持)提交标题为 “Get Trial Bonus” 的工单。 4. 每周在我们的 Telegram 频道及星星购买机器人中举行 Telegram 星星赠送活动! 新闻资讯: ➡ Telegram 频道: https://t.me/accsforyou_shop ➡ WhatsApp 频道: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器: https://discord.gg/y9AStFFsrh
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock