Resolved OLYMPIAD CICLE 7 DIAS - BUG

FronYEnd

Vagabond
Customer
Hello, I'm trying to create a cycle as follows: START ON MONDAY AT 00:00 - FIGHTS MUST BE FROM MONDAY TO SUNDAY FROM 20:00 TO 22:00. SESSION MUST END AT 23:59 ON SUNDAY, AND A NEW SESSION MUST START AT 00:00 ON MONDAY.

NAME (HERO) TO BE DELIVERED AT 00:05 ON MONDAY.

I DON'T UNDERSTAND WHAT'S HAPPENING THAT'S GENERATING SEVERAL FIGHTS ON THE SAME DAY:


[08:04:14] INFO Oly: Generating a new season 1
[08:04:15] INFO OlyController: Season 1 started.
[08:04:15] INFO OlyController: Season 1 end schedule at 23:59:00 19.05.2026
[08:04:15] INFO OlyController: Season 1 nomination schedule at 00:05:00 20.05.2026
[08:04:15] INFO OlyController: Season 1 competitions schedule at [20:00:00 12.05.2026-22:00:00 12.05.2026;20:00:00 12.05.2026-22:00:00 12.05.2026;20:00:00 12.05.2026-22:00:00 12.05.2026;20:00:00 12.05.2026-22:00:00 12.05.2026;20:00:00 12.05.2026-22:00:00 12.05.2026;20:00:00 12.05.2026-22:00:00 12.05.2026;20:00:00 12.05.2026-22:00:00 12.05.2026;20:00:00 12.05.2026-22:00:00 12.05.2026;20:00:00 12.05.2026-22:00:00 12.05.2026;20:00:00 12.05.2026-22:00:00 12.05.2026;20:00:00 12.05.2026-22:00:00 12.05.2026;20:00:00 12.05.2026-22:00:00 12.05.2026;20:00:00 12.05.2026-22:00:00 12.05.2026;20:00:00 12.05.2026-22:00:00 12.05.2026;20:00:00 12.05.2026-22:00:00 12.05.2026;20:00:00 12.05.2026-22:00:00 12.05.2026;20:00:00 12.05.2026-22:00:00 12.05.2026;20:00:00 12.05.2026-22:00:00 12.05.2026;20:00:00 12.05.2026-22:00:00 12.05.2026;20:00:00 12.05.2026-22:00:00 12.05.2026;20:00:00 12.05.2026-22:00:00 12.05.2026;20:00:00 12.05.2026-22:00:00 12.05.2026;20:00:00 12.05.2026-22:00:00 12.05.2026;20:00:00 12.05.2026-22:00:00 12.05.2026;20:00:00 12.05.2026-22:00:00 12.05.2026;20:00:00 12.05.2026-22:00:00 12.05.2026;20:00:00 12.05.2026-22:00:00 12.05.2026;20:00:00 12.05.2026-22:00:00 12.05.2026;20:00:00 12.05.2026-22:00:00 12.05.2026;20:00:00 12.05.2026-22:00:00 12.05.2026;20:00:00 12.05.2026-22:00:00 12.05.2026]
[08:04:15] INFO OlyController: Cronograma de bônus da Temporada 1 em [20:30:00 14.05.2026;20:30:00 16.05.2026;20:30:00 18.05.2026;20:30:00 20.05.2026]



PROPRIETS:


# Allow Olympiad event ?
# default: true
OlympiadEnabled = true

# Enable new arenas (Classic arenas - True / Interlude arenas - False)
# ATTENTION! READ GUIDE BEFORE ENABLE:
# https://lucera2.com/threads/how-to-enable-new-olympic-arenas-classic.1946/
OlympiadNewStadiums = false

# Allow Spectator for Players ?
# default: true
SpectationgAllowed = true

# Maximum observers to the stadium
# default: 18
MaxSpectatorPerStadium = 30

# Season time calculation mode.
# Possible values:
# NORMAL - Season calculates from the 1st day of current month 00:00
# CUSTOM - Season calculates from the today date 00:00
SeasonTimeCalcMode = CUSTOM

# The start time of the season
# default: 2 00:00
SeasonStartTime = 00:00

# End of season
# default: +1:1 00:00
SeasonEndTime = +7 23:59

# During the competition
# default: 18:00
CompetitionStartTime = 20:00

# End time Competitions
# default: +1 00:00
CompetitionEndTime = +0 22:00

# While handing out bonuses
# default: +7 18:30
WeaklyBonusTime = +2 20:30

# Time distribution of heroism
# default: +1:1 12:00
NominateTime = +8 00:05

# Points early in the season
DefaultPoints = 18

# Points at the status of Noble
# defailt: 18
SeasonStartPoints = 18

# Minimum competition for hero
# default: 9
MinRewardableHeroComps = 9

# Minimum competitions win for hero
# default: 1
MinWinHeroComps = 1

# Minimum competitions for tokens
# default: 5
MinRewardableNobleComps = 5


# Rank
PointSettlement = 100;75;55;40;30

# Items Settlement Per Point
ItemsSettlementPerPoint = 1000

# Player statistics for the Olympic manager. Shows statistics for the previous period (off-like)
# for the current you need to set False
# Displays the players who have made the minimum number of matches from MinRewardableHeroComps (default 9)
OlympiadStatisticOnPastPeriod = False

# Mandatory Limit of Enchant items level on Olympiad
# Default -1 its unlimited
# Limit for Mage Weapons
LimitEnchantStatLevelMageWeapon = 8
# Limit for Phys Weapons
LimitEnchantStatLevelPhysWeapon = 8
# Limit for Armor
LimitEnchantStatLevelArmor = 8
# Limit for Jewelry
LimitEnchantStatLevelAccessory = 8

# Hero Points Bonus
HeroPointBonus = 300

# Weekly Point bonus
WeaklyBonusPoints = 3

# Victory Reward Item ID
# Reward example 2 items with different count and chance:
# VictoryRewardItemID = 6651,6673
# VictoryRewardClassFreeCount = 40,1
# VictoryRewardClassBasedCount = 65,1
# VictoryRewardTeamBasedCount = 85,1
# VictoryRewardItemIDChance = 100,20
VictoryRewardItemID = 6651
VictoryRewardClassFreeCount = 40
VictoryRewardClassBasedCount = 65
VictoryRewardTeamBasedCount = 85
VictoryRewardItemIDChance = 100
# On hero gain reward Noblesse Gate Pass
HeroGainRewardItemID = 6651

# Extra reward upon gain Hero
# Example:
# HeroAdditionalRewardId = 6673,4037
# HeroAdditionalRewardAmount = 1,20
# HeroAdditionalRewardChance = 100,80
# ATTENTION! If you added 2 items, you must add 2 counts and 2 chances, otherwise there will be a ERROR!
HeroAdditionalRewardId =
HeroAdditionalRewardAmount =
HeroAdditionalRewardChance =

# Charge fee for participation in the Olympiad
# Fee for participation in non-class division
ChargeParticipationFeeForClassFree = False
ChargeParticipationFeeForClassFreeItemId = 57
ChargeParticipationFeeForClassFreeItemCount = 1
# Class participation fee
ChargeParticipationFeeForClassBased = False
ChargeParticipationFeeForClassBasedItemId = 4037
ChargeParticipationFeeForClassBasedItemCount = 1
# Fee for participation in the group competition
ChargeParticipationFeeForTeamFree = False
ChargeParticipationFeeForTeamFreeItemId = 57
ChargeParticipationFeeForTeamFreeCount = 1

# Days of the week in which it is possible to register for the Olympiad сompetition
# It is enough to delete the days on which you do not want to register
CustomOlyCompetitionDays = monday, tuesday, wednesday, thursday, friday, saturday, sunday

# How many points will be removed from the loser and add to the winner Oly competition. Expressed as a percentage (Default 0.2 = 20%)
LoosePointsMultiplier = 0.2

MaxTotalMatches = 300
MaxClassFreeMatches = 300
MaxClassBaseMatches = 300
MaxTeamBaseMatches = 300

# Min Participant for Class Free
MinParticipantClassFree = 5
# Min Participant for Class Based
MinParticipantClassBase = 7
MinParticipantTeamBase = 7

# Add clan reputation on hero status gain
OnHeroGainMakeClanReputationReward = True
OnHeroGainAmountClanReputationReward = 1000

# Buff on Olympiad arena for classes
# Format classId:skillId-skillLevel,skillId-skillLevel;
OlyBuffs=88:1086-2,1204-1;89:1086-2,1204-1;90:1086-2,1204-1;91:1086-2,1204-1;92:1086-2,1204-1;93:1086-2,1204-1;94:1204-2,1085-3;95:1204-2,1085-3;96:1204-2,1085-3;97:1204-2,1085-3;98:1204-2,1085-3;99:1086-2,1204-1;100:1086-2,1204-1;101:1086-2,1204-1;102:1086-2,1204-1;103:1204-2,1085-3;104:1204-2,1085-3;105:1204-2,1085-3;106:1086-2,1204-1;107:1086-2,1204-1;108:1086-2,1204-1;109:1086-2,1204-1;110:1204-2,1085-3;111:1204-2,1085-3;112:1204-2,1085-3;113:1086-2,1204-1;114:1086-2,1204-1;115:1204-2,1085-3;116:1204-2,1085-3;117:1086-2,1204-1;118:1086-2,1204-1

# Time of the competition Olympiad (default: 5 min)
OlympiadCompetitionTime = 5
# Preparation time before moving to the Olympiad stadium (default: 45 sec)
OlympiadStadiumTeleportDelay = 45

# Announce releport on arena in shout chat by NPC
OlympiadNpcAnnounceTeleportOnStdium = True
# Announcement end date of a season of the Olympic Games at an Enter World
EndOlympiadAnnounceSeason = True

# Recover HP/CP/MP at the last second before the start of the match (Offlike: false)
OlympiadRestoreCPHPMPOnMatchStart = True

# Check olympiad registration with same HWID.
# True use only if LameGuard or SmartGuard enabled and installed on client side
OlympiadHWIDCheck = False
# Check olympiad registration with same IP address.
OlympiadIPCheck = true
# Prohibited class ids
OlympiadProhibitClassIds =

# The restricted passive/toggle skills in olympiad competition skills.
# @Default: <empty>
# Separator is ; Simple: 5000;5001;5002
OlyRestrictedSkillIds =

# Remove the skill reuse when teleporting to the Olympic Stadium
SkillReuseRemoveOnStadium = True
# Remove the skill reuse when teleporting from the Olympic Stadium
SkillReuseRemoveFromStadium = True
# Remove Force Charge Buffs on olympiad stadium (offlike - false)
ForcesChargeRemoveOnStadium = False
#Disble soulshot at olym statdium
SoulshotsDisableOnStadium = False

# Announcement for a series of kills at the Olympics #
OlympiadWinnerAnnounce = true
# String messages for series and messages in data/strings/
OlympiadWinnerAnnounceMessage=3:OLYMPIAD_TRIPLE_KILL;4:OLYMPIAD_MEGA_KILL;5:OLYMPIAD_RAMPAGE_KILL;6:OLYMPIAD_RAMPAGE_SIX_KILL;7:OLYMPIAD_RAMPAGE_SEVEN_KILL;8:OLYMPIAD_RAMPAGE_EIGHT_KILL;9:OLYMPIAD_RAMPAGE_NINE_KILL;10:OLYMPIAD_RAMPAGE_TEN_KILL

# Custom time for passing competitions for registration within one day. Include only if you want to limit it to a few hours. Let's just spend 2 hours, from 16 00 to 18 00
# Example:
# CompetitionCustomStartTime = 1600
# CompetitionCustomEndTime = 1800
CompetitionCustomStartTime = 0
CompetitionCustomEndTime = 2200
 

Read the guide

View attachment 8627

If you want to use a custom end time, do not touch this setting; use only the setting at the end.
CompetitionCustomEndTime =



[16:24:08] INFO Oly: Generating a new season 1
[16:24:08] INFO OlyController: Season 1 started.
[16:24:08] INFO OlyController: Season 1 end schedule at 23:59:00 19.05.2026
[16:24:08] INFO OlyController: Season 1 nomination schedule at 00:05:00 20.05.2026
[16:24:08] INFO OlyController: Season 1 competitions schedule at [20:00:00 12.05.2026-00:00:00 13.05.2026;20:00:00 13.05.2026-00:00:00 14.05.2026;20:00:00 14.05.2026-00:00:00 15.05.2026;20:00:00 15.05.2026-00:00:00 16.05.2026;20:00:00 16.05.2026-00:00:00 17.05.2026;20:00:00 17.05.2026-00:00:00 18.05.2026;20:00:00 18.05.2026-00:00:00 19.05.2026;20:00:00 19.05.2026-23:55:00 19.05.2026]
[16:24:08] INFO OlyController: Season 1 bonuses schedule at [20:30:00 14.05.2026;20:30:00 16.05.2026;20:30:00 18.05.2026;20:30:00 20.05.2026]



CompetitionCustomEndTime = 2200



# End time Competitions
# default: +1 00:00
CompetitionEndTime = +1 00:00



Leaving it this way, the end of the fights would be 1 day later at 00:00, as per the log above.
 
The configuration:

20:00:00 12.05.2026 - 00:00:00 13.05.2026

means:

  • Start: 20:00 on May 12
  • End: exactly at midnight between May 12 and May 13
Midnight (00:00:00) is not “an extra full day later”.
It is literally the very first second of May 13, immediately after 23:59:59 on May 12.

Timeline example:

  • 23:59:58 → still May 12
  • 23:59:59 → last second of May 12
  • 00:00:00 → first second of May 13
So the event ends exactly when May 12 finishes.

Another way to understand it:
00:00:00 13.05.2026 is the same moment as saying:
“the instant May 12 ends and May 13 begins.”
 
Supondo que você queira configurar um ciclo de Olympiad com duração de 7 dias, contendo batalhas diárias das 20:00 até às 00:00, com abertura do ciclo em 12/05/2026, encerramento em 18/05/2026 às 00:00 e nomeação automática dos heróis no próprio dia 18/05/2026 (segunda-feira), você pode seguir o procedimento abaixo:
Passo a passo
Configure normalmente o arquivo Olympiad.properties conforme a necessidade do seu servidor.
Com o servidor totalmente desligado:
Apague todo o conteúdo da tabela oly_season;
Acesse a tabela server_variables;
Altere a linha oly_season_id para o valor 1.
Após isso, altere manualmente a data e hora do sistema operacional para:
11/05/2026 às 23:55
Inicie o Game Server e aguarde alguns minutos.
Você perceberá que o ciclo será criado automaticamente já dentro da programação desejada.
Assim que confirmar que o ciclo foi gerado corretamente:
Desligue o servidor de forma adequada;
Restaure a data/hora correta do sistema operacional.
O ciclo ficará salvo no banco de dados.
Depois disso, basta:
Exportar as tabelas necessárias;
Importar no servidor oficial com ele desligado. ( Lembre-se de alterar
a tabela server_variables;
Altere a linha oly_season_id para o valor 1 no servidor oficial) Outro detalhe, há alguns erros na sua config...
 
A configuração:

20:00:00 12/05/2026 - 00:00:00 13/05/2026

significa:

  • Início: 20h do dia 12 de maio
  • Fim: exatamente à meia-noite entre 12 e 13 de maio.
Meia-noite (00:00:00) não é "um dia inteiro a mais".
É literalmente o primeiro segundo do dia 13 de maio, imediatamente após as 23:59:59 do dia 12 de maio.

Exemplo de linha do tempo:

  • 23:59:58 → ainda 12 de maio
  • 23:59:59 → último segundo de 12 de maio
  • 00:00:00 → primeiro segundo de 13 de maio
Assim, o evento terminará exatamente no dia 12 de maio.

Outra forma de entender isso:
00:00:00 13.05.2026 é o mesmo instante que dizer:
“O instante em que termina o dia 12 de maio e começa o dia 13 de maio.”


FROM: CompetitionCustomEndTime = 2200

IT WAS SUPPOSED TO END ON THE SAME DAY AT 10 PM

I CANNOT EXTEND IT FROM 8 PM TO MIDNIGHT.

MY GOAL IS FOR THE FIGHTS TO BE FROM 8 PM TO 10 PM
 
When you make changes to the Olympiad settings and they start in-game, you can't change the settings anymore. You need to reset everything and start over, or wait for the cycle to end so the new changes can take effect. Do what Joselito said above, and then configure it.
Remember not to change anything in CompetitionEndTime, but instead in CompetitionCustomEndTime.
 
DE: CompetitionCustomEndTime = 2200

Deveria ter terminado no mesmo dia, às 22h.

Não posso estender o horário das 20h à meia-noite.

Meu objetivo é que as lutas aconteçam das 20h às 22h.
Eu já fiz essa configuração que você quer e trabalhou por dois ou três ciclos, depois bugou tudo e foi complexo para corrigir.

Por recomendação do próprio deazer voltei ao padrão e não edite mais o horário final.

No sei qual versão você usa mas nem se foi corrigido algo neste sentido mas fica de alerta
 
Back
Top