Jump to content

blademarios

Members
  • Posts

    75
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by blademarios

  1. Kalipsera file nai exw dedicate diko m, download kai to upload upload de pefti pote kato apo 100 ..molis tora pou ekana ena test , exw auti ti stigmi 155mbps download kai 154 upload , kai fisika exei ddos/dos Protection kane me add sto skype na milisoume
  2. Gia sas exw ena dedicated machine . To machine auto eine diko mou kai den plirono miniaio poso gi auto. Exei download 120 mbps kai upload 103mbps. Iparxei kanonika etairia pou noikiazei tetoia mixanimata ,alla ena apo auta eine diko mou xoris na plirono. Opote psaxnw gia atomo to opoio na exei ena kalo l2 c6 pack ,pvp Server kai me custom, i otidipote allo pou na eine kalo. Opoios thelei na epikoinwnisei mazi mou , mporei na to kanei apo auto to topic i na me kanei add sto skype sto L2 Cybergate
  3. Hello I have a dedicated machine .Its mine i dont pay rent for it. It has download 120mbps and upload 103mbps. Its a machine that a company gave it to me . I am looking for a person that has a good l2 c6 pack custom pvp Server, or anything else that is good!! You can contact me by here or adding me on skype at L2 Cybergate.
  4. I want to make domain site .com... can some1 send me a link.. and whats the price . Also if i had the following site www.name1.com can i change it too www.name2.com ? or i need to buy domain again?
  5. www.l2cybergate.weebly.com x5000 PvP Server L2 Cybergate is a gaming community and an international free to play Lineage 2 Interlude server. Lineage 2 is a popular MMORPG or Massively multiplayer online role-playing game. L2 Cybergate is a young community which was created by an experienced team in server administration and programming that will ensure a stable, uninterrupted, fun and fair gaming experience. We value your time and effort invested on the community and that is why we follow a strict no-reset policy and are proud to ensure the continuity of our service indefinitely. Many hours of entertainment await to all who decide to join us. Don't forget to vote for us so that you can take your rewards! We wish you have fun playing in our server! Thank you for joining us. Sincerely, the Administrator. SERVER INFORMATION Chronicle: Interlude Type: Pvp Server Events Balanced Classes Professional server DDos protection, no lag Special Features: #Unique start up System. # Special npc's . # Custom farm zones. # Custom droplist on Raid Bosses. (Raid Bosses drop also hero coins!) # Main town: Giran. # Special items ( see them in-game). Unique items, give a check in-game. Other & Custom Systems: # New character starts with 80 lvl . # All skills working. # Custom NPC in Clan Halls. # Olympiad:every week hero. # Balanced Class (everyday update for perfect balance). # Raid Bosses Jewelers in Shop ( need a few votes or some farm). # Pvp color system on Name & Tittle. # Custom Zones. # Custom pvp zone. # Wedding, Fishing Systems. # 100% Castle Sieges. Fully reworked retail like olympiad # Olympiad Cycle = 1 Week. # Skills are reused after teleport on stadion, # Players with same IP can not fight together, # Teleport back to town right after match end, # Profesional Anti-Feed system Rates: #Xp 5000x. # Sp 5000x. #Adena 3000x. # Drop 1x. #PartyXp 5000x. #PartySp 5000x. Enchant rates: # Safe enchant (+3). # Max enchant (+18). # Blessed and simple scrolls enchant (From +3 to +12). #Crystal scrolls enchant (From +12 to +18.) (When enchanting with crystal scrolls and enchant fails then the weapon/armor/jewellery becomes again +12 and does not break). #Simple enchant scrolls chance - 70%. # Blessed enchant scrolls chance -100% . # Crystal enchant scrolls chance - 85%. Augment: High Grade Lifestone 15% Chance . Top Grade Lifestone 20%Chance . Events: Gms will organize events , winners will be rewarded. Vote reward: You can vote for server and automatically be rewarded. So get ready and start voting for getting your rewards! Sincerely, the Administrator.
  6. psyancy i send you ersonal message, please go check
  7. Kalispera ithela na rotiso to eksis. Katafera na diloso ton Server mou sto hopzone kai me evalan kai stous NEW lineage servers category alla eimoun sto NEW kategory peripou gia 24 ores? Palia pou eixa dilosei Server eimoun kata poli perrisoteres meres ...kai 5 meres mi sas pw..alla exei kairo..arketo kairo.. i erotisi mou eine gt mono mia mera stous NEW? Mporei na ftaiw kai egw pou kratise toso? Na pw oti de plirosa sto hopzone kai oute prokeite fisika..To idio tha isxuei kai sto topzone? Diladi kai ekei gia mia mera? Ti kseftilikia eine auta... Kolise to pc mou kai to idio topic iparxei dio fores, as to svisei to ena topic o admin gt de gnorizw pos mporo na to svisw egw, euxaristo ek ton proteron
  8. Hello I managed to be on the NEW lineage 2 servers on hopzone but it was only for one day! Maybe less than a day(about 24 hours) .. Why this happening? I should mention that I didnt pay on hopzone. Does anyone know why this happened? The previous time I had registered my Server in hopzone it was ok , it was not only for one day. The same thing is going to happen in topzone?
  9. www.l2megalicious.weebly.com L2 Megalicious is a gaming community and an international free to play Lineage 2 Interlude server. Lineage 2 is a popular MMORPG or Massively multiplayer online role-playing game. L2 Megalicious is a young community which was created by an experienced team in server administration and programming that will ensure a stable, uninterrupted, fun and fair gaming experience. We value your time and effort invested on the community and that is why we follow a strict no-reset policy and are proud to ensure the continuity of our service indefinitely. Many hours of entertainment await to all who decide to join us. Don't forget to vote for us so that you can take your rewards! We wish you have fun playing in our server! Thank you for joining us. Sincerely, the Administrator. SERVER INFORMATION Chronicle: Interlude Type: Pvp Server Events Balanced Classes Professional server DDos protection, no lag Special Features: #Unique start up System. # Special npc's . # Custom farm zones. # Custom droplist on Raid Bosses. (Raid Bosses drop also hero coins!) # Main town: Giran. # Special items ( see them in-game). Unique items, give a check in-game. Other & Custom Systems: # New character starts with 80 lvl . # All skills working. # Custom NPC in Clan Halls. # Olympiad:every week hero. # Balanced Class (everyday update for perfect balance). # Raid Bosses Jewelers in Shop ( need a few votes or some farm). # Pvp color system on Name & Tittle. # Custom Zones. # Custom pvp zone. # Wedding, Fishing Systems. # 100% Castle Sieges. Fully reworked retail like olympiad # Olympiad Cycle = 1 Week. # Skills are reused after teleport on stadion, # Players with same IP can not fight together, # Teleport back to town right after match end, # Profesional Anti-Feed system Rates: #Xp 5000x. # Sp 5000x. #Adena 3000x. # Drop 1x. #PartyXp 5000x. #PartySp 5000x. Enchant rates: # Safe enchant (+3). # Max enchant (+18). # Blessed and simple scrolls enchant (From +3 to +12). #Crystal scrolls enchant (From +12 to +18.) (When enchanting with crystal scrolls and enchant fails then the weapon/armor/jewellery becomes again +12 and does not break). #Simple enchant scrolls chance - 70%. # Blessed enchant scrolls chance -100% . # Crystal enchant scrolls chance - 85%. Augment: High Grade Lifestone 15% Chance . Top Grade Lifestone 20%Chance . Events: Gms will organize events , winners will be rewarded. Vote reward: You can vote for server and automatically be rewarded. So get ready and start voting for getting your rewards! Sincerely, the Administrator.
  10. Iparxei kapoio provlima me hopzone kai topzone(sigoura tha iparxei den eksigitai allios). Me exoun dextei sto hopzone alla o srv m eine mono stous all lineage 2 servers kai oxi stin lista me tous kainourious . Sto topzone troo ban sinexeia kai kala epeidi exw eidi account . Ekana kai kainouriaa account apo spiti filou pou den exei kanei pote register se topzone kai hopzone kai fisika allaksa ip tou srv , onoma tou srv, allagi onomatos site, kai pali stous NEW den me exei, to hopzone den apantaei sta email o allos o panivlakas o adm tou topzone kai exeis account kai xrisimopoieise to allo kai tha fas ban kai to thema eine oti palia eixa dilosei kai hopzone kai topzone apo spiti filou kai mpika stous NEW servers kai ton dio sites me ti mia xoris provlimata kai XORIS NA PLIROSO! vevea exei xronia auto. Tora auton ton kairo gt mas ksigountai etsi...I erotisi mou eine exei kaneis idio i paromoio provlima diladi na dilonei sta site auta kai na min ton vazoun stous NEW lineage Server ? An eixe kapoios tetoio thema pos to elise as mas pei kai emas pou prospathoume edw kai 2 mines kai de mporoume na ta kataferoume kai mas exei kaei to mialo! Kai propantos XORIS PLIROMI!
  11. Is there any problem with hopzone and topzone? I have been accepted in hopzone but my Server is only in the all lineage 2 servers category, and not also in the NEW lineage 2 servers category. In topzone I get banned all the time. Also I made NEW account in hopzone , i chnged ip of Server , name of Server, name of site but again only in all lineage 2 servers category and no in the NEW category list. I sent several emails to hopzone but nobody is answering in my emails. In topzone the stupid admin tells me tthat i have already an account and to use the existing account. In the past I had registered successfully both sites and I was in the NEW list and all these very easily without trying multiply times, with the First try. In topzone also i changed everything to register again , NEW account from a friends pc with his network and not mine , again banned for existing account. My question is : Does anyone has the same problem ..registering and see his Server only in all lineage 2 servers and not in the NEW category list servvers , or getting banned without reason or I am the only one with this problem? What i have to do to be in the NEW category list of tozone and hopzone WITHOUT PAYING?
  12. My friends I have a problem with sieges. When sieges are open the artefacts are missing. I opened all sieges and artefacts where missing. Also I am not sure for this but I think that sieges in order to close i need to restart Server. My revision pack is 1004M. I hope I dont need to change revision pack . Please somebody helps me. Thx in advance.
  13. Kalispera alania exw ena thema me ta siege , sigkekrimena otan anoigoun ta siege den vgainei i kolona gia na ginei to pray. Ontos anoiksa me ton gm char ola ta siege kai kathos ta anoiksa de vlepw tin kolona na emfanizete ,episis isos na mi kleinoun kai ta siege kai na xriazeterestart gia na kleisoun. To revision pack einai 1004M. Peite mou ti mporo na kanw ektos apo to na allaksw revison pack.
  14. i try to add my server at topzone ...i did everything right and it says to me to read the rules and edit some informations but nothing can be edited however i am sure i make everything right. In hopzone i did not have any problem i was accepted with the first try.Do anyone know what is happened with topzone?
  15. kalispera exw anoiksei enan server kai thelw na valw donate meso sms. To erotima mou eine pos stinete olo auto? Genika pos ginete i oloi diadikasia kai molis kanei kapoios donate meso minimatos tou erxete to donate apeuthias sto inventory?
  16. 1) c6 interlude 2(I press alt+g into the game ..i press item search but bothing happens or i go on the top i write for example hero coin but still nothing haapens
  17. hellow i have the following virual machine: processor: qemu virtual cpu version 2.12 2.10GHZ(2 processors) 4gb ram 64bit operating sytem x64-based processor windwos server 2012 and download speed 114 mbps and upload speed 92 mbps. My questions are: 1)how many players can host this machine? I mean how many players can play at the same time in my srv with this machine ? 2) i cant find the id of a custom coin that i made..i dont remember the name of the coin, its just for clan reputation points.....the coin exists....but that coin does not exist on any npc or mob. How can i find it? 3)Also i cant change the response time of raid bosses.. i go to navicat selecting raidboss_spawnlist table and from there i change the response time, saving changes ,reopening navicat ,restartingg l2 ... but it doesnt take effect..what should i do?
  18. It seems to be very interesting!! From what I can see from your description it seems to be a serious and a very well organized lineage II project. Looking forward to try this server!! Good luck man!!
  19. i want to give 5 vote coins after 5 vote at hopzone/topzone can some1 help me? i write this at votemain.java rtextengine; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.net.URL; import java.net.URLConnection; import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance; import com.l2jfrozen.gameserver.network.clientpackets.Say2; import com.l2jfrozen.gameserver.network.serverpackets.CreatureSay; import com.l2jfrozen.gameserver.thread.ThreadPoolManager; import vortextengine.datatables.PlayerTable; import vortextengine.tasks.HopzoneVoteDelay; import vortextengine.tasks.MonthlyResetTask; import vortextengine.tasks.TopzoneVoteDelay; import vortextengine.tasks.TriesResetTask; import javolution.util.FastList; public class VoteMain { public static FastList<String> voterList = new FastList<String>(); private static boolean isVoting; public static int firstvoteshop; public static int firstvotestop; public static long lastVoteCheck = 0L; public static long voteDelay = 43200000L; public VoteMain() { } public static void load() { System.out.println("Vote Reward System Started Successfully."); VoteConfig.loadConfigs(); TriesResetTask.getInstance(); MonthlyResetTask.getInstance(); } public static int getHopZoneVotes() { InputStreamReader isr = null; BufferedReader br = null; try { if(!VoteConfig.VOTE_LINK_HOPZONE.endsWith(".html")) VoteConfig.VOTE_LINK_HOPZONE+=".html"; and this at pack inside HopzoneUrl = http://l2.hopzone.net/lineage2/details/99533/L2Sanctus.html TopzoneUrl = # Enable or Disable daily tries per character # Default: True EnableTries = True # The characters will have a choice between 3 rewards.Set id for them VoteRewardId1 = 9595 # Set the amount of each reward. VoteRewardAmount1 = 4 # Set the seconds that the character has # until he votes in the site's banners # Default: 60 SecondsToVote = 90 # Amount of votes a character must collect # in order to get the 4th vote reward # Default: 20 ExtraRewVoteAm = 20
  20. l2jfrozen einai to pack alla den kserw akrivws pos na to kanw to vote system :)
  21. re c se pio java na to perasw eksigise mou ligo gt eimai new ston xwro :) package vortextengine; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.net.URL; import java.net.URLConnection; import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance; import com.l2jfrozen.gameserver.network.clientpackets.Say2; import com.l2jfrozen.gameserver.network.serverpackets.CreatureSay; import com.l2jfrozen.gameserver.thread.ThreadPoolManager; import vortextengine.datatables.PlayerTable; import vortextengine.tasks.HopzoneVoteDelay; import vortextengine.tasks.MonthlyResetTask; import vortextengine.tasks.TopzoneVoteDelay; import vortextengine.tasks.TriesResetTask; import javolution.util.FastList; public class VoteMain { public static FastList<String> voterList = new FastList<String>(); private static boolean isVoting; public static int firstvoteshop; public static int firstvotestop; public static long lastVoteCheck = 0L; public static long voteDelay = 43200000L; public VoteMain() { } public static void load() { System.out.println("Vote Reward System Started Successfully."); VoteConfig.loadConfigs(); TriesResetTask.getInstance(); MonthlyResetTask.getInstance(); } public static int getHopZoneVotes() { InputStreamReader isr = null; BufferedReader br = null; try { if(!VoteConfig.VOTE_LINK_HOPZONE.endsWith(".html")) VoteConfig.VOTE_LINK_HOPZONE+=".html"; URLConnection con = new URL(VoteConfig.VOTE_LINK_HOPZONE).openConnection(); con.addRequestProperty("User-L2Hopzone", "Mozilla/4.76"); isr = new InputStreamReader(con.getInputStream()); br = new BufferedReader(isr); String line; while ((line = br.readLine()) != null) { if (line.contains("no steal make love")||line.contains("no votes here")||line.contains("bang, you don't have votes")|| line.contains("la vita e bella")) { int votes = Integer.valueOf(line.split(">")[2].replace("</span", "")); return votes; } } br.close(); isr.close(); } catch (Exception e) { System.out.println("[VoteRewardManager]: Problem occured while getting Hopzone votes. Error Trace: " + e.getMessage()); } return -1; } public static int getTopZoneVotes() { int votes = -1; URL url = null; URLConnection con = null; InputStream is = null; InputStreamReader isr = null; BufferedReader in = null; try { url = new URL(VoteConfig.VOTE_LINK_TOPZONE); con = url.openConnection(); con.addRequestProperty("User-Agent", "L2TopZone"); is = con.getInputStream(); isr = new InputStreamReader(is); in = new BufferedReader(isr); String inputLine; while ((inputLine = in.readLine()) != null) { if (inputLine.contains("Votes")) { String votesLine = inputLine; votes = Integer.valueOf(votesLine.split(">")[3].replace("</div", "")); break; } } } catch (Exception e) { System.out.println("VortexEngine: Server TOPZONE is offline or something is wrong in link."); } return votes; } public static void hopvote(final L2PcInstance player) { if (isVoting()) { player.sendPacket(new CreatureSay(0, Say2.ALLIANCE, "Server", "Someone is already voting.Wait for your turn please!")); return; } if (VoteConfig.ENABLE_TRIES) { if (PlayerTable.getTries(player) <= 0) { player.sendPacket(new CreatureSay(0, Say2.ALLIANCE, "Server", "Due to your multiple failures in voting you lost your chance to vote today")); return; } } setFirstvoteshop(getHopZoneVotes()); PlayerTable.loadLastVoteHopzone(player); if ((getLastVoteCheck() + getVoteDelay()) < System.currentTimeMillis()) { activateVoting(player, "hopzone"); ThreadPoolManager.getInstance().scheduleGeneral(new HopzoneVoteDelay(player), VoteConfig.SECS_TO_VOTE * 1000); } else { player.sendPacket(new CreatureSay(0, Say2.ALLIANCE, "Server", "12 hours have to pass till you are able to vote again.")); } } public static void topvote(final L2PcInstance player) { if (isVoting()) { player.sendPacket(new CreatureSay(0, Say2.ALLIANCE, "Server", "Someone is already voting.Wait for your turn please!")); return; } if (VoteConfig.ENABLE_TRIES) { if (PlayerTable.getTries(player) <= 0) { player.sendPacket(new CreatureSay(0, Say2.ALLIANCE, "Server", "Due to your multiple failures in voting you lost your chance to vote today")); return; } } setFirstvotestop(getTopZoneVotes()); PlayerTable.loadLastVoteTopzone(player); if ((getLastVoteCheck() + getVoteDelay()) < System.currentTimeMillis()) { activateVoting(player, "topzone"); ThreadPoolManager.getInstance().scheduleGeneral(new TopzoneVoteDelay(player), VoteConfig.SECS_TO_VOTE * 1000); } else { player.sendPacket(new CreatureSay(0, Say2.ALLIANCE, "Server", "12 hours have to pass till you are able to vote again.")); } } public static String whosVoting() { String voterName = "None"; if (!voterList.isEmpty()) { voterName = voterList.getFirst(); } return voterName; } private static void activateVoting(L2PcInstance player, String banner) { setisVoting(true); player.sendPacket(new CreatureSay(0, Say2.TELL, "Server", "Go fast on the site and vote on the " + banner + " banner!")); } // Getters and Setters public static boolean isVoting() { return isVoting; } public static void setisVoting(boolean _isVoting) { VoteMain.isVoting = _isVoting; } public static int getFirstvoteshop() { return firstvoteshop; } public static void setFirstvoteshop(int firstvoteshop) { VoteMain.firstvoteshop = firstvoteshop; } public static int getFirstvotestop() { return firstvotestop; } public static void setFirstvotestop(int firstvotestop) { VoteMain.firstvotestop = firstvotestop; } public static long getLastVoteCheck() { return lastVoteCheck; } public static void setLastVoteCheck(long lastVoteCheck) { VoteMain.lastVoteCheck = lastVoteCheck; } public static long getVoteDelay() { return voteDelay; }
  22. ekana oti mou eipes alla den douleuei :) an mporouses ligo na me kaneis add sto skype na mou deikseis na ma8w kai egw tha sou eixa upoxrewsei :)
  23. maybe you can add me one min at skype to help me? xristosmpou@hotmail.com
  24. u mean here? :) package vortextengine; import java.io.File; import java.io.FileInputStream; import java.util.Properties; public class VoteConfig { public static boolean ENABLE_TRIES; public static String VOTE_LINK_HOPZONE; public static String VOTE_LINK_TOPZONE; public static int SERVER_ID; public static int VOTE_REWARD_ID1; public static int VOTE_REWARD_AMOUNT1; public static int SECS_TO_VOTE; public static int EXTRA_REW_VOTE_AM; public static void loadConfigs() { try { Properties prop = new Properties(); prop.load(new FileInputStream(new File("config/custom/VortexEngine.properties"))); ENABLE_TRIES = Boolean.parseBoolean(prop.getProperty("EnableTries", "true")); VOTE_LINK_HOPZONE = prop.getProperty("HopzoneUrl", "null"); VOTE_LINK_TOPZONE = prop.getProperty("TopzoneUrl", "null"); SERVER_ID = Integer.parseInt(prop.getProperty("ServerId", "1")); VOTE_REWARD_ID1 = Integer.parseInt(prop.getProperty("VoteRewardId1", "300")); VOTE_REWARD_AMOUNT1 = Integer.parseInt(prop.getProperty("VoteRewardAmount1", "300")); SECS_TO_VOTE = Integer.parseInt(prop.getProperty("SecondsToVote", "60")); EXTRA_REW_VOTE_AM = Integer.parseInt(prop.getProperty("ExtraRewVoteAm", "20")); } catch (Exception e) { System.out.println("Error while loading Vortex Engine settings!"); } } }
  25. there is no prob with consoles.... i want give reward every 5 votes at hopzone and topzone .. can some1 help me? :) package vortextengine; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.net.URL; import java.net.URLConnection; import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance; import com.l2jfrozen.gameserver.network.clientpackets.Say2; import com.l2jfrozen.gameserver.network.serverpackets.CreatureSay; import com.l2jfrozen.gameserver.thread.ThreadPoolManager; import vortextengine.datatables.PlayerTable; import vortextengine.tasks.HopzoneVoteDelay; import vortextengine.tasks.MonthlyResetTask; import vortextengine.tasks.TopzoneVoteDelay; import vortextengine.tasks.TriesResetTask; import javolution.util.FastList; public class VoteMain { public static FastList<String> voterList = new FastList<String>(); private static boolean isVoting; public static int firstvoteshop; public static int firstvotestop; public static long lastVoteCheck = 0L; public static long voteDelay = 43200000L; public VoteMain() { } public static void load() { System.out.println("Vote Reward System Started Successfully."); VoteConfig.loadConfigs(); TriesResetTask.getInstance(); MonthlyResetTask.getInstance(); } public static int getHopZoneVotes() { int votes = -1; URL url = null; URLConnection con = null; InputStream is = null; InputStreamReader isr = null; BufferedReader in = null; try { url = new URL(VoteConfig.VOTE_LINK_HOPZONE); con = url.openConnection(); con.addRequestProperty("User-Agent", "Mozilla/4.76"); is = con.getInputStream(); isr = new InputStreamReader(is); in = new BufferedReader(isr); String inputLine; while ((inputLine = in.readLine()) != null) { if (inputLine.contains("rank anonymous tooltip")) { votes = Integer.valueOf(inputLine.split(">")[2].replace("</span", "")); break; } } } catch (Exception e) { System.out.println("VortexEngine: Server HOPZONE is offline or something is wrong in link."); } return votes; } public static int getTopZoneVotes() { int votes = -1; URL url = null; URLConnection con = null; InputStream is = null; InputStreamReader isr = null; BufferedReader in = null; try { url = new URL(VoteConfig.VOTE_LINK_TOPZONE); con = url.openConnection(); con.addRequestProperty("User-Agent", "Mozilla/4.76"); is = con.getInputStream(); isr = new InputStreamReader(is); in = new BufferedReader(isr); String inputLine; while ((inputLine = in.readLine()) != null) { if (inputLine.contains("Votes")) { String votesLine = inputLine; votes = Integer.valueOf(votesLine.split(">")[3].replace("</div", "")); break; } } } catch (Exception e) { System.out.println("VortexEngine: Server TOPZONE is offline or something is wrong in link."); } return votes; } public static void hopvote(final L2PcInstance player) { if (isVoting()) { player.sendPacket(new CreatureSay(0, Say2.ALLIANCE, "Server", "Someone is already voting.Wait for your turn please!")); return; } if (VoteConfig.ENABLE_TRIES) { if (PlayerTable.getTries(player) <= 0) { player.sendPacket(new CreatureSay(0, Say2.ALLIANCE, "Server", "Due to your multiple failures in voting you lost your chance to vote today")); return; } } setFirstvoteshop(getHopZoneVotes()); PlayerTable.loadLastVoteHopzone(player); if ((getLastVoteCheck() + getVoteDelay()) < System.currentTimeMillis()) { activateVoting(player, "hopzone"); ThreadPoolManager.getInstance().scheduleGeneral(new HopzoneVoteDelay(player), VoteConfig.SECS_TO_VOTE * 1000); } else { player.sendPacket(new CreatureSay(0, Say2.ALLIANCE, "Server", "12 hours have to pass till you are able to vote again.")); } } public static void topvote(final L2PcInstance player) { if (isVoting()) { player.sendPacket(new CreatureSay(0, Say2.ALLIANCE, "Server", "Someone is already voting.Wait for your turn please!")); return; } if (VoteConfig.ENABLE_TRIES) { if (PlayerTable.getTries(player) <= 0) { player.sendPacket(new CreatureSay(0, Say2.ALLIANCE, "Server", "Due to your multiple failures in voting you lost your chance to vote today")); return; } } setFirstvotestop(getTopZoneVotes()); PlayerTable.loadLastVoteTopzone(player); if ((getLastVoteCheck() + getVoteDelay()) < System.currentTimeMillis()) { activateVoting(player, "topzone"); ThreadPoolManager.getInstance().scheduleGeneral(new TopzoneVoteDelay(player), VoteConfig.SECS_TO_VOTE * 1000); } else { player.sendPacket(new CreatureSay(0, Say2.ALLIANCE, "Server", "12 hours have to pass till you are able to vote again.")); } } public static String whosVoting() { String voterName = "None"; if (!voterList.isEmpty()) { voterName = voterList.getFirst(); } return voterName; } private static void activateVoting(L2PcInstance player, String banner) { setisVoting(true); player.sendPacket(new CreatureSay(0, Say2.TELL, "Server", "Go fast on the site and vote on the " + banner + " banner!")); } // Getters and Setters public static boolean isVoting() { return isVoting; } public static void setisVoting(boolean _isVoting) { VoteMain.isVoting = _isVoting; } public static int getFirstvoteshop() { return firstvoteshop; } public static void setFirstvoteshop(int firstvoteshop) { VoteMain.firstvoteshop = firstvoteshop; } public static int getFirstvotestop() { return firstvotestop; } public static void setFirstvotestop(int firstvotestop) { VoteMain.firstvotestop = firstvotestop; } public static long getLastVoteCheck() { return lastVoteCheck; } public static void setLastVoteCheck(long lastVoteCheck) { VoteMain.lastVoteCheck = lastVoteCheck; } public static long getVoteDelay() { return voteDelay; }
×
×
  • Create New...