Skip to content

Olympiad Restriction Also Max Lvl 91

Featured Replies

first here is a max lvl 91 with normal xp bars

	<experience level="80" tolevel="4200000000" />
	<experience level="81" tolevel="6300000000" />
	<experience level="82" tolevel="10500000000" />
	<experience level="83" tolevel="16800000000" />
	<experience level="84" tolevel="27300000000" />
	<experience level="85" tolevel="44100000000" />
	<experience level="86" tolevel="71400000000" />
	<experience level="87" tolevel="115500000000" />
	<experience level="88" tolevel="186900000000" />
	<experience level="89" tolevel="302400000000" />
	<experience level="90" tolevel="489300000000" />
	<experience level="91" tolevel="791700000000" />

now model/entity/olympiad/olympiad.java

find this

		if (!noble.isNoble())
		{
			sm = new SystemMessage(SystemMessageId.ONLY_NOBLESS_CAN_PARTICIPATE_IN_THE_OLYMPIAD);
			noble.sendPacket(sm);
			return false;
		}

below add this

		if (noble.getLevel() < Config.ALT_OLY_LEVEL_NEED && Config.ALT_OLY_LEVEL_JOIN)
		{
			noble.sendMessage("You can't participate to Olympiad. You must be at least " + Config.ALT_OLY_LEVEL_NEED + " Level!");
			return false;
		}
		
		if (noble.getPvpKills() < Config.ALT_OLY_PVP_NEED && Config.ALT_OLY_PVP_JOIN)
		{
			noble.sendMessage("You can't participate to Olympiad. You must have at least " + Config.ALT_OLY_PVP_NEED + " Pvp!");
			return false;
		}

now in olympiad/OlympiadGame.java

find this

			else if (player.getInventoryLimit()*0.8 <= player.getInventory().getSize())
			{
				sm = new SystemMessage(SystemMessageId.SINCE_80_PERCENT_OR_MORE_OF_YOUR_INVENTORY_SLOTS_ARE_FULL_YOU_CANNOT_PARTICIPATE_IN_THE_OLYMPIAD);
				defaulted = true;
			}

below add this

			else if (player.getLevel() < Config.ALT_OLY_LEVEL_NEED && Config.ALT_OLY_LEVEL_JOIN)
			{
				defaulted = true;
			}
			else if (player.getPvpKills() < Config.ALT_OLY_PVP_NEED && Config.ALT_OLY_PVP_JOIN)
			{
				defaulted = true;
			}

now in configs

find this

public static boolean ALT_OLY_RECHARGE_SKILLS;

below add

	public static boolean ALT_OLY_LEVEL_JOIN;
	public static int ALT_OLY_LEVEL_NEED;
	public static boolean ALT_OLY_PVP_JOIN;
	public static int ALT_OLY_PVP_NEED;

now find

ALT_OLY_RECHARGE_SKILLS = Boolean.parseBoolean(OLYMPSetting.getProperty("AltOlyRechargeSkills", "False"));

below add

			ALT_OLY_LEVEL_JOIN = Boolean.parseBoolean(OLYMPSetting.getProperty("AltOlyLevelJoin", "False"));
			ALT_OLY_LEVEL_NEED = Integer.parseInt(OLYMPSetting.getProperty("LevelToJoin", "18"));
			ALT_OLY_PVP_JOIN = Boolean.parseBoolean(OLYMPSetting.getProperty("AltOlyPvpJoin", "False"));
			ALT_OLY_PVP_NEED = Integer.parseInt(OLYMPSetting.getProperty("PvpsToJoin", "18"));

now in olympiad setting 

# Join in oly with an specific level [True enable || False disable]
AltOlyLevelJoin = True
# If LevelToJoin = 85 only players 85++ level can join
LevelToJoin = 85

# Join in oly with an specific pvp amount [True enable || False disable]
# If PvpsToJoin = 250 only players with 250++ pvps can join
AltOlyPvpJoin = True
PvpsToJoin = 250
  • 1 month later...

Very nice

  • 2 weeks later...
  • Author

Very nice

thank you :)

  • 1 month later...

how can i add skill for the lvl 91 for examble or books that give u skill if ur lvl 90 eg plz tell me ok

how can i add skill for the lvl 91 for examble or books that give u skill if ur lvl 90 eg plz tell me ok

Go to data\xml\classes.
Choose the race you want, then find the skill with its id and change minLvl.
<skillTrees>
<!-- Wisdom -->
<skill id="328" lvl="1" sp="12500000" minLvl="76" />

em I use l2jfrozen and there is no such file - patch plz help me :D

  • Author

em I use l2jfrozen and there is no such file - patch plz help me :D

database/skill_trees

17	1267	1	Shadow Flare	36000	49

Edited by te0x

ok ty i made it from navicat :D

and how can i change for example from lvl 1 to 80 x1000 and from 80 to 91 x10 eg?

  • 1 month later...

Cool Share

done everything right but level stuck at 80 ... nothing more :|

  • 1 year later...

The only problem here is that when you are 90 level if i remember correct is that the buffer does not make you any buff . I don't know if only i encounter this problem but if not then can you please tell us a way to fix this ? thank you in advance ! 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.