nasagnilac Posted April 22, 2019 Group: Members Topic Count: 89 Topics Per Day: 0.02 Content Count: 232 Reputation: 15 Joined: 11/02/13 Last Seen: December 19, 2024 Share Posted April 22, 2019 What is the problem with my client? I still cant open and saying You are not allowed to use the attendance system. db/import/attendance.yml Header: Type: ATTENDANCE_DB Version: 1 Body: # - Start: 20190423 # End: 20191231 # Rewards: # - Day: 1 # ItemId: 22979 # - Day: 2 # ItemId: 6316 # - Day: 3 # ItemId: 12265 # Amount: 5 # - Day: 4 # ItemId: 23047 # Amount: 5 # - Day: 5 # ItemId: 23038 # - Day: 6 # ItemId: 23043 # - Day: 7 # ItemId: 23340 # Amount: 3 # - Day: 8 # ItemId: 12516 # Amount: 5 # - Day: 9 # ItemId: 23307 # Amount: 5 # - Day: 10 # ItemId: 12610 # - Day: 11 # ItemId: 14533 # Amount: 2 # - Day: 12 # ItemId: 23012 # Amount: 3 # - Day: 13 # ItemId: 23048 # Amount: 5 # - Day: 14 # ItemId: 12264 # Amount: 5 # - Day: 15 # ItemId: 23046 # Amount: 5 # - Day: 16 # ItemId: 12515 # Amount: 5 # - Day: 17 # ItemId: 12522 # Amount: 5 # - Day: 18 # ItemId: 12523 # Amount: 5 # - Day: 19 # ItemId: 6234 # - Day: 20 # ItemId: 22845 CheckAttendance.lub Config = { StartDate = 20190423, EndDate = 20191231 } Reward = { { 1, 22979, 1 }, { 2, 6316, 1 }, { 3, 12265, 5 }, { 4, 23047, 5 }, { 5, 23038, 1 }, { 6, 23043, 1 }, { 7, 23340, 3 }, { 8, 12516, 5 }, { 9, 23307, 5 }, { 10, 12610, 1 }, { 11, 14533, 2 }, { 12, 23012, 3 }, { 13, 23048, 5 }, { 14, 12264, 5 }, { 15, 23046, 5 }, { 16, 12515, 5 }, { 17, 12522, 5 }, { 18, 12523, 5 }, { 19, 6234, 1 }, { 20, 22845, 1 } } function main() result, msg = InsertCheckAttendanceConfig(Config.EvendOnOff, Config.StartDate, Config.EndDate) if not result then return false, msg end for k, rewardtbl in pairs(Reward) do result, msg = InsertCheckAttendanceReward(rewardtbl[1], rewardtbl[2], rewardtbl[3]) if not result then return false, msg end end return true, "success" end Quote Link to comment Share on other sites More sharing options...
0 sader1992 Posted April 23, 2019 Group: Content Moderator Topic Count: 55 Topics Per Day: 0.01 Content Count: 1691 Reputation: 716 Joined: 12/21/14 Last Seen: Tuesday at 07:50 PM Share Posted April 23, 2019 (edited) 5 hours ago, nasagnilac said: You are not allowed to use the attendance system. you need to give the group you want the permission to use it https://github.com/rathena/rathena/blob/ce1508a01c68dee80544242b470987742f3b3ece/conf/groups.conf#L96 attendance: true Edited April 23, 2019 by sader1992 1 Quote Link to comment Share on other sites More sharing options...
0 mirabell Posted April 22, 2019 Group: Members Topic Count: 41 Topics Per Day: 0.01 Content Count: 197 Reputation: 19 Joined: 11/20/11 Last Seen: February 28 Share Posted April 22, 2019 remove all the # then restart server 1 Quote Link to comment Share on other sites More sharing options...
0 nasagnilac Posted April 23, 2019 Group: Members Topic Count: 89 Topics Per Day: 0.02 Content Count: 232 Reputation: 15 Joined: 11/02/13 Last Seen: December 19, 2024 Author Share Posted April 23, 2019 Another issue.. Quote Link to comment Share on other sites More sharing options...
0 sader1992 Posted April 23, 2019 Group: Content Moderator Topic Count: 55 Topics Per Day: 0.01 Content Count: 1691 Reputation: 716 Joined: 12/21/14 Last Seen: Tuesday at 07:50 PM Share Posted April 23, 2019 (edited) 1 hour ago, nasagnilac said: Another issue.. this from the client side CheckAttendance.lub of server side attendance.yml just make sure that you have the correct date on both also as the reply from mirabell about attendance.yml # << line start with '#' does not count Edited April 23, 2019 by sader1992 Quote Link to comment Share on other sites More sharing options...
0 nasagnilac Posted April 23, 2019 Group: Members Topic Count: 89 Topics Per Day: 0.02 Content Count: 232 Reputation: 15 Joined: 11/02/13 Last Seen: December 19, 2024 Author Share Posted April 23, 2019 Do I need to use <tab> for spacing? Issue was solved...make sure that item id is available in the db. Quote Link to comment Share on other sites More sharing options...
0 Diana Posted January 25, 2020 Group: Members Topic Count: 85 Topics Per Day: 0.03 Content Count: 194 Reputation: 3 Joined: 12/17/16 Last Seen: April 1 Share Posted January 25, 2020 (edited) On 4/23/2019 at 4:53 AM, sader1992 said: this from the client side CheckAttendance.lub of server side attendance.yml just make sure that you have the correct date on both also as the reply from mirabell about attendance.yml # << line start with '#' does not count Still not working for me with same error The date is same in the lub file and the yml file Any help please @sader1992? Edited January 25, 2020 by Diana Quote Link to comment Share on other sites More sharing options...
0 iraciz Posted June 2, 2020 Group: Members Topic Count: 140 Topics Per Day: 0.03 Content Count: 562 Reputation: 111 Joined: 10/05/12 Last Seen: February 12, 2024 Share Posted June 2, 2020 (edited) Same problem Here! help CheckAttendance.lub Config = { StartDate = 20200601, EndDate = 20201231 } Reward = { { 1, 501, 1 }, { 2, 501, 1 }, { 3, 501, 5 }, { 4, 501, 5 }, { 5, 501, 1 }, { 6, 501, 1 }, { 7, 501, 3 }, { 8, 501, 5 }, { 9, 501, 5 }, { 10, 501, 1 }, { 11, 501, 2 }, { 12, 501, 3 }, { 13, 501, 5 }, { 14, 501, 5 }, { 15, 501, 5 }, { 16, 501, 5 }, { 17, 501, 5 }, { 18, 501, 5 }, { 19, 501, 10 }, { 20, 501, 1 } } function main() result, msg = InsertCheckAttendanceConfig(Config.EvendOnOff, Config.StartDate, Config.EndDate) if not result then return false, msg end for k, rewardtbl in pairs(Reward) do result, msg = InsertCheckAttendanceReward(rewardtbl[1], rewardtbl[2], rewardtbl[3]) if not result then return false, msg end end return true, "success" end Attendance YML # This file is a part of rAthena. # Copyright(C) 2019 rAthena Development Team # https://rathena.org - https://github.com/rathena # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # ########################################################################### # Attendance Database ########################################################################### # # Attendance Settings # ########################################################################### # - Start Start date. # End End date. # Rewards: List of rewards for each day. # - Day Reward day. # ItemId Item ID. ########################################################################### Header: Type: ATTENDANCE_DB Version: 1 Body: - Start: 20200601 End: 20201231 Rewards: - Day: 1 ItemId: 501 Amount: 2 - Day: 2 ItemId: 501 Amount: 2 - Day: 3 ItemId: 501 Amount: 2 - Day: 4 ItemId: 501 Amount: 2 - Day: 5 ItemId: 501 Amount: 2 - Day: 6 ItemId: 501 Amount: 2 - Day: 7 ItemId: 501 Amount: 2 - Day: 8 ItemId: 501 Amount: 2 - Day: 9 ItemId: 501 Amount: 2 - Day: 10 ItemId: 501 Amount: 2 - Day: 11 ItemId: 501 Amount: 2 - Day: 12 ItemId: 501 Amount: 2 - Day: 13 ItemId: 501 Amount: 2 - Day: 14 ItemId: 501 Amount: 2 - Day: 15 ItemId: 501 Amount: 2 - Day: 16 ItemId: 501 Amount: 2 - Day: 17 ItemId: 501 Amount: 2 - Day: 18 ItemId: 501 Amount: 2 - Day: 19 ItemId: 501 Amount: 2 - Day: 20 ItemId: 501 Amount: 2 Battleconf checked Permissions checked. Why still giving me the currently no attendance check event? I used your generator from this linkhttps://secretdataz.github.io/attendance-generator/ Is not opening! Edited June 2, 2020 by iraciz Quote Link to comment Share on other sites More sharing options...
0 iraciz Posted June 2, 2020 Group: Members Topic Count: 140 Topics Per Day: 0.03 Content Count: 562 Reputation: 111 Joined: 10/05/12 Last Seen: February 12, 2024 Share Posted June 2, 2020 Worked now... I exported the .yml files to all posible locations, import, de, and db_pre.re Quote Link to comment Share on other sites More sharing options...
0 casper Posted June 3, 2020 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 38 Reputation: 2 Joined: 02/15/13 Last Seen: Friday at 04:40 PM Share Posted June 3, 2020 21 hours ago, iraciz said: Worked now... I exported the .yml files to all posible locations, import, de, and db_pre.re you are not allowed to use the attendance system my sever.. Config = { StartDate = 20200601, EndDate = 20201231 } Header: Type: ATTENDANCE_DB Version: 1 Body: - Start: 20200601 End: 20201231 Rewards: Quote Link to comment Share on other sites More sharing options...
0 Xanthor Posted June 23, 2020 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 26 Reputation: 7 Joined: 11/07/15 Last Seen: August 23, 2020 Share Posted June 23, 2020 (edited) I found three issues that was causing the attendance scripts not to work. The first issue was caused by the attendance generator website which is a great shortcut to get a working attendance system up and running. Issue was in attendance.lub client side. The header that states what generates the code needs a # in front of it or the script wont run, as it loads in with errors. Example: -- Generated with Secret's Attendance Generator version 1.1.0 This should look like: # -- Generated with Secret's Attendance Generator version 1.1.0 The second problem is that the item IDs must all exist, yet ones that came with the server package had one on line 7 that no longer exists. If even one item id gives an error, the entire script will not load and return a message that there is no active event. Many websites show item ids, google and test them. Third Issue was fact that despite Im running renewal, the server was loading in from imports database folder instead. I ended up doing the same as another user by copying my finished attendance.yml to main db folder, re db folder, and Imports db folder. Now, many stated only normal users can use the attendance feature. I myself felt any and all users including help should benefit. Each group I wanted to have this feature I added under permissions, not commands: attendance: true I have this fully working on my new server. If you get complaints of items not being received, tell them to check their email as these items do not go straight to inventory, they get collected from message. Remind players to make sure they have free space as well. Edited June 23, 2020 by Xanthor Quote Link to comment Share on other sites More sharing options...
0 Jome Posted June 3, 2021 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 2 Reputation: 0 Joined: 01/18/19 Last Seen: December 31, 2022 Share Posted June 3, 2021 My Problem the same i slove with Header: Type: ATTENDANCE_DB Version: 1 Body: << ( Change from "Attendance: " ) Quote Link to comment Share on other sites More sharing options...
0 markiez22 Posted February 4, 2023 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 126 Reputation: 5 Joined: 10/31/12 Last Seen: June 7, 2023 Share Posted February 4, 2023 maybe thy forgat// Attendance System (Note 1)// Requires: 2018-03-07bRagexeRE or laterfeature.attendance: on Quote Link to comment Share on other sites More sharing options...
Question
nasagnilac
What is the problem with my client? I still cant open and saying You are not allowed to use the attendance system.
db/import/attendance.yml
Header: Type: ATTENDANCE_DB Version: 1 Body: # - Start: 20190423 # End: 20191231 # Rewards: # - Day: 1 # ItemId: 22979 # - Day: 2 # ItemId: 6316 # - Day: 3 # ItemId: 12265 # Amount: 5 # - Day: 4 # ItemId: 23047 # Amount: 5 # - Day: 5 # ItemId: 23038 # - Day: 6 # ItemId: 23043 # - Day: 7 # ItemId: 23340 # Amount: 3 # - Day: 8 # ItemId: 12516 # Amount: 5 # - Day: 9 # ItemId: 23307 # Amount: 5 # - Day: 10 # ItemId: 12610 # - Day: 11 # ItemId: 14533 # Amount: 2 # - Day: 12 # ItemId: 23012 # Amount: 3 # - Day: 13 # ItemId: 23048 # Amount: 5 # - Day: 14 # ItemId: 12264 # Amount: 5 # - Day: 15 # ItemId: 23046 # Amount: 5 # - Day: 16 # ItemId: 12515 # Amount: 5 # - Day: 17 # ItemId: 12522 # Amount: 5 # - Day: 18 # ItemId: 12523 # Amount: 5 # - Day: 19 # ItemId: 6234 # - Day: 20 # ItemId: 22845
CheckAttendance.lub
Config = { StartDate = 20190423, EndDate = 20191231 } Reward = { { 1, 22979, 1 }, { 2, 6316, 1 }, { 3, 12265, 5 }, { 4, 23047, 5 }, { 5, 23038, 1 }, { 6, 23043, 1 }, { 7, 23340, 3 }, { 8, 12516, 5 }, { 9, 23307, 5 }, { 10, 12610, 1 }, { 11, 14533, 2 }, { 12, 23012, 3 }, { 13, 23048, 5 }, { 14, 12264, 5 }, { 15, 23046, 5 }, { 16, 12515, 5 }, { 17, 12522, 5 }, { 18, 12523, 5 }, { 19, 6234, 1 }, { 20, 22845, 1 } } function main() result, msg = InsertCheckAttendanceConfig(Config.EvendOnOff, Config.StartDate, Config.EndDate) if not result then return false, msg end for k, rewardtbl in pairs(Reward) do result, msg = InsertCheckAttendanceReward(rewardtbl[1], rewardtbl[2], rewardtbl[3]) if not result then return false, msg end end return true, "success" end
Link to comment
Share on other sites
12 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.