Jump to content

davidBm

Members
  • Posts

    197
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by davidBm

  1. Doomus, This Server is At the beginning so stop spawn on this topic for posts,,, and Maxtor plz take action!! Gl whit the server.
  2. if you don't know to run one game dont open it.
  3. I will join to.. good Luck
  4. Grand opening today?
  5. Good Luck, I will try it.
  6. Error fixed. thx
  7. i understend you but >>>>>>>>>>>>>>>>>>you dont post it<<<<<<<<<<<<<<< just this make me mad i use money for nothing...
  8. Ho...sory for my english... I have one problem. I whant to become VIP so i chek and i see in paymant zone. I chant use paysafecard so i go to shop i buy one paysafe card i come back home and i chek my order..so in order say to send one mail to maxchantr whit the code of paysafecard and the order number. So i send it and i whayt...after i pm maxthor and what he told me ? He told me i chant pay my order whit paysafe card.... omg? O i just use 25 è and i chant become VIP cuz he dont have one topic whay i chant dont pay whyt paysafecard cuz in donation he told me i can...sory again for my English's
  9. i use l2jserver (hi5) and i chant fint this IXmlReader .. to change import
  10. hi all i try to add L2J-Event Engine and I have some problem can you help me http://postimg.org/image/44h2yp6kj/
  11. I heve one problem,,, plz help me ... . http://postimg.org/image/44h2yp6kj/
  12. Hi all,,, i have 2 questions. ​1.. Someone share individual vote reward for hi5? can you help me whit that. ​2... If I will donate for VIP,, what can I find I VIP zone,,, is something special? Thank you all for wasting your time with me.
  13. I whant donate to. some 1 help us?
  14. Fixed, Cancellation system,.... - Add Raid Boss in gm shop - Add Serviece Manager - Add New Farm Zone
  15. Enchant - Max enchant: +16 Weaponds - Max enchant: +20 Armor - Normal Scroll: 60%. - Blessed Scroll: 100% - Attribute: up to lvl 4, rate 100%. - Attribute: up to lvl 7, rate 60%. Custom npc - Scheme Buffer: 3 hours duration. Buff slot: 30/12. - Gm Shop: you can find all the necessary items here, everything for Adena & Gold Bar - Gatekeeper. - Raid Boss Manager, with the respawn/info of grand bosses. - Bug Raport Manager, - Party Farm rb zone, - And more, Phoenix - Our server have installed phoenix event engine with all features, a lot of good events, no bugs and good reward. Server Feature - Auto Create Account - Drop protection based on damage - No Sub-class Quest - Max Sub-class: 3 - Auto Learn Skills - Auto Learn Loot - Off-Line Shop - Unstuck - 60 sec - Buff Time: 3h - Mana potions available - Olympiad Enchant Limit: +6 - 1 Week Olympiad Period - Starting points: 18 - Castle Sieges: every week - Territory Wars: every week - Dressme System - PvP Items can be enchanted, augmented, and elemented - Overbuff protection - PvP & Farm Zone - Raid Zones - PvP Reward - PvP Class Balance - Custom Community Board - Rbs have 2/3h Respawn, - ANTI BOOT PROTECTION!!! - Cancellation system: Give your buff back afther 15 sec. - Multifunction Zone - No Lag - And more. http://l2eraoffire.eu
  16. i chek, and i chant find one to worck,,,you think i log in and i post it? i chek frist time
  17. hi, some 1 help my, topzone vote reward is old and he don't worck, i use freya client... this is the code package com.l2jserver.gameserver.instancemanager; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.URL; import java.net.URLConnection; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import com.l2jserver.Config; import com.l2jserver.L2DatabaseFactory; import com.l2jserver.gameserver.Announcements; import com.l2jserver.gameserver.ThreadPoolManager; import com.l2jserver.gameserver.model.L2World; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; public class TopZone { private static Logger _log = Logger.getLogger(AutoVoteRewardManager.class.getName()); private static final int initialCheck = Config.TOPZONE_VOTE_SYSTEM_START_TIME * 1000; private static final int delayForCheck = Config.TOPZONE_VOTE_SYSTEM_CHECK_TIME * 1000; private int votesneed; private static List<String> _ips = new ArrayList<String>(); private static int lastVoteCount = 0; private TopZone() { _log.info("AutoVoteRewardManager: Vote reward system initiated."); if (Config.TOPZONE_VOTE_SYSTEM_DATABASE_SAVE) load(); ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new AutoReward(), initialCheck, delayForCheck); } private class AutoReward implements Runnable { @Override public void run() { int votes = getVotes(); _log.info("AutoVoteRewardManager: Current Votes: " + getVotes()); _log.info("AutoVoteRewardManager: Votes needed: "+(getLastVoteCount()+Config.TOPZONE_VOTE_SYSTEM_COUNT)); _log.info("AutoVoteRewardManager: Next Check in: "+(delayForCheck/1000)+" sec."); Announcements.getInstance().announceToAll("Vote for us in HopZone!"); if (votes >= getLastVoteCount() + Config.TOPZONE_VOTE_SYSTEM_COUNT) { Collection<L2PcInstance> pls = L2World.getInstance().getAllPlayers().values(); { for (L2PcInstance onlinePlayer : pls) { if (onlinePlayer.isOnline() && !onlinePlayer.getClient().isDetached() && !_ips.contains(onlinePlayer.getClient().getConnection().getInetAddress().getHostAddress())) { String[] parase = Config.TOPZONE_VOTE_SYSTEM_ITEM_ID.split(","); String[] parase3 = Config.TOPZONE_VOTE_SYSTEM_ITEM_COUNT.split(","); for(int o = 0; o <parase.length; o++){ int parase2 = Integer.parseInt(parase[o]); int parase4 = Integer.parseInt(parase3[o]); for (int i = 0; i < parase.length; i++) { onlinePlayer.addItem("vote_reward", parase2, parase4, onlinePlayer, true); } } _ips.add(onlinePlayer.getClient().getConnection().getInetAddress().getHostAddress()); } } } _log.info("AutoVoteRewardManager: All players has been rewared!"); Announcements.getInstance().announceToAll("Thanks for vote, you has been rewarded!"); setLastVoteCount(getLastVoteCount() + Config.TOPZONE_VOTE_SYSTEM_COUNT); } if (getLastVoteCount() == 0) { setLastVoteCount(votes); } else if ((getLastVoteCount() + Config.TOPZONE_VOTE_SYSTEM_COUNT) - votes > Config.TOPZONE_VOTE_SYSTEM_COUNT || votes > (getLastVoteCount() + Config.TOPZONE_VOTE_SYSTEM_COUNT)) { setLastVoteCount(votes); } votesneed = (getLastVoteCount()+Config.TOPZONE_VOTE_SYSTEM_COUNT) - votes; if(votesneed == 0){ votesneed = Config.TOPZONE_VOTE_SYSTEM_COUNT; } Announcements.getInstance().announceToAll("Need " + votesneed + " votes more to reward all players."); _ips.clear(); } } private int getVotes() { URL url = null; InputStreamReader isr = null; BufferedReader in = null; try { url = new URL(Config.TOPZONE_VOTE_SYSTEM_PAGE); URLConnection con = url.openConnection(); con.addRequestProperty("User-Agent", "Mozilla/4.76"); isr = new InputStreamReader(con.getInputStream()); in = new BufferedReader(isr); String inputLine; while ((inputLine = in.readLine()) != null) { if(Config.TOPZONE_VOTE_SYSTEM_HOPZONE == false){ //TopZone if(inputLine.contains("<tr><td><div align=\"center\"><b><font style=\"font-size:14px;color:#018BC1;\">")){ String i = inputLine.replace("<tr><td><div align=\"center\"><b><font style=\"font-size:14px;color:#018BC1;\">", ""); i = i.replace("</font></b></div></td></tr>", ""); i = i.trim(); int o = Integer.parseInt(i); return Integer.valueOf(o); } } else { //for hopzone if (inputLine.contains("Anonymous User Votes")) return Integer.valueOf(inputLine.split(">")[2].replace("</span", "")); } } } catch (IOException e) { _log.warning("AutoVoteRewardHandler: "+e); } finally { try { in.close(); } catch (IOException e) {} try { isr.close(); } catch (IOException e) {} } return 0; } private void setLastVoteCount(int voteCount) { lastVoteCount = voteCount; } private int getLastVoteCount() { return lastVoteCount; } private void load() { int votes = 0; Connection con = null; try { con = L2DatabaseFactory.getInstance().getConnection(); PreparedStatement statement = con.prepareStatement("SELECT vote FROM votes LIMIT 1"); ResultSet rset = statement.executeQuery(); while (rset.next()) { votes = rset.getInt("vote"); } rset.close(); statement.close(); } catch (Exception e) { _log.log(Level.WARNING, "data error on vote: ", e); } finally { L2DatabaseFactory.close(con); } setLastVoteCount(votes); } public void save() { Connection con = null; try { con = L2DatabaseFactory.getInstance().getConnection(); PreparedStatement statement = con.prepareStatement("UPDATE votes SET vote = ? WHERE id=1"); statement.setInt(1, getLastVoteCount()); statement.execute(); statement.close(); } catch (Exception e) { _log.log(Level.WARNING, "data error on vote: ", e); } finally { L2DatabaseFactory.close(con); } } public static TopZone getInstance() { return SingletonHolder._instance; } @SuppressWarnings("synthetic-access") private static class SingletonHolder { protected static final TopZone _instance = new TopZone(); } }
  18. http://www.4shared.c...m/DavidBm.html?
×
×
  • Create New...