funtwocrasher Posted March 22, 2022 Group: Members Topic Count: 57 Topics Per Day: 0.01 Content Count: 143 Reputation: 4 Joined: 06/17/12 Last Seen: August 6, 2024 Share Posted March 22, 2022 (edited) I was trying to use the attendance system but i have a problem, when i log with any caracter the client crash on loading screen. i made some tests and the result's is: (1) - Its not the problem with item ou texture because i try with red potion ID 501 (2) - only crash when the attendance system is active (3) - probably is the client side, lua file or texture file from interface(i try to use from actualized datas but dont change at all) my hexed is the 2018-06-20 with KRO client. Help me please this is my settings: Attendance.yml Header: Type: ATTENDANCE_DB Version: 1 Body: - Start: 20220301 End: 20221231 Rewards: - Day: 1 ItemId: 502 Amount: 1 - Day: 2 ItemId: 502 Amount: 1 - Day: 3 ItemId: 502 Amount: 1 - Day: 4 ItemId: 502 Amount: 1 - Day: 5 ItemId: 502 Amount: 1 - Day: 6 ItemId: 502 Amount: 1 - Day: 7 ItemId: 502 Amount: 1 - Day: 8 ItemId: 502 Amount: 1 - Day: 9 ItemId: 502 Amount: 1 - Day: 10 ItemId: 502 Amount: 1 - Day: 11 ItemId: 502 Amount: 1 - Day: 12 ItemId: 502 Amount: 1 - Day: 13 ItemId: 502 Amount: 1 - Day: 14 ItemId: 502 Amount: 1 - Day: 15 ItemId: 502 Amount: 1 - Day: 16 ItemId: 502 Amount: 1 - Day: 17 ItemId: 502 Amount: 1 - Day: 18 ItemId: 502 Amount: 1 - Day: 19 ItemId: 502 Amount: 1 - Day: 20 ItemId: 502 Amount: 1 CheckAttendance.lub / CheckAttendnace.lua Config = { StartDate = 20220301, EndDate = 20221231 } Reward = { { 1, 502, 1 }, { 2, 502, 1 }, { 3, 502, 5 }, { 4, 502, 1 }, { 5, 502, 1 }, { 6, 502, 1 }, { 7, 502, 1 }, { 8, 502, 1 }, { 9, 502, 1 }, { 10, 502, 1 }, { 11, 502, 1 }, { 12, 502, 1 }, { 13, 502, 1 }, { 14, 502, 1 }, { 15, 502, 1 }, { 16, 502, 1 }, { 17, 502, 1 }, { 18, 502, 1 }, { 19, 502, 1 }, { 20, 502, 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 March 22, 2022 by funtwocrasher Quote Link to comment Share on other sites More sharing options...
0 funtwocrasher Posted March 23, 2022 Group: Members Topic Count: 57 Topics Per Day: 0.01 Content Count: 143 Reputation: 4 Joined: 06/17/12 Last Seen: August 6, 2024 Author Share Posted March 23, 2022 FIXED. Just updated the msgstringtable.txt. Quote Link to comment Share on other sites More sharing options...
0 funtwocrasher Posted March 22, 2022 Group: Members Topic Count: 57 Topics Per Day: 0.01 Content Count: 143 Reputation: 4 Joined: 06/17/12 Last Seen: August 6, 2024 Author Share Posted March 22, 2022 I replaced "Body:" > "Attendnace:" and now I receive this Error Quote Link to comment Share on other sites More sharing options...
0 mrfizi Posted March 22, 2022 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 383 Reputation: 78 Joined: 10/30/12 Last Seen: March 17 Share Posted March 22, 2022 1 hour ago, funtwocrasher said: I replaced "Body:" > "Attendnace:" and now I receive this Error 1. Change back to default. No need to change the code. 2. Try to change the date period for only 1 month period instead of yearly date. Quote Link to comment Share on other sites More sharing options...
Question
funtwocrasher
I was trying to use the attendance system but i have a problem, when i log with any caracter the client crash on loading screen.
i made some tests and the result's is:
(1) - Its not the problem with item ou texture because i try with red potion ID 501
(2) - only crash when the attendance system is active
(3) - probably is the client side, lua file or texture file from interface(i try to use from actualized datas but dont change at all)
my hexed is the 2018-06-20 with KRO client.
Help me please this is my settings:
Attendance.yml
Header: Type: ATTENDANCE_DB Version: 1 Body: - Start: 20220301 End: 20221231 Rewards: - Day: 1 ItemId: 502 Amount: 1 - Day: 2 ItemId: 502 Amount: 1 - Day: 3 ItemId: 502 Amount: 1 - Day: 4 ItemId: 502 Amount: 1 - Day: 5 ItemId: 502 Amount: 1 - Day: 6 ItemId: 502 Amount: 1 - Day: 7 ItemId: 502 Amount: 1 - Day: 8 ItemId: 502 Amount: 1 - Day: 9 ItemId: 502 Amount: 1 - Day: 10 ItemId: 502 Amount: 1 - Day: 11 ItemId: 502 Amount: 1 - Day: 12 ItemId: 502 Amount: 1 - Day: 13 ItemId: 502 Amount: 1 - Day: 14 ItemId: 502 Amount: 1 - Day: 15 ItemId: 502 Amount: 1 - Day: 16 ItemId: 502 Amount: 1 - Day: 17 ItemId: 502 Amount: 1 - Day: 18 ItemId: 502 Amount: 1 - Day: 19 ItemId: 502 Amount: 1 - Day: 20 ItemId: 502 Amount: 1
CheckAttendance.lub / CheckAttendnace.lua
Config = { StartDate = 20220301, EndDate = 20221231 } Reward = { { 1, 502, 1 }, { 2, 502, 1 }, { 3, 502, 5 }, { 4, 502, 1 }, { 5, 502, 1 }, { 6, 502, 1 }, { 7, 502, 1 }, { 8, 502, 1 }, { 9, 502, 1 }, { 10, 502, 1 }, { 11, 502, 1 }, { 12, 502, 1 }, { 13, 502, 1 }, { 14, 502, 1 }, { 15, 502, 1 }, { 16, 502, 1 }, { 17, 502, 1 }, { 18, 502, 1 }, { 19, 502, 1 }, { 20, 502, 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
3 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.