Jump to content
  • 0

[HELP]Olympiad


Question

Posted

Well I would like to ask how can I disallow from a character when joining olympiad not to use some skills.

Example when a titan is in olympiad to cannot use Frenzy ? Do you know anything about how can I fix it pls ? Or if you know anything in general or if there's a code like that in here ? If it's possible and if you know reply you would do me a favor.

TY

11 answers to this question

Recommended Posts

  • 0
Posted

Well I didn't say that I want to prevent the frenzy's exploit but I just gave as an example Frenzy , if I want to dissalow from a character to use custom skills or forgoten scroll skills then how can I do ? This is what I ask thnx

  • 0
Posted

where put the code :

Index: /trunk/L2_Gameserver/java/net/sf/l2j/gameserver/model/olympiad/OlympiadGame.java
===================================================================
--- /trunk/L2_Gameserver/java/net/sf/l2j/gameserver/model/olympiad/OlympiadGame.java (revision 11)
+++ /trunk/L2_Gameserver/java/net/sf/l2j/gameserver/model/olympiad/OlympiadGame.java (revision 111)
@@ -216,4 +216,9 @@
				}

+				// Avoid prefrenzy(and others) exploit
+				player.stopSkillEffects(176);
+				player.stopSkillEffects(139);
+				player.stopSkillEffects(406);
+				player.stopSkillEffects(420);
+				
				// Heal Player fully
				player.setCurrentCp(player.getMaxCp());

 

in freya ? dont see // Heal Player fully ?? thanks for help

  • 0
Posted

Anybody knows ? What's this lol I didn't ask something like this I was speaking in general and I gave example if I want to dissallow from someone to use certain skills not only frenzy but example hmm .. seven arrow (which is a dark elf's forgoten book-skill) This is what Iam trying to find sorry if I was unclear and thanks again.

  • 0
Posted

you may check the skill conditions that your server support (<cond msgId=...> etc..</cond>

if not, you can create a class which stores a list of skill ids that are not allowed in olympiad.

When player request to use a skill, check if he is in olympad and that skill is contained in the forbidden list

  • 0
Posted

just put this code into Olympiadgame.java :D really works

 

what are u talking about? wich code?

 

and "<player olympiad="false"/>" should be in skills .xml

  • 0
Posted

where put the code :

Index: /trunk/L2_Gameserver/java/net/sf/l2j/gameserver/model/olympiad/OlympiadGame.java
===================================================================
--- /trunk/L2_Gameserver/java/net/sf/l2j/gameserver/model/olympiad/OlympiadGame.java (revision 11)
+++ /trunk/L2_Gameserver/java/net/sf/l2j/gameserver/model/olympiad/OlympiadGame.java (revision 111)
@@ -216,4 +216,9 @@
				}

+				// Avoid prefrenzy(and others) exploit
+				player.stopSkillEffects(176);
+				player.stopSkillEffects(139);
+				player.stopSkillEffects(406);
+				player.stopSkillEffects(420);
+				
				// Heal Player fully
				player.setCurrentCp(player.getMaxCp());

 

in freya ? dont see // Heal Player fully ?? thanks for help

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • try this one instead. The one he shared affects every single NPC/player character in the game, the one I posted only affects player characters  https://drive.google.com/file/d/1UtccbD9e50x3WEnQBab2PTZnBHwpcGYM/view?usp=sharing or perhaps i misunderstood; if you could please post a full explanation of the problem you're having with the files, unfortunately i think whatever you're using to translate to english is a bit bad
    • <dailyReward days="28" autoOpen="true" minimumOnlineTimeSeconds="30" oneRewardPerIP="true" resetIfMissDay="true">   For now, I have these settings in the XML—this is the V1 version I created, though I plan to make further improvements over time. Of course, I’ll also add more protections—MAC, HWID, and perhaps others like account-based restrictions—to make it more secure. We can also implement non-tradable items to further enhance the system's security. I’ll keep posting updates and refining both the system and the interface. I might make a video tomorrow; if you look at the top, you'll see the "auto-open" feature can be toggled on or off, allowing users to rely solely on the `.daily` command. Cheers! Note: If I sell it in this state, I’ll provide support and roll out updates to users. I’m not forcing anyone to buy anything; I’d even provide the patch files so that anyone with the necessary skills can add features, modify it, or improve it further.
    • If the problem is that the target is lost, the action of aiming at another character, upon losing collision, does not allow aiming.   This one works as it should, allowing you to target characters
    • MICROTEXT AND WATERMARKS BREAK MOST RENDERINGS Microtext and watermarks aren’t just small decorative details. They are one of the most common reasons a document fails verification, even when it looks decent at first glance. The issue is that these elements are almost impossible to reproduce “by eye.” Microtext requires precise geometry and legibility at a very small size, while a watermark needs the correct density, transparency, and accurate placement relative to other security features. Any deviation becomes obvious during detailed inspection. ▪ What’s most often done wrong: - microtext is drawn too thick or blurry - the watermark is made either too visible or almost invisible - the positioning between microtext and watermark is ignored - the original printing technology isn’t taken into account when choosing density and shape - The stronger the document’s security features, the less room there is for approximation. What matters here isn’t visual similarity, but accurate reproduction of the original technical characteristics. If your document contains microtext and watermarks, this is always an area that requires extra attention. Write to us in DMs. We’ll review your case and point out exactly which details need the highest precision during rendering. › TG: @mustang_service_ms ( https:// t.me/ mustang_service_ms ) › Channel: Mustang Service ( https:// t.me/ +JPpJCETg-xM1NjNl ) #drawing #microtext #photoshop #editing #watermarks
  • 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..