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

    • Both are in-game bots. I'm looking for an out-of-game bot ((one that doesn’t require the L2 client).     Hmm, never heard about this bot. Will check, thank you
    • 🎉 L2Mid is back! After a 3-year pause, we’re launching a new Interlude server based on the original Interlude client (old school 😉).   What to expect • The classic Interlude spirit • Old friends, rival clans, and returning legends • A season focused on pure nostalgia   This may be our final Interlude server. (maybe 😉) 🗓️ Opening: December 5, 2025 at 20:00 (GMT+2)   https://l2mid.com
    • Hello, i was wondering if there's a guide on how to add the enchanting armor glow system from  Ertheia or Lindvior to hi5?
    • I imported this file using Unreal Engine 2 Runtime, modified it, saved it back, and then placed it on the client. When I run the game and wear this back accessory, the client crashes!     2025.10.28 03:52:59 OS : Windows XP 5.1 (Build: 2600) CPU : GenuineIntel  Intel(R) Core(TM) i3-6100 CPU @ 3.70GHz @ 3697 MHz 1023MB RAM Video : NVIDIA GeForce GT 730 (3064) PosCode : TS4(273) -119:-62:-1474 4/1 [0] SkeletalMesh MFighter_Fuckl2jangel.MFighter_Fuckl2jangel: Serial size mismatch: Got 383399, Expected 383403 History: LoadObject <- (SkeletalMesh MFighter_Fuckl2jangel.MFighter_Fuckl2jangel 8376427==8376427/8376498 7993028 383403) <- ULinkerLoad::Preload <- PreLoadObjects <- UObject::EndLoad <- UObject::StaticLoadObject <- (Engine.Mesh MFighter_Fuckl2jangel.MFighter_Fuckl2jangel NULL) <- UMeshComponent::LoadMeshComponent <- UMeshContainer::UpdateMeshComponents <- APawn::UpdateMeshComponents <- User::UpdatePawnMeshContainerByItem <- User::UpdatePawnMeshContainer <- User::SetPawnResource <- NCPawnView_InvenItemWnd::OnRButtonDown <- NCVirtualWndMain::SetFocusingWindow <- NCVirtualWndMain::DispatchWndMsg <- NConsoleWnd::DispatchWndMsg <- NConsoleWnd::MasterConsoleEventProcess <- UEngine::InputEvent <- UWindowsViewport::CauseInputEvent <- UWindowsViewport::UpdateInput <- UViewport::ReadInput <- APlayerController::Tick <- ALineagePlayerController::Tick <- TickAllActors <- ULevel::Tick <- (NetMode=0) <- UMasterLevel::Tick <- TickLevel <- UGameEngine::Tick <- UpdateWorld <- MainLoop   I don't know what the reason is. Can you help me?
  • 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