-
Posts
689 -
Joined
-
Last visited
-
Days Won
16 -
Feedback
100%
Content Type
Articles
Profiles
Forums
Store
Everything posted by BruT
-
WTS [Wts]L2Meredith Server (200++ ppl online)
BruT replied to Gekas®'s topic in Marketplace [L2Packs & Files]
I did not know you were so stupid but anyway -
WTS [Wts]L2Meredith Server (200++ ppl online)
BruT replied to Gekas®'s topic in Marketplace [L2Packs & Files]
shut up , read the discription then comment its dedicated not home pc. keep dreaming that his home pc is with 8gb ram if you had even a little brain you could check the machine picture and see that is registered on worldstream but seems you doesnt even have it -
hes spaming each topic at [share] Lineage II Develop [L2J Server] section
-
man stop spaming my topic!! yes 50 cents thats the cost of this code since it took my 2 mins to do it
-
whats so funny i am in need of money
-
bump. price preedited
-
my karma isn't fixed yet.i didnt disrespect any staff member and i expect the same from them.
-
wait a bit lol. who are you to lock my topics with my own files that i made?dont tell me that i sold the file or some similar shits since i am the own who made it i am the one who can share it and noone else even if he bought or stole it from somewhere this forum wasnt made for your own Profits, it was made for the users/peoples who is in need of something and since some ppl would be more happy by getting something they need you should be happy too somethihng i wonder how you ppl act
-
thats what i am doing, sharing better version of the shitty one.. his code doesnt have future or will not have improved one cuz he doesnt know coding.. since someone shared it i just decided to share my improved one too! whats wrong ?
-
oh god you guys are insane.. the file(the new code) was made 20 days ago " 15July 2010 y., 12:51:16 " do you want screenshot or something?
-
there are tons of differences first of all the way it works is different the contain check is different the way it starts to reward the ppl is different the arrays are added to make easly confirable etc and etc even the coding style is different and you guys tell that the code is not different ? lol ofc isnt it may do the same as the other one but is improved one and you guys cant prevent me from sharing my own codes.. its called corruption why didnt u even lock/remove topics from the ppl who posted 50bilion pvp color systems or some kind of retarded codes that are coded differently every time
-
call me a fag if the codes are same..
-
then he copied my code or you cant read java codes his file is 4,28 KB (4 392 bytes), mine is 6,91 KB (7 080 bytes) and the files are same ? LOL thats the second version package com.l2jserver.gameserver.model; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.URL; import java.util.Collection; import com.l2jserver.gameserver.Announcements; import com.l2jserver.gameserver.ThreadPoolManager; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; public class AutoVoteRewardHandler { private final String HOPZONE = "http://l2.hopzone.net/lineage2/moreinfo/LineageFort/82167.html"; // 60 * 1000(1000milliseconds = 1 second) = 60seconds private final int initialCheck = 60 * 1000; // 1800 * 1000(1000milliseconds = 1 second) = 1800seconds = 30minutes private final int delayForCheck = 1800 * 1000; private final int[] itemId = { 3500, 5000, 6500 }; private final int[] itemCount = { 1, 5, 4 }; private final int[] maxStack = { 1, 1, 1 }; private final int votesRequiredForReward = 10; // do not change private int lastVoteCount = 0; private AutoVoteRewardHandler() { System.out.println("Vote Reward System Initiated."); ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new AutoReward(), initialCheck, delayForCheck); } private class AutoReward implements Runnable { public void run() { int votes = getVotes(); System.out.println("Server Votes: " + votes); if (votes != 0 && getLastVoteCount() != 0 && votes >= getLastVoteCount() + votesRequiredForReward) { Collection<L2PcInstance> pls = L2World.getInstance().getAllPlayers().values(); L2ItemInstance item; for (L2PcInstance player : pls) { if (player != null) { for (int i = 0; i < itemId.length; i++) { item = player.getInventory().getItemByItemId(itemId[i]); if (item == null || item.getCount() < maxStack[i]) { player.addItem("reward", itemId[i], itemCount[i], player, true); } } } } setLastVoteCount(getLastVoteCount() + votesRequiredForReward); } Announcements.getInstance().announceToAll("Server Votes: " + votes + " | Next Reward on " + (getLastVoteCount() + votesRequiredForReward) + " Votes."); if (getLastVoteCount() == 0) { setLastVoteCount(votes); } } } private int getVotes() { URL url = null; InputStreamReader isr = null; BufferedReader in = null; try { url = new URL(HOPZONE); isr = new InputStreamReader(url.openStream()); in = new BufferedReader(isr); String inputLine; while ((inputLine = in.readLine()) != null) { if (inputLine.contains("moreinfo_total_rank_text")) { return Integer.valueOf(inputLine.split(">")[2].replace("</div", "")); } } } catch (IOException e) { e.printStackTrace(); } 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; } public static AutoVoteRewardHandler getInstance() { return SingletonHolder._instance; } @SuppressWarnings("synthetic-access") private static class SingletonHolder { protected static final AutoVoteRewardHandler _instance = new AutoVoteRewardHandler(); } } thats the first version package com.l2jserver.gameserver.model; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.URL; import java.util.Collection; import com.l2jserver.gameserver.Announcements; import com.l2jserver.gameserver.GmListTable; import com.l2jserver.gameserver.ThreadPoolManager; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; import com.l2jserver.gameserver.model.L2World; public class AutoVoteRewardHandler { private String HTML = "http://l2.hopzone.net/lineage2/moreinfo/LineageFort/82167.html"; private int lastVoteCount = 0; private int initialCheck = 60 * 1000; // 60 seconds = 1 minutes private int delayForCheck = 300 * 1000; // 300 seconds = 10 minutes private int reward1Id = 6577; private int reward1Count = 1; private int reward2Id = 6578; private int reward2Count = 1; private int votesForReward = 5; private int maxRewardStack = 2; private AutoVoteRewardHandler() { System.out.println("Vote Reward System activated."); ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new AutoReward(), initialCheck, delayForCheck); } private class AutoReward implements Runnable { public void run() { System.out.println("Vote Count Check."); if (reward1Id == 0 || reward1Count == 0 || reward2Id == 0 || reward2Count == 0) { GmListTable.broadcastMessageToGMs("The rewards aren't Identified. Please take a look."); return; } int newVoteCount = getVotes(HTML); System.out.println("newVoteCount:" + newVoteCount); System.out.println("getLastVoteCount:" + getLastVoteCount()); if (newVoteCount != 0 && getLastVoteCount() != 0 && newVoteCount >= getLastVoteCount() + votesForReward) { Collection<L2PcInstance> pls = L2World.getInstance().getAllPlayers().values(); for (L2PcInstance player : pls) { if (player != null) { L2ItemInstance item1 = player.getInventory().getItemByItemId(reward1Id); if (item1 == null || item1.getCount() < maxRewardStack) { player.addItem("reward", reward1Id, reward1Count, player, true); } L2ItemInstance item2 = player.getInventory().getItemByItemId(reward2Id); if (item2 == null || item2.getCount() < maxRewardStack) { player.addItem("reward", reward2Id, reward2Count, player, true); } } } setLastVoteCount(getLastVoteCount()+votesForReward); } Announcements.getInstance().announceToAll("La2Fort's Current vote count is: " + newVoteCount); Announcements.getInstance().announceToAll("The next reward will be given at " + (getLastVoteCount()+votesForReward) + " Votes."); if (getLastVoteCount() == 0) { setLastVoteCount(newVoteCount); } } } private int getVotes(String urlString) { InputStreamReader isr = null; BufferedReader in = null; try { URL url = new URL(urlString); isr = new InputStreamReader(url.openStream()); in = new BufferedReader(isr); String inputLine; int voteCount = 0; while ((inputLine = in.readLine()) != null) { if (inputLine.contains("moreinfo_total_rank_text")) { int Sub = 12;// 1-9 switch (inputLine.length()) { case 116: Sub = 13; // 10+ break; case 117: Sub = 14; // 100+ break; case 118: Sub = 15; // 1000+ break; case 119: Sub = 16; // 10000+ break; } voteCount = Integer.parseInt(inputLine.substring(inputLine.length() - Sub, inputLine.length() - 11)); break; } } return voteCount; } catch (IOException e) { e.printStackTrace(); return 0; } finally { try { in.close(); } catch (IOException e) {} try { isr.close(); } catch (IOException e) {} } } private void setLastVoteCount(int voteCount) { lastVoteCount = voteCount; } private int getLastVoteCount() { return lastVoteCount; } public static AutoVoteRewardHandler getInstance() { return SingletonHolder._instance; } @SuppressWarnings("synthetic-access") private static class SingletonHolder { protected static final AutoVoteRewardHandler _instance = new AutoVoteRewardHandler(); } } the codes are same right? there isnt difference.. OH yes from your view point they does the same but they doesnt work the same way
-
and who locked my latest share ? which contains an another and different file? lol i didnt saw a rule to lock ppls shares..
-
its not even his own code lmao i can easly prove that i had the file first so ? he is abuser. punishment is required
-
someone decreased my karma for no reason and i expect the one who did it to be punished
-
WTS [WTS]Vote Reward System[GameSites 200]
BruT replied to Rain^'s topic in Marketplace [L2Packs & Files]
let rain^ to get 300 more euros then share it ^_^ -
actually the credits are mine http://www.l2jserver.com/trac/changeset/2721
-
WTS [WTS]Vote Reward System[GameSites 200]
BruT replied to Rain^'s topic in Marketplace [L2Packs & Files]
you can share the useless and basic one but not the advanced one which reads the voters :\ coolis why dont u share the Vote Reward for each vote. When someone votes then he receives one reward In game JAVA+PHP! Price : 10 euro via paypal or 10 via paysafecard. Available for: Gamesites 200. pm me for more info. -
oh shit ;( i will have to kill myself now :/
-
bump
-
WTS [WTS]Vote Reward System[GameSites 200]
BruT replied to Rain^'s topic in Marketplace [L2Packs & Files]
wts the 'Mass Reward System' for 1 euro pm me -
bump
-
bump. price re-edited
-
bump. price edited
