Jump to content
  • 0

[Help] Gracia Final olympiad and hero problem.


Question

Posted

Hello again, i use l2jserver and i use last rev of gf. My olympiad confing looks like this:

 

# ---------------------------------------------------------------------------
# Olympiad Settings
# ---------------------------------------------------------------------------
# The defaults are set to be retail-like. If you modify any of these settings your server will deviate from being retail-like.
# Warning:
# Please take extreme caution when changing anything. Also please understand what you are changing before you do so on a live server.
# ---------------------------------------------------------------------------
# Default: 1
CurrentCycle = 1

# Default: 0
Period = 0

# Default: 0
OlympiadEnd = 1267437600250

# Default: 0
ValidationEnd = 0

# Default: 0
NextWeeklyChange = 1266347137250

 

Also i searched some and found that i dont have net/sf/l2j/gameserver/olympiad java file.

 

The second thing i would like to do is for the players who have subclass, when they are in their sub they cant use hero skills. How can i fix this?

 

Thanks in advance.

13 answers to this question

Recommended Posts

  • 0
Posted

Also i searched some and found that i dont have net/sf/l2j/gameserver/olympiad java file.

Because its compiled?

  • 0
Posted

Ok found it on net.sf.l2j.gameserver.model.olympiad.olympiad.java.

How to change the number of needed players to start olympiad?

Edit: Should i post the code from olympiad.java here?

  • 0
Posted

If you've found it then start reading it.

Trust me,you'll find the min number of required players in no time. Just be patient ^^

  • 0
Posted

Ummm i read it 100% but didnt find anything like minimum required players . . . maybe its called with another words. Can you find it please?

 

The code is too big :S get the file here : http://rapidshare.com/files/361037482/Olympiad.java

 

Thanks in advance .

 

  • 0
Posted

Required number of participants config its not in Olympiad.java.If you use recompiled or compiled or whatever must be a General.properties and a config about Olympiad..Something like this

# ---------------------------------------------------------------------------

# Olympiad

# ---------------------------------------------------------------------------

# Olympiad Start Time in Military hours Default 6pm (18)

# Default: 18

AltOlyStartTime = 18

 

# Olympiad Start Time for Min's, Default 00 so at the start of the hour.

# Default: 00

AltOlyMin = 00

 

# Olympiad Competition Period, Default 6 hours.

# (If set different, should be increment by 10mins)

# Default: 21600000

AltOlyCPeriod = 21600000

 

# Olympiad Battle Period, Default 6 minutes.

# Default: 360000

AltOlyBattle = 360000

 

# Olympiad Weekly Period, Default 1 week

# Default: 604800000

AltOlyWPeriod = 604800000

 

# Olympiad Validation Period, Default 24 Hours.

# Default: 86400000

AltOlyVPeriod = 86400000

 

# Required number of participants for Classed and Non-Classed matches, Default 5 & 9

# Default: 5

AltOlyClassedParticipants = 5

 

# Default: 9

AltOlyNonClassedParticipants = 5

 

# Number used for displaying amount of registered participants, messages "Fewer than ..." or "More than ...".

# 0 for displaying digits instead of text phrase (old style).

# Default: 100

AltOlyRegistrationDisplayNumber = 100

 

# Olympiad battle winner reward for class and non-class games.

# Default: 13722

AltOlyBattleRewItem = 13722

 

# Default: 50

AltOlyClassedRewItemCount = 50

 

# Default: 30

AltOlyNonClassedRewItemCount = 30

 

# ItemId for this reward.

# Default: 13722

AltOlyCompRewItem = 13722

 

# Rate to exchange points to reward item.

# Default: 1000

AltOlyGPPerPoint = 1000

 

# Noblesse points awarded to Heros.

# Default: 180

AltOlyHeroPoints = 180

 

# Noblesse points awarded to Rank 1 members.

# Default: 120

AltOlyRank1Points = 120

 

# Noblesse points awarded to Rank 2 members.

# Default: 80

AltOlyRank2Points = 80

 

# Noblesse points awarded to Rank 3 members.

# Default: 55

AltOlyRank3Points = 55

 

# Noblesse points awarded to Rank 4 members.

# Default: 35

AltOlyRank4Points = 35

 

# Noblesse points awarded to Rank 5 members.

# Default: 20

AltOlyRank5Points = 20

 

# Maximum points that player can gain/lose on a match.

# Default: 10

AltOlyMaxPoints = 10

 

# Hero tables show last month's winners or current status.

# Default: True

AltOlyShowMonthlyWinners = True

 

# Olympiad Managers announce each start of fight.

# Default: True

AltOlyAnnounceGames = True

 

# Restrict specified items in Olympiad. ItemID's need to be separated with a comma (ex. 1,200,350)

# Default: 0

AltOlyRestrictedItems = 0

 

# Enchant limit for items during Olympiad battles. Disabled = -1.

# Default: -1

AltOlyEnchantLimit = -1

 

# Log all Olympiad fights and outcome to olympiad.csv file.

# Default: False

AlyOlyLogFights = False

  • 0
Posted

Yea i founded it before check your post :S its in Character.properties.

 

Ok and what about the hero skills with subclass? How can i make subclass characters to be able to cast hero skills?

  • 0
Posted

Try

 

L2PcInstance.java

 

public void setHero(boolean hero)

 

after

		if (hero && _baseClass == _activeClass)
	{
		for (L2Skill s : HeroSkillTable.GetHeroSkills())
			addSkill(s, false); //Dont Save Hero skills to database
	}

 

add

		else if (isSubClassActive())
	{
		for (L2Skill s : HeroSkillTable.GetHeroSkills())
			addSkill(s, false);
	}

 

Dunno if it will work. It's just an idea.

  • 0
Posted

If you were a decent person you'd share it so that other people with the same problem would know how to fix it.

We've helped you and now you'll help someone else.

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

    • ## [1.4.0] - 2026-01-28   ### ✨ New Features - **Vote System**: Lineage 2 servers can now use our vote–reward system. Players vote on the website and claim rewards in-game (1 vote = 1 claim) - **Vote Page**: On each server’s page (`/servers/<server>`), a **“Vote for Server”** button opens a dedicated vote page with cooldown info and optional Turnstile verification - **By Votes View**: The **“By Votes”** tab on the main page shows **actual vote counts** per server - **API Documentation**: New **API Docs** page at `/docs` (and footer link) with HMAC auth, endpoints, and examples for game server integration - **Vote API (My Servers)**: Server owners can open **“Vote API”** in My Servers to manage credentials, cooldown, allowed IPs, and open the docs   ### 🔄 Improvements - **Server Pages**: Single-server data is cached and loads faster; server pages can be opened by ID or by name (e.g. `/servers/my-server-name`) - **API Root**: Visiting the API root redirects to the docs URL configured in admin (default: site docs page) - **Admin Panel**: New **“Vote System”** tab for global settings (Turnstile, API security, default cooldown, docs URL)   ### 🔐 Security & Reliability - Turnstile (CAPTCHA) support for vote submissions to reduce abuse - HMAC-protected game server API for secure vote check/claim and stats
    • "I recently purchased the account panel from this developer and wanted to leave a positive review.   The transaction was smooth, and the developer demonstrated exceptional professionalism throughout the process.   What truly sets them apart is their outstanding post-sale support. They are responsive, patient, and genuinely helpful when addressing questions or issues. It's clear they care about their customers' experience beyond just the initial sale.   I am thoroughly satisfied and grateful for the service. This is a trustworthy seller who provides real value through both a quality product and reliable support. 100% recommended."
    • Server owners, Top.MaxCheaters.com is now live and accepting Lineage 2 server listings. There is no voting, no rankings manipulation, and no paid advantages. Visibility is clean and equal, and early listings naturally appear at the top while the platform grows. If your server is active, it should already be listed. Submit here https://Top.MaxCheaters.com This platform is part of the MaxCheaters.com network and is being built as a long-term reference point for the Lineage 2 community. — MaxCheaters.com Team
    • ⚙️ General Changed “No Carrier” title to “Disconnected” to avoid confusion after abnormal DC. On-screen Clan War kill notifications will no longer appear during Sieges, Epics, or Events. Bladedancer or SwordSinger classes can now log in even when Max Clients (2) is reached, you cannot have both at the same time. The max is 3 clients. Duels will now be aborted if a monster aggros players during a duel (retail-like behavior). Players can no longer send party requests to blocked players (retail-like). Fixed Researcher Euclie NPC dialogue HTML error. Changed Clan leave/kick penalty from 12 hours to 3 hours. 🧙 Skills Adjusted Decrease Atk. Spd. & Decrease Speed land rates in Varka & FoG. Fixed augmented weapons not getting cooldown when entering Olympiad. 🎉 Events New Team vs Team map added. New Save the King map added (old TvT map). Mounts disabled during Events. Letter Collector Event enabled Monsters drop letters until Feb. 13th Louie the Cat in Giran until Feb. 16th Inventory slots +10 during event period 📜 Quests Fixed “Possessor of a Precious Soul Part 1” rare stuck issue when exceeding max quest items. Fixed Seven Signs applying Strife buff/debuff every Monday until restart. 🏆 Milestones New milestone: “Defeat 700 Monsters in Varka” 🎁 Rewards: 200 Varka’s Mane + Daily Coin 🌍 NEW EXP Bonus Zones Hot Springs added Varka Silenos added (hidden spots excluded) As always, thank you for your support! L2Elixir keeps evolving, improving, and growing every day 💙   Website: https://l2elixir.org/ Discord: https://discord.gg/5ydPHvhbxs
  • 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..