Jump to content

Recommended Posts

Posted

Alright.

So I'm guessing most of you know I don't comply with Interlude Projects and I don't offer them help at all.

But this time I decided to open an exception and give help to an old friend.

Here's the result:

 

Gracia Final:

 

@Override
protected void onForcedDisconnection()
{
	if (_log.isDebugEnabled())
		_log.info("Client " + toString() + " disconnected abnormally.");
	if(_activeChar.isInOlympiadMode())
	{
		final String POINTS = "olympiad_points";
		final int charId = _activeChar.getObjectId();

		OlympiadGame game = Olympiad.getInstance().getOlympiadGames().get(_activeChar.getOlympiadGameId());

		L2PcInstance _opponent = L2World.getInstance().getPlayer(_activeChar.getOlympiadOpponentId());

		final StatsSet playerStat = Olympiad.getNobleStats(charId);
		final int playerPoints = playerStat.getInteger(POINTS);
		final int lostPoints = playerPoints / 3;

		playerStat.set(POINTS, playerPoints - lostPoints);
		Olympiad.updateNobleStats(charId, playerStat);
		SystemMessage sm = new SystemMessage(SystemMessageId.C1_HAS_LOST_S2_OLYMPIAD_POINTS);
		sm.addString(_activeChar.getName());
		sm.addNumber(lostPoints);
		_opponent.sendPacket(sm);
                       _log.info("Olympiad Fighter " + _activeChar.getName() + " has been Punished and Lost " + lostPoints + " Points.");
	}
}

 

Interlude:

 

Well just click here since I made that lool.

 

What does it do ?

Basically if the player disconnects from Olympiad (Ctrl + Alt + Del) his Olympiad Points are reduced to 1 / 3 and displays the information to his opponent. The thing is you'll have to change the visibility of some methods however, if you don't want to do this the best way is to make a new method on OlympiadGame and just call it from L2GameClient.

 

Hope you find it useful.

  • 2 weeks later...
Posted

and i think that is dedis muteli da ormoci kachagi

English only in this Section.

Please don't make me punish you. Respect the rules and you'll be respected ;)

Posted

English only in this Section.

Please don't make me punish you. Respect the rules and you'll be respected ;)

 

Respect rules? i think he havent even tryed to read rules

  • 7 months later...
Posted

Well i was getting an error here:C1_HAS_LOST_S2_OLYMPIAD_POINTS until i changed it to that:S1_HAS_LOST_S2_OLYMPIAD_POINTS did i did something wrong? (interlude code latest l2j )

Posted

you added this code?

 

 

java/net/sf/l2j/gameserver/network/SystemMessageId.java

/** 
* ID: 782<br> 
* Message: $s1 Has Lost $s2 Olympiad Points. 
*/ 
C1_HAS_LOST_S2_OLYMPIAD_POINTS(782); 

Posted

you added this code?

 

 

java/net/sf/l2j/gameserver/network/SystemMessageId.java

/** 
* ID: 782<br> 
* Message: $s1 Has Lost $s2 Olympiad Points. 
*/ 
C1_HAS_LOST_S2_OLYMPIAD_POINTS(782); 

nop i just did thanks guma :D

Guest
This topic is now closed to further replies.


  • Posts

    • - New Features in Anosim https://anosim.net -   You can now share your numbers with others via a unique link - no need to give them access to your account! How to Share Number https://prnt.sc/K83lxOjS-Fyb   How to Revoke Accsess: https://prnt.sc/jkVIQS2lhxvA   --- --- --- --- --- --- --- New OTP / SMS Activation Locations: - USA  - Australia - Honduras - Kenia
    • How to Create Multi-Accounts For TikTok, Youtube, Gmail....   Short Guide to Managing Multiple TikTok Accounts TikTok's anti-spam systems detect duplicate accounts via device IDs, IP addresses, and behavior. To avoid bans, follow these methods. 1. For 3-5 Accounts (Easiest) Use TikTok's built-in feature to add accounts in your app settings. Limitation: Frequent switching on the same device/IP can still trigger restrictions. 2. For Bulk Accounts (Safest) To make each account appear unique, you need to mask your digital footprint. Unique Emails & Proxies: Use a separate email and a residential/mobile proxy (e.g., MoMoProxy) for each account. Avoid free proxies. Anti-Detect Browsers: Use tools like AdsPower or Multilogin to create unique browser profiles, each with its own proxy and randomized digital fingerprint.   MoMoProxy Integrate with Adspower Browser   Process: In each unique browser profile, log into a separate Gmail and then create the TikTok account. 3. For One Device (Limited Use) Use app cloners like Parallel Space (Android) or Dual Space (iOS). Limitation: Not foolproof, as TikTok can sometimes detect cloned apps. Key Best Practices to Avoid Bans: Isolation: Use one proxy and one device/browser profile per account. Warm-Up: Act organically—watch videos, like, and comment—before posting content. Appear Unique: Use different usernames, bios, and profile pictures for each account. Avoid VPNs: Standard VPN IPs are often detected and flagged.   Youtube Video On How to Create TikTok Accounts  https://youtu.be/ZUihXj7BO4M  
    • How to Create Multi-Accounts For TikTok, Youtube, Gmail....   Short Guide to Managing Multiple TikTok Accounts TikTok's anti-spam systems detect duplicate accounts via device IDs, IP addresses, and behavior. To avoid bans, follow these methods. 1. For 3-5 Accounts (Easiest) Use TikTok's built-in feature to add accounts in your app settings. Limitation: Frequent switching on the same device/IP can still trigger restrictions. 2. For Bulk Accounts (Safest) To make each account appear unique, you need to mask your digital footprint. Unique Emails & Proxies: Use a separate email and a residential/mobile proxy (e.g., MoMoProxy) for each account. Avoid free proxies. Anti-Detect Browsers: Use tools like AdsPower or Multilogin to create unique browser profiles, each with its own proxy and randomized digital fingerprint.   MoMoProxy Integrate with Adspower Browser   Process: In each unique browser profile, log into a separate Gmail and then create the TikTok account. 3. For One Device (Limited Use) Use app cloners like Parallel Space (Android) or Dual Space (iOS). Limitation: Not foolproof, as TikTok can sometimes detect cloned apps. Key Best Practices to Avoid Bans: Isolation: Use one proxy and one device/browser profile per account. Warm-Up: Act organically—watch videos, like, and comment—before posting content. Appear Unique: Use different usernames, bios, and profile pictures for each account. Avoid VPNs: Standard VPN IPs are often detected and flagged.   Youtube Video On How to Create TikTok Accounts  https://youtu.be/ZUihXj7BO4M        
    • If you created it yourself for the first races just duplicate it in the same way for the other races (that is make the animations for the other races as well) and everything will work
    • OpenCV bot working for all l2 clients... but need special set for each server
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock