nasagnilac Posted November 5, 2019 Posted November 5, 2019 I have problem with attendance. Its working before not sure why this message appear. Quote
0 noobzter003 Posted November 5, 2019 Posted November 5, 2019 (edited) 4 hours ago, nasagnilac said: I have problem with attendance. Its working before not sure why this message appear. attendance.yml did you edit this one already? also edit Checkattendance.lua Config = { StartDate = 20190101, 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, 25464, 10 }, { 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 Edited November 5, 2019 by noobzter003 Quote
0 nasagnilac Posted November 5, 2019 Author Posted November 5, 2019 Already fixed it. the item is not added in the itemdb that cause the error. Quote
Question
nasagnilac
2 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.