Geralt Posted November 6, 2018 Posted November 6, 2018 Good morning guys, how do I activate the system? I already went to CheckAttendance.lub Config = { StartDate = 20181019, EndDate = 20181119 } Quote
0 hendra814 Posted November 7, 2018 Posted November 7, 2018 12 hours ago, Sir Meliodas said: Yes I put the same date as CheckAttendance.lub CheckAttendance.lub Config = {StartDate = 20181101, EndDate = 20181130} attendance.yml Start: 20181101 End: 20181130 Check at some folder -first conf\battle\feature.conf, check is the feature already on Quote // Attendance System (Note 1) // Requires: 2018-03-07bRagexeRE or later feature.attendance: on -second db\re\attendace.yml, check the date and item reward Spoiler Quote Header: Type: ATTENDANCE_CONF Version: 1 Attendance: - Start: 20181101 End: 20181130 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 -third at system\checkattendance.lub, same as db folder check the date and item reward Spoiler Quote Config = { StartDate = 20181101, EndDate = 20181130 } 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 here my ss Spoiler Quote
0 Normynator Posted November 6, 2018 Posted November 6, 2018 Have you checked the attendance.yml ? Quote
0 Geralt Posted November 6, 2018 Author Posted November 6, 2018 1 hour ago, Normynator said: Have you checked the attendance.yml ? Yes I put the same date as CheckAttendance.lub CheckAttendance.lub Config = {StartDate = 20181101, EndDate = 20181130} attendance.yml Start: 20181101 End: 20181130 Quote
0 mrmagic Posted November 6, 2018 Posted November 6, 2018 Only normal player is allowed to use this feature See groups.conf and check "attendance: " privilege Quote
0 3TAJIOH Posted December 21, 2018 Posted December 21, 2018 (edited) Why it shows wrong day today? command time shows correct date Edited December 21, 2018 by 3TAJIOH Quote
0 nasagnilac Posted April 22, 2019 Posted April 22, 2019 Is this still working or there is an update? I still get an error message that I am not allowed to use the system. I added this in db/import/attendance.yml Quote Header: Type: ATTENDANCE_DB Version: 1 Attendance: - Start: 20190423 End: 20191130 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 Quote Config = { StartDate = 20190423, EndDate = 20191230 } 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
Question
Geralt
Good morning guys, how do I activate the system?
I already went to
CheckAttendance.lub
7 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.