Jump to content

Recommended Posts

Posted

someone decreased my karma for no reason and i expect the one who did it to be punished

Who  Whom  What  For What  Where  When

Coolis® (+15/-3) brut (+5/-6) - reshare my Topic... In topic Today at 04:32:50 PM

 

and you reshare it again lol

Posted

your previous topic's subject was deleted by a l2mod and you re-made another topic like that. -> for this reason i won't fix your karma.

 

@Coolis: you already reported that topic, a l2mod fixed the problem, there was no need to dekarme him, beside it is consider as an action which should be took by a mod.

 

In conclusion: karma is fine. Only if you need to delete the dekarma of coolis and get a dekarma by staff.

 

Posted

and who locked my latest share ? which contains an another and different file? lol i didnt saw a rule to lock ppls shares..

it is same omfg

Posted

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

Posted

Your topic has been reported twice.

L2J mods will decide about it.

Matim or Setekh.

Posted

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

Posted

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

we did OMFG

 

your code is same

 

you just used other methods but same shit with this: http://www.maxcheaters.com/forum/index.php?topic=167517.0

 

this start because Coolis shared this code which has been selled by you and rain for moneys. http://www.maxcheaters.com/forum/index.php?topic=165496.0 and here http://www.maxcheaters.com/forum/index.php?topic=157387.0

And now you got mad and jelous with Coolis coz he shared and hide it.

you shared it once (not hided) and your topic subject was delete by l2mod.

after that that you re-open eclipse and made some changes to look like another code and you post it for second time.

 

Posted

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?

Posted

oh god you guys are insane.. the file(new code) was made 15 days ago " 20 July 2010 y., 12:51:16 "

do you want screenshot or something?

yessssss you were selling it for your own business

and Coolis shareddddd it for mxc

is too late now to make the good and helpful guy.

 

if you are so good in java go prove us wrong and make smth good for mxc.

Posted

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 ?

Guest
This topic is now closed to further replies.


  • Posts

    • 🏆 UPDATE: CLAN RACE — R$ 300 (PIX in Brazil, or the equivalent in USDT/PayPal) for the first clan ready for World B PvP Worlds opens on Friday, September 25, 19:00 BRT (GMT-3). Everyone starts together, from scratch. The challenge: the first clan with 9 members ready to enter World B wins. Ready = level 51, World C registered and the full C set equipped (weapon, armor and jewelry) with at least 3 attributes on each piece. Only Queen Ant stands between you and World B. Rules: main character only; 9 different people, each on their own PC; the server records the exact time each member became ready. Deadline: October 14. Sign up your clan on our Discord (link on the site): l2mog.com/pvp
    • 🚀 L2-Gold Custom PvP – Beta Test is LIVE! 🚀 Hey guys! We are opening a brand new Custom PvP server and looking for passionate players to help us test it out before the official grand opening! 💥 What we offer: High Rates & Custom PvP Gameplay Custom NPC Buffer, GM Shop & Global GK Balanced classes and epic custom items Interlude with c4 skills 🎁 Beta Rewards: Every active tester who reports bugs or gives feedback will receive Exclusive Custom Rewards on the official launch day! 🛑 No website needed yet! All files, patch, and support are inside our Discord. 🔗 Join Beta Test Here: [https://discord.gg/9qkSxQtTq]
    • "CAN YOU DO A BULGARIAN REVOLUT?" – WE DID. FIRST DRAFT, NO EDITS The request came in short: a photo of a bank card, Bulgaria, Revolut. We said yes and asked the only question that matters – what data. The client was on the road, asked for a couple of hours, then sent the lot: number, expiry, CVV, payment system, bank, cardholder name. Then came the part the client never sees: - ran the number through Luhn – the check digit has to add up, otherwise the card is dead the second anything automated looks at it - matched the BIN to the issuer: Revolut in Bulgaria isn't a "local bank", the cards run through Revolut Bank UAB. The number range has to actually belong there, not just start with the right digit - built the current design, not a five-year-old picture: vertical layout, flat laser print instead of embossing, correct chip module, contactless mark where it belongs - the payment system logo – with the right gradient where the circles overlap and the wordmark sitting exactly where it should. A small thing that kills half the fakes out there - and finally, physics. Plastic has to catch light: a highlight along the edge, a micro-shadow under the chip, a faint fingerprint. A phone shot, not a render Sent the draft for approval. The client looked it over, signed off with zero corrections – final files went out. One pass, no rework. A card is a deceptively simple document. Looks like a rectangle and sixteen digits. In reality it's maths in the number, a tie to the issuer, a current design and light on plastic. Miss any one of the four and the file gets exactly two seconds of attention. Need a card for a specific bank and country? Message us. We'll tell you straight what's realistic for your case – then build it. { all data published with the client's consent} › TG: @mustang_service_ms ( https:// t.me/ mustang_service_ms ) › Channel: Mustang Service ( https:// t.me/ +JPpJCETg-xM1NjNl ) #drawing #card #photoshop #revolut #case
    • ============================================================               CLExt Classic Interlude: v7.80 ============================================================   01. Fixed ValidateLocation handling and player/client position synchronization. 02. Added protection against invalid coordinates and characters falling under the map. 03. Improved XY/Z position and heading validation. 04. Fixed MoveToLocation and MoveToPawn packet conversion and target validation. 05. Fixed TargetSelected, TargetUnselected and MyTargetSelected packet handling. 06. Improved GeoData Z-location handling and disabled unsafe PathNode modifications. 07. Added ExUserInfoInventoryWeight support. 08. Fixed inventory weight and maximum load synchronization. 09. Fixed incorrect 0% inventory weight after character login. 10. Added automatic inventory weight updates after EnterWorld and inventory changes. 11. Added inventory weight packet spam protection and safe weight caching. 12. Fixed BuyList and SellList inventory, slot and weight synchronization. 13. Improved NPC target and Buy/Sell packet validation. 14. Reworked mail attachment inventory and weight validation. 15. Added all-or-nothing mail attachment receiving and safe retry handling. 16. Fixed stackable mail attachment validation and INT_MAX overflow protection. 17. Improved COD Adena validation and post-mail inventory weight refresh. 18. Improved Warehouse Deposit and Withdraw validation. 19. Added protection against malformed warehouse item counts, DBIDs and amounts. 20. Added warehouse INT_MAX, CItem and pSID validation. 21. Improved warehouse anti-dupe protection. 22. Reworked the HTML Cache system for improved stability and memory usage. 23. Added lazy HTML loading instead of loading ~20,000 files during startup. 24. Fixed HTML Cache startup crashes with large HTML collections. 25. Added thread-safe HTML Cache access and Clear/Reload support. 26. Added bad allocation, invalid HTML and oversized HTML protection. 27. Reduced HTML Cache RAM usage, startup allocations and disk I/O. 28. Added HTML Caching ON/OFF with live HTM loading support. 29. Fixed ToggleCachingHook and added VS2005-compatible live HTML handling. 30. Fixed ShortcutInit processing and skill synchronization order. 31. Improved shortcut item validation, augmentation handling and va_list safety. 32. Added LiveMode Ability Point system. 33. Added inventory-item-based Ability Points with configurable pointItemId. 34. Preserved the original level-based Ability Point system as fallback. 35. Fixed incorrect Ability Point display and inventory synchronization. 36. Improved Ability skill learning and point validation. 37. Improved OfflineShopRestore loading and FakePC/DBID handling. 38. Added safer OfflineShopRestore socket limits and batch processing. 39. Prevented thousands of restore sockets from loading simultaneously. 40. Added delayed, non-blocking OfflineShopRestore after server startup. 41. Improved OnEnterWorld initialization order and stability. 42. Improved inventory weight, SkillList and acquired-skill initialization after login. 43. Added VIP integration to the EnterWorld process. 44. Added safe UserExtData initialization without modifying the native User structure. 45. Improved duplicate Bronch Jewel and equipped-slot protection. 46. Improved Bracelet, Belt, Bronch and general UseItem validation. 47. Improved general packet, UserSocket, User, pSD and Creature validation. 48. Added safer INT32/INT64 packet handling and malformed-packet protection. 49. Improved L2Server startup memory usage and lazy resource loading. 50. Reduced unnecessary startup allocations. 51. Improved account-only KeyEngine authentication and remote account validation. 52. Removed account expiration-time requirements. 53. Added updater/restart design without requiring CLExtUpdate.exe. 54. Improved CLIEXT HWID, shared-memory and client/server version validation. 55. Improved ReadFile/WriteFile hooks and MemoryProtector handling. 56. Added UoPilot and Extreme Injector detection handling. 57. Reworked VIP point loading, saving and database synchronization. 58. Fixed VIP Level 0 initialization and first VIP activation. 59. Fixed vip.htm activation after login and from party-shared points. 60. Fixed VIP points being incorrectly reset before successful activation. 61. Improved VIP progression from Level 1 through Level 7. 62. Added proper VIP Level 7 MAX/DONE behavior with no Level 8 requirement. 63. Disabled further VIP point collection after reaching maximum level. 64. Reworked VIP BonusInfo/ReceiveVipInfo packet synchronization. 65. Fixed VIP tier, points, duration and level requirement packet fields. 66. Added VIP duration, tier, point and User validation protections. 67. Added safer 64-bit VIP EXP and party EXP calculations. 68. Preserved subclass maximum EXP protection. 69. Improved ItemDataEx validation during character loading. 70. Fixed augmentation loss during login, relog and server restart. 71. Added safe restoration of augmentation IDs directly from the database. 72. Added CItem, pSID, pExItem and User validation during ItemDataEx loading. 73. Improved Shadow Item mana and item lifetime loading. 74. Preserved item protection timeout data during character loading. 75. Added augmentation loading diagnostics and protected valid augmentation data. 76. Preserved database value 0 for genuinely non-augmented items. 77. Added RaidBoss Status synchronization with the World Map. 78. Fixed alive/dead RaidBoss status updates after spawn and death. 79. Added RaidBossStatus as the source of truth for RaidBoss map packets. 80. Fixed RaidBoss map status synchronization after server/database loading.
    • 🚀 L2AQUILA — GRAND OPENING TOMORROW! Lineage 2 Gracia Final — Like L2 Pride, but fresh. The server you've been waiting for opens tomorrow, Saturday 19/09, 16:00 (Greek time) — No Wipe · 24/7 · Anti-DDoS. ⚔️ What's inside: • EXP 9300x · SP 3000x · Adena 5500x · High drop • Max enchant +20 · Safe +3 · 24 buffs / 3 debuffs • 20 free Custom Coins for every new player on day one! • Custom farming zones (Cave of Trials, Cemetery, Ruins of Despair + more) • PvP Events · Olympiads · Offline Trading · Weddings · Balanced classes • Starter + Dynasty shops in every town — playable from minute one 📥 Download: Client + Patch at https://l2aquila.com/index.html 💬 Discord: discord.gg/5ZyBRvG4k · Facebook: facebook.com/l2aquila Be there at opening hour — bring your squad. See you at the Grand Opening! 🔥
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..