-
Posts
350 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by iAlreadyExist
-
Request Vote System
iAlreadyExist replied to iAlreadyExist's question in Request Server Development Help [L2J]
i try but my knowledge is too low and i cant do it. :( can we stop the spam now please thank you :) -
Request Vote System
iAlreadyExist replied to iAlreadyExist's question in Request Server Development Help [L2J]
i wont give money i understand everyone wants money to they time alright if someone wants to do this job and share it for everyone thanks. -
Request Vote System
iAlreadyExist replied to iAlreadyExist's question in Request Server Development Help [L2J]
Request guys request what is that mean to u talk will not help me i try but my knowledge is too low and i cant do it. -
Help Monsters Not Return To His Spawns
iAlreadyExist posted a question in Request Server Development Help [L2J]
Hello i have problem with monsters in my server i have pickup them with warlord and they kill me but its been 2 hours and they dont return to his spawn and other problem is raid bosses dont return on spawn by walking they just teleport is this bug or? http://prnt.sc/dxdxh6 -
http://www.maxcheaters.com/topic/211896-karma-not-remove-on-die/
-
Karma Not Remove On Die
iAlreadyExist replied to iAlreadyExist's question in Request Server Development Help [L2J]
i found it lock that was the whole problem # XP loss (and deleveling) enabled, default is True Delevel = True mine was false -
Karma Not Remove On Die
iAlreadyExist replied to iAlreadyExist's question in Request Server Development Help [L2J]
no its not that i increase it to 100 but nothing change. and im not kid :) -
Karma Not Remove On Die
iAlreadyExist replied to iAlreadyExist's question in Request Server Development Help [L2J]
wich one? # Rate control, float values. RateXp = 500. RateSp = 300. RatePartyXp = 2. RatePartySp = 2. RateDropAdena = 100. RateConsumableCost = 1. RateDropItems = 1. RateRaidDropItems = 1. RateDropSpoil = 35. RateDropManor = 1 # Quest configuration settings. RateQuestDrop = 1. RateQuestReward = 1. RateQuestRewardXP = 1. RateQuestRewardSP = 1. RateQuestRewardAdena = 1. RateKarmaExpLost = 1 RateSiegeGuardsPrice = 1 # Player Drop Rate control, percent (%) values. PlayerDropLimit = 0 PlayerRateDrop = 0 PlayerRateDropItem = 0 PlayerRateDropEquip = 0 PlayerRateDropEquipWeapon = 0 # Karma Drop Rate control, percent (%) values. KarmaDropLimit = 2 KarmaRateDrop = 20 KarmaRateDropItem = 20 KarmaRateDropEquip = 10 KarmaRateDropEquipWeapon = 10 -
Hey guys can you help me fix this on my server when u have karma and u die it dont disapear its not such a big problem but it should remove when you die my pack is acis rev 364
-
Code Bots Prevention _V1.1 (Acis)
iAlreadyExist replied to Caparso's topic in Server Shares & Files [L2J]
i like it but i have one question is there a way to create voice command if someone close it to open it again with command and is there a way to freeze player till he complete and remove if he fail -
Request Request Offline Shop
iAlreadyExist replied to iAlreadyExist's question in Request Server Development Help [L2J]
i still have problem with this http://prnt.sc/dx2ah1 i have changed it to updateAndBroadcastStatus but it dont work no disconect pets -
Request Request Offline Shop
iAlreadyExist replied to iAlreadyExist's question in Request Server Development Help [L2J]
yeah thanks i change to updateAndBroadcastStatus is it going to work or? -
Request Request Offline Shop
iAlreadyExist replied to iAlreadyExist's question in Request Server Development Help [L2J]
thanks only this one left http://prnt.sc/dx2ah1 and this one http://prnt.sc/dx2996 -
Request Request Offline Shop
iAlreadyExist replied to iAlreadyExist's question in Request Server Development Help [L2J]
dude im not stupid rly this part in my pcinstance dont exist http://prnt.sc/dx232l public void setPrivateStoreType(PrivateStoreType type) { _privateStoreType = type; + + if (Config.OFFLINE_DISCONNECT_FINISHED && (type == PrivateStoreType.NONE) && ((getClient() == null) || getClient().isDetached())) + deleteMe(); } -
Request Request Offline Shop
iAlreadyExist replied to iAlreadyExist's question in Request Server Development Help [L2J]
i dont have errors dude its just parts of the patch are changed in rev 364 and dont have where to put them -
Request Request Offline Shop
iAlreadyExist replied to iAlreadyExist's question in Request Server Development Help [L2J]
yes and alot thinks of the patch missing in rev 364 :D -
Request Request Offline Shop
iAlreadyExist posted a question in Request Server Development Help [L2J]
Hey guys can someone share offline shop for acis rev 364 becouse Sweets version dont work on 364 :( -
well if u think about it if its more its bad becouse will be titan powered server and thats not fun for nobody!
-
try mine its also not working on bow <skill id="176" levels="3" name="Frenzy"> <table name="#swordbluntpole"> 1 1.5 2 </table> <table name="#twohand"> 0.5 1 1 </table> <table name="#all"> 1.05 1.10 1.05 </table> <table name="#accCombat"> 2 4 6 </table> <table name="#mpConsume"> 14 21 25 </table> <table name="#stackOrder"> 1 2 3 </table> <table name="#aggro"> 303 438 523 </table> <set name="mpConsume" val="#mpConsume"/> <set name="target" val="TARGET_SELF"/> <set name="reuseDelay" val="1300000"/> <set name="hitTime" val="1500"/> <set name="skillType" val="BUFF"/> <set name="operateType" val="OP_ACTIVE"/> <set name="aggroPoints" val="#aggro"/> <cond msgId="113" addName="1"> <player hp="30" /> </cond> <for> <effect name="Buff" time="90" val="0" stackOrder="#stackOrder" stackType="pinch"> <mul order="0x10" stat="pAtk" val="#all" /> <mul order="0x10" stat="pAtk" val="#swordbluntpole"> <using kind="SWORD,BIGSWORD,BLUNT,BIGBLUNT,POLE" /> </mul> <mul order="0x10" stat="pAtk" val="#twohand"> <using kind="BIGSWORD,BIGBLUNT" /> </mul> <add order="0x40" stat="accCombat" val="#accCombat"> <using kind="BIGSWORD,BIGBLUNT" /> </add> </effect> </for> </skill>
-
is this working for acis rev 364 ? i can pay 20 euro to fix it
-
Help Hopzone Vote Reward
iAlreadyExist replied to protoftw's question in Request Server Development Help [L2J]
when u add server in hopzone there is button see screnshot i give u- 13 replies
-
- hopzone
- votereward
-
(and 1 more)
Tagged with:
-
Help Hopzone Vote Reward
iAlreadyExist replied to protoftw's question in Request Server Development Help [L2J]
its already done man just change the link in config...- 13 replies
-
- hopzone
- votereward
-
(and 1 more)
Tagged with:
-
Help Hopzone Vote Reward
iAlreadyExist replied to protoftw's question in Request Server Development Help [L2J]
for hopzone is this http://prnt.sc/b0brdg use this for test if u want http://api.hopzone.net/lineage2/votes?token=4dkBi72AztjXocda- 13 replies
-
- hopzone
- votereward
-
(and 1 more)
Tagged with:
-
Help Hopzone Vote Reward
iAlreadyExist replied to protoftw's question in Request Server Development Help [L2J]
package net.sf.l2j.gameserver.voteengine; import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.URL; import java.net.URLConnection; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.logging.Logger; import net.sf.l2j.commons.concurrent.ThreadPool; import net.sf.l2j.Config; import net.sf.l2j.gameserver.model.World; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.network.L2GameClient; import net.sf.l2j.gameserver.network.serverpackets.CreatureSay; import net.sf.l2j.gameserver.util.Broadcast; public class AutoVoteReward { public static Logger _log = Logger.getLogger(AutoVoteReward.class.getName()); private int hopzoneVotesCount = 0; private int topzoneVotesCount = 0; private int networkVotesCount = 0; protected List<String> already_rewarded; protected static boolean topzone = false; protected static boolean hopzone = false; protected static boolean network = false; private AutoVoteReward() { _log.info("VoteRewardSystem: Initialized."); if(Config.VOTE_HOPZONE_ENABLED) { if(hopzone) { int hopzone_votes = getHopZoneVotes(); if(hopzone_votes == -1) { hopzone_votes = 0; } setHopZoneVoteCount(hopzone_votes); } } if(Config.VOTE_TOPZONE_ENABLED) { if(topzone) { int topzone_votes = getTopZoneVotes(); if(topzone_votes == -1) { topzone_votes = 0; } setTopZoneVoteCount(topzone_votes); } } if(Config.VOTE_NETWORK_ENABLED) { if(network) { int network_votes = getNetworkVotes(); if(network_votes == -1) { network_votes = 0; } setNetworkVoteCount(network_votes); } } ThreadPool.scheduleAtFixedRate(new AutoReward(), Config.VOTES_SYSTEM_INITIAL_DELAY, Config.VOTES_SYSTEM_STEP_DELAY); } protected class AutoReward implements Runnable { @Override public void run() { if(Config.VOTE_HOPZONE_ENABLED) { if(hopzone) { int hopzone_votes = getHopZoneVotes(); if(hopzone_votes != -1) { _log.info("Hopzone Votes: " + hopzone_votes); Broadcast.toAllOnlinePlayers(new CreatureSay(0,8,"Hopzone", "Actual Votes are " + hopzone_votes + "...")); if(hopzone_votes != 0 && hopzone_votes >= getHopZoneVoteCount() + Config.VOTES_FOR_REWARD) { already_rewarded = new ArrayList<>(); Collection<L2PcInstance> pls = World.getInstance().getPlayers(); Broadcast.toAllOnlinePlayers(new CreatureSay(0,8,"Hopzone", "Great Work! Check your inventory for Reward!!")); for(L2PcInstance player : pls) { if(player != null) { if(checkSingleBox(player)) { player.addItem("reward", Config.HOPZONE_REWARD_ID, Config.HOPZONE_REWARD_COUNT, player, true); } } } setHopZoneVoteCount(hopzone_votes); } Broadcast.toAllOnlinePlayers(new CreatureSay(0,8,"Hopzone", "Next Reward will be on - " + (getHopZoneVoteCount() + Config.VOTES_FOR_REWARD) + " Votes!!")); Broadcast.toAllOnlinePlayers(new CreatureSay(0,8,"Hopzone", "For Vote Visit our website - http://site.com")); } } } if (hopzone && Config.VOTES_SYSTEM_STEP_DELAY > 0) { try { Thread.sleep(Config.VOTES_SYSTEM_STEP_DELAY / 2); } catch (final InterruptedException e) { e.printStackTrace(); } } if(Config.VOTE_TOPZONE_ENABLED) { if(topzone) { int topzone_votes = getTopZoneVotes(); if(topzone_votes != -1) { _log.info("TopZone Votes: " + topzone_votes); Broadcast.toAllOnlinePlayers(new CreatureSay(0,8,"Topzone", "Actual Votes are " + topzone_votes + "...")); if(topzone_votes != 0 && topzone_votes >= getTopZoneVoteCount() + Config.VOTES_FOR_REWARD) { already_rewarded = new ArrayList<>(); Collection<L2PcInstance> pls = World.getInstance().getPlayers(); Broadcast.toAllOnlinePlayers(new CreatureSay(0,8,"Topzone", "Great Work! Check your inventory for Reward!!")); for(L2PcInstance player : pls) { if(player != null) { if(checkSingleBox(player)) { player.addItem("reward", Config.TOPZONE_REWARD_ID, Config.TOPZONE_REWARD_COUNT, player, true); } } } setTopZoneVoteCount(topzone_votes); } Broadcast.toAllOnlinePlayers(new CreatureSay(0,8,"Topzone", "Next Reward will be on - " + (getTopZoneVoteCount() + Config.VOTES_FOR_REWARD) + " Votes!!")); Broadcast.toAllOnlinePlayers(new CreatureSay(0,8,"Topzone", "For Vote Visit our website - http://site.com")); } } } if (topzone && hopzone && Config.VOTES_SYSTEM_STEP_DELAY > 0) { try { Thread.sleep(Config.VOTES_SYSTEM_STEP_DELAY / 2); } catch (final InterruptedException e) { e.printStackTrace(); } } if(Config.VOTE_NETWORK_ENABLED) { if(network) { int network_votes = getNetworkVotes(); if(network_votes != -1) { _log.info("Network Votes: " + network_votes); Broadcast.toAllOnlinePlayers(new CreatureSay(0,8,"Network", "Actual Votes are " + network_votes + "...")); if(network_votes != 0 && network_votes >= getNetworkVoteCount() + Config.VOTES_FOR_REWARD) { already_rewarded = new ArrayList<>(); Collection<L2PcInstance> pls = World.getInstance().getPlayers(); Broadcast.toAllOnlinePlayers(new CreatureSay(0,8,"Network", "Great Work! Check your inventory for Reward!!")); for(L2PcInstance player : pls) { if(player != null) { if(checkSingleBox(player)) { player.addItem("reward", Config.NETWORK_REWARD_ID, Config.NETWORK_REWARD_COUNT, player, true); } } } setNetworkVoteCount(network_votes); } Broadcast.toAllOnlinePlayers(new CreatureSay(0,8,"Network", "Next Reward will be on - " + (getNetworkVoteCount() + Config.VOTES_FOR_REWARD) + " Votes!!")); Broadcast.toAllOnlinePlayers(new CreatureSay(0,8,"Network", "For Vote Visit our website - http://site.com")); } } } if (topzone && hopzone && network && Config.VOTES_SYSTEM_STEP_DELAY > 0) { try { Thread.sleep(Config.VOTES_SYSTEM_STEP_DELAY / 2); } catch (final InterruptedException e) { e.printStackTrace(); } } } } protected boolean checkSingleBox(L2PcInstance player) { L2GameClient client = player.getClient(); if(player.getClient()!=null && player.getClient().getConnection()!=null && !client.isDetached() && !player.getClient().getConnection().isClosed()){ String playerip = player.getClient().getConnection().getInetAddress().getHostAddress(); if(already_rewarded.contains(playerip)) return false; already_rewarded.add(playerip); return true; } return false; } protected int getHopZoneVotes() { try { BufferedReader in = new BufferedReader(new InputStreamReader(new URL(Config.VOTES_SITE_HOPZONE_URL).openConnection().getInputStream())); String[] tokens = in.readLine().split(","); in.close(); return Integer.parseInt(tokens[1].substring(tokens[1].indexOf(":") + 1, tokens[1].length())); } catch (final Exception e) { _log.warning("[AutoVoteReward] Server L2Hopzone is offline or something is wrong in link"); Broadcast.toAllOnlinePlayers(new CreatureSay(0,8,"Hopzone", "is offline. We will check reward as it will be online again")); } return -1; } protected int getTopZoneVotes() { InputStreamReader isr = null; BufferedReader br = null; try { URLConnection con = new URL(Config.VOTES_SITE_TOPZONE_URL).openConnection(); con.addRequestProperty("User-Agent", "L2TopZone"); con.setConnectTimeout(5000); isr = new InputStreamReader(con.getInputStream()); br = new BufferedReader(isr); String line; while ((line = br.readLine()) != null) { int votes = Integer.valueOf(line); return votes; } br.close(); isr.close(); } catch (Exception e) { if (topzone) System.out.println("TOPZONE is offline. We will check reward as it will be online again."); Broadcast.toAllOnlinePlayers(new CreatureSay(0,8,"Topzone", "is offline. We will check reward as it will be online again")); } return -1; } protected int getNetworkVotes() { InputStreamReader isr = null; BufferedReader br = null; try { URLConnection con = new URL(Config.VOTES_SITE_NETWORK_URL).openConnection(); con.addRequestProperty("User-Agent", "Mozilla/5.0"); con.setConnectTimeout(5000); isr = new InputStreamReader(con.getInputStream()); br = new BufferedReader(isr); String line; while ((line = br.readLine()) != null) { if (line.contains("<div class=\"tls-in-sts\"><b style")) { int votes = Integer.valueOf(line.split(">")[2].replace("</b", "")); return votes; } } br.close(); isr.close(); } catch (Exception e) { if (network) System.out.println("NETWORK is offline. We will check reward as it will be online again."); Broadcast.toAllOnlinePlayers(new CreatureSay(0,8,"Network", "is offline. We will check reward as it will be online again")); } return -1; } protected void setHopZoneVoteCount(int voteCount) { hopzoneVotesCount = voteCount; } protected int getHopZoneVoteCount() { return hopzoneVotesCount; } protected void setTopZoneVoteCount(int voteCount) { topzoneVotesCount = voteCount; } protected int getTopZoneVoteCount() { return topzoneVotesCount; } protected void setNetworkVoteCount(int voteCount) { networkVotesCount = voteCount; } protected int getNetworkVoteCount() { return networkVotesCount; } public static AutoVoteReward getInstance() { if(Config.VOTES_SITE_HOPZONE_URL != null && !Config.VOTES_SITE_HOPZONE_URL.equals("")){ hopzone = true; } if(Config.VOTES_SITE_TOPZONE_URL != null && !Config.VOTES_SITE_TOPZONE_URL.equals("")){ topzone = true; } if(Config.VOTES_SITE_NETWORK_URL != null && !Config.VOTES_SITE_NETWORK_URL.equals("")){ network = true; } if(topzone || hopzone || network) return SingletonHolder._instance; return null; } @SuppressWarnings("synthetic-access") private static class SingletonHolder { protected static final AutoVoteReward _instance = new AutoVoteReward(); } }- 13 replies
-
- hopzone
- votereward
-
(and 1 more)
Tagged with:
-
Request Vote System
iAlreadyExist replied to iAlreadyExist's question in Request Server Development Help [L2J]
anyone can help on this i try many times and fail