What is Attendance Event and how to work with it (Classic/Legacy)

Deazer

Head Developer
Staff member
Prologue:
Log in every day to collect rewards from the Attendance Checklist! The attendance reward can be claimed after you’ve been logged in for 30 minutes. Rewards are checked off consecutively, so if you miss a day it can be claimed the next day you log in. Claim your rewards by clicking the available item in the Attendance Check window from any character and it will drop into your inventory. Characters with a full inventory, or 80% of the weight limit, will not be able to claim the rewards until space is made.

Mechanics:
To receive all the rewards from the list, you must be in the game every day for 30 minutes. For example: you logged in on Monday and received the first reward, after which you did not log in for five days, for example, and on the sixth day from the day you received the first reward, you spent half an hour in the game, respectively, you will receive not the sixth reward, but only the second one, and so on .

The days of receiving rewards are personal for each player and are counted from the day of the first participation in the event.

For example: at the start of the event, Player 1 received a reward for entering and staying, Player 2 created his account after 10 days, so Player 2 will start with the first reward in the list, and Player 1, provided that he was online every day for at least 30 minutes, will already receive 10 rewards from the list.

30 minutes countdown mechanic: after entering the game, you must be online and not log in, kick the client, and so on. If you left the game for any reason, the 30-minute countdown starts from the beginning.

Customization:
configs: gameserver/events.properties

# Time to reset and recalculate the next awards
EventAttendance_ResetTime = 06:30
# Items that will be given out for each reward step.
# This list should be filled out uniformly. That is, you can complete it for 7, 14, 21, 28 steps (days). More than 28 break the interface in the game client.
# Format: itemId-Count;itemId-Count;itemId-Count;itemId-Count;itemId-Count
EventAttendance_Reward = 57-1;57-1;57-1;57-1;57-1;57-1;57-1;57-1;57-1;57-1;57-1;57-1;57-1;57-1;57-1;57-1;57-1;57-1;57-1;57-1;57-1;57-1;57-1;57-1;57-1;57-1;57-1;57-28
# How long do you have to be online to receive the reward. In minutes.
EventAttendance_InGameTime = 30
# Which step slots will be highlighted as Special
EventAttendance_Highlights = 1, 7, 14, 21, 28
# Show Attendance window on login or not. Also players can recall it from the Main menu → Attendance Check.
EventAttendance_OnEnter = true
# If the player completed all the steps, let's say 28 rewards. The event for him starts from the first item and up to 28 and so on ad infinitum
# Loop event.
# True - after completing all the steps, the event starts anew with the first step and the reward for it.
# False - after passing all the steps, the cycle of rewards ends.
EventAttendance_Looped = False
# Reward an account or character.
# False - each character on the account can receive a reward for each step.
# True - steps are awarded within the account to the first character to complete the step.
EventAttendance_Global = true
# Minimum player level to receive a reward
EventAttendance_MinLevel = 1

Once configured, the list of rewards will look something like this:
f9223b87a53d8cef568a75316c180dda.png


Activation/Deactivation:
Event activation takes place in the admin panel or in server_variables.sql
5f6b4dc0d13b630d44b2ff7e3d43c340.png



If you still have NORMAL questions, please ask and I will supplement the guide.
 
Last edited:
How do I show attendance window?

the button "Main menu → Attendance Check." does not appear in my client.

5.jpg
 
How do I show attendance window?

the button "Main menu → Attendance Check." does not appear in my client.

View attachment 1409
Enable at l2.ini and option will appearing. Open l2.ini and set here UseVIPAttendanceClassic=false on true
ALSO we have it
# Show Attendance window on login or not. Also players can recall it from the Main menu → Attendance Check.
EventAttendance_OnEnter = true
 
Last edited:
The EventAttendance_OnEnter = true on event.properties works fine, the window appears normally when I login.

UseVIPAttendanceClassic=true In this case the button Attendance Check appears but when clicking nothing happens.

Can you confirm if this problem also occurs to you?
 

Attachments

  • 6.jpg
    6.jpg
    999.7 KB · Views: 67
The EventAttendance_OnEnter = true on event.properties works fine, the window appears normally when I login.

UseVIPAttendanceClassic=true In this case the button Attendance Check appears but when clicking nothing happens.

Can you confirm if this problem also occurs to you?
Fixed, update from repo and check
 
Maybe time of event is finish ? Stop and start again it, or look to event.properties
You can make it loop by auto
 
Hello, players are not able to take reward from attendance, if they have more than 55 taken slots in their inventory.
It looks like it is not counting with possibility of raised slots from service/config of slots.
 
Hello, players are not able to take reward from attendance, if they have more than 55 taken slots in their inventory.
It looks like it is not counting with possibility of raised slots from service/config of slots.
huh I will check it at morning
 
Is it possible for you to add a WHID check to this event?
dá pra dar override nos métodos de bloquear apenas 1 por hwid junto ao bloqueio de ser necessário tanto tempo pra receber.

no banco de dados da pra colocar assim:

já adiciona isso no atual método:
char id, user var, nome, valor, expire time

268476167 user-var Attendance_MRChkTS 1710778415 -1
268476167 user-var Attendance_MRChkDay 2 -1

da pra criar uma 3 variável no banco de dados e colocando o nome e valor com o hwid e o tempo, acho que é uma boa idéia.
 
Back
Top